Skip navigation links
TIBCO Enterprise Message Service
javax.jms

Annotation Type JMSSessionMode



  • @Retention(value=RUNTIME)
     @Target(value={METHOD,FIELD,PARAMETER,TYPE})
    public @interface JMSSessionMode
    This annotation may be used to specify the session mode to be used when injecting a javax.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:
    JMSContext.createContext(int)
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      int value
      Specifies the session mode used when injecting a javax.jms.JMSContext object.
    • Element Detail

      • value

        public abstract int value
        Specifies the session mode used when injecting a javax.jms.JMSContext object.
        Default:
        1
TIBCO Enterprise Message Service