Oracle GlassFish(tm) Server Message Queue
5.0

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).

See Also:
JMSContext.createContext(int)

Optional Element Summary
 int value
          Specifies the session mode used when injecting a javax.jms.JMSContext object.
 

value

public abstract int value
Specifies the session mode used when injecting a javax.jms.JMSContext object.

Default:
1

Oracle GlassFish(tm) Server Message Queue
5.0

Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.