Package com.sun.messaging.jms

# Interface Session

All Superinterfaces:
  `AutoCloseable`, `Runnable`, `jakarta.jms.Session`

public interface Session extends jakarta.jms.Session
MQ JMS Session. This interface defines NO_ACKNOWLEDGE session mode.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `NO_ACKNOWLEDGE`
  Session acknowledge mode.

  ### Fields inherited from interface jakarta.jms.Session

  `AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED`

- ## Method Summary

  ### Methods inherited from interface jakarta.jms.Session

  `close, commit, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableConsumer, createDurableConsumer, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createSharedConsumer, createSharedConsumer, createSharedDurableConsumer, createSharedDurableConsumer, createStreamMessage, createTemporaryQueue, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getAcknowledgeMode, getMessageListener, getTransacted, recover, rollback, run, setMessageListener, unsubscribe`

- ## Field Details

  - ### NO_ACKNOWLEDGE

    static final int NO_ACKNOWLEDGE
    Session acknowledge mode. Messages are not acknowledged if this value is set as the acknowledge mode.
    See Also:
      - Constant Field Values