Package jakarta.jms
Annotation Interface JMSSessionMode
This annotation may be used to specify the session mode to be used when injecting a
jakarta.jms.JMSContext
object. The meaning and possible values of session mode are the same as for the ConnectionFactory
method
createContext(int sessionMode)
.- Since:
- JMS 2.0
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
Specifies the session mode used when injecting ajakarta.jms.JMSContext
object.
-
Element Details
-
value
int valueSpecifies the session mode used when injecting ajakarta.jms.JMSContext
object.- Returns:
- The session mode used when injecting a
jakarta.jms.JMSContext
object.
- Default:
- 1
-