Packagecom.kaazing.gateway.jms.client
Classpublic final class SessionConstants

SessionConstants contains all of the constants defined by JMS in the Session class, since ActionScript does not support defining static constants on interfaces.



Public Properties
 PropertyDefined by
  AUTO_ACKNOWLEDGE : int = 1
[static] With this acknowledgment mode, the system processes acknowledgements when the consumer has successfully returned from its message handler.
SessionConstants
  CLIENT_ACKNOWLEDGE : int = 2
[static] With this acknowledgment mode, the client acknowledges a consumed message by calling the message's acknowledge method.
SessionConstants
  CLIENT_INDIVIDUAL_ACKNOWLEDGE : int = 3
[static] Internal constant: This constant may be removed from a future release.
SessionConstants
  DUPS_OK_ACKNOWLEDGE : int = 4
[static] This acknowledgment mode instructs the session to lazily acknowledge the delivery of messages.
SessionConstants
  SESSION_TRANSACTED : int = 5
[static] This acknowledgement mode is used for transacted sessions.
SessionConstants
Property detail
AUTO_ACKNOWLEDGEproperty
public static var AUTO_ACKNOWLEDGE:int = 1

With this acknowledgment mode, the system processes acknowledgements when the consumer has successfully returned from its message handler.

CLIENT_ACKNOWLEDGEproperty 
public static var CLIENT_ACKNOWLEDGE:int = 2

With this acknowledgment mode, the client acknowledges a consumed message by calling the message's acknowledge method. When any message is acknowledgedThe system processes message acknowledgements as if all messages consumed from the channel were acknowledged.

CLIENT_INDIVIDUAL_ACKNOWLEDGEproperty 
public static var CLIENT_INDIVIDUAL_ACKNOWLEDGE:int = 3

Internal constant: This constant may be removed from a future release. With this acknowledgment mode, the client acknowledges a consumed message by calling the message's acknowledge method. When any message is acknowledgedThe system processes message acknowledgements as if all messages consumed from the channel were acknowledged.

DUPS_OK_ACKNOWLEDGEproperty 
public static var DUPS_OK_ACKNOWLEDGE:int = 4

This acknowledgment mode instructs the session to lazily acknowledge the delivery of messages. Some acknowledgements messages may be redelivered with this mode as a tradeoff for faster performance and higher scalability.

SESSION_TRANSACTEDproperty 
public static var SESSION_TRANSACTED:int = 5

This acknowledgement mode is used for transacted sessions.