Package javax.jms
Annotation Type JMSSessionMode
-
@Retention(RUNTIME) @Target({METHOD,FIELD,PARAMETER,TYPE}) public @interface JMSSessionMode
This annotation may be used to specify the session mode to be used when injecting ajavax.jms.JMSContext
object. The meaning and possible values of session mode are the same as for theConnectionFactory
methodcreateContext(int sessionMode)
.- Since:
- JMS 2.0
- See Also:
JMSContext.createContext(int)
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
value
Specifies the session mode used when injecting ajavax.jms.JMSContext
object.
-