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
Optional ElementsModifier and TypeOptional ElementDescriptionintSpecifies the session mode used when injecting ajakarta.jms.JMSContextobject.
-
Element Details
-
value
int valueSpecifies the session mode used when injecting ajakarta.jms.JMSContextobject.- Returns:
- The session mode used when injecting a
jakarta.jms.JMSContextobject.
- Default:
- 1
-