Class JMSConstants
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.protocol.jms.JMSConstants
-
public class JMSConstants extends Object
Common constants used by inbound JMS protocol
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JMSConstants.JMSDestinationType
-
Field Summary
Fields Modifier and Type Field Description static int
CACHE_AUTO
automatic choice of an appropriate caching level (depending on the transaction strategy)static int
CACHE_CONNECTION
Cache only the JMS connection between tasks (when receiving), or JMS CF's (when sending)static int
CACHE_CONSUMER
Cache the JMS connection, Session and Consumer between tasks when receivingstatic int
CACHE_NONE
Do not cache any JMS resources between tasks (when sending) or JMS CF's (when sending)static int
CACHE_PRODUCER
Cache the JMS connection, Session and Producer within a JMSConnectionFactory when sendingstatic int
CACHE_SESSION
Cache only the JMS connection and Session between tasks (receiving), or JMS CF's (sending)static String
CONNECTION_FACTORY_JNDI_NAME
static String
CONNECTION_FACTORY_TYPE
static String
CONNECTION_STRING
Default Connection Factorystatic String
CONTENT_TYPE
static String
CONTENT_TYPE_PROPERTY
static String
DEFAULT_HYPHEN_SUPPORT
static int
DEFAULT_JMS_CLIENT_POLLING_SUSPENSION_PERIOD
static String
DELIVERY_COUNT
static String
DESTINATION_NAME
static String
DESTINATION_TYPE
static String
DESTINATION_TYPE_GENERIC
static String
DESTINATION_TYPE_QUEUE
static String
DESTINATION_TYPE_TOPIC
static String
HYPHEN_MODE_DELETE
static String
HYPHEN_MODE_NONE
static String
HYPHEN_MODE_REPLACE
static String
HYPHEN_REPLACEMENT_STR
static String
JAVA_INITIAL_NAMING_FACTORY
static String
JAVA_NAMING_PROVIDER_URL
static String
JMS_BYTE_MESSAGE
The message type indicating a BytesMessage.static String
JMS_CLIENT_CONNECTION_RESET_AFTER_POLLING_SUSPENSION
static String
JMS_CLIENT_POLLING_RETRIES_BEFORE_SUSPENSION
static String
JMS_CLIENT_POLLING_SUSPENSION_PERIOD
static String
JMS_COORELATION_ID
A MessageContext property or client Option indicating the JMS correlation idstatic String
JMS_DELIVERY_MODE
A MessageContext property or client Option indicating the JMS delivery mode as an Integer or String Value 1 - javax.jms.DeliveryMode.NON_PERSISTENT Value 2 - javax.jms.DeliveryMode.PERSISTENTstatic String
JMS_DESTINATION
A MessageContext property or client Option indicating the JMS destination to use on a Sendstatic String
JMS_EXPIRATION
A MessageContext property or client Option indicating the JMS message expiration - a Long value specified as a Stringstatic String
JMS_MAP_ELEMENT_NAME
Root element name of JMS Map message payload representationstatic String
JMS_MAP_MESSAGE
The message type indicating a MapMessage.static String
JMS_MAP_NS
Namespace for JMS map payload representationstatic QName
JMS_MAP_QNAME
static String
JMS_MESSAGE_ID
A MessageContext property or client Option indicating the JMS message idstatic String
JMS_MESSAGE_TYPE
A MessageContext property or client Option indicating the JMS message typestatic String
JMS_PRIORITY
A MessageContext property or client Option indicating the JMS prioritystatic String
JMS_REDELIVERED
A MessageContext property or client Option indicating the JMS message redelivered (boolean specified as String)static String
JMS_REPLY_TO
A MessageContext property or client Option indicating the JMS replyTo Destinationstatic String
JMS_RETRY_DURATION
static String
JMS_SPEC_VERSION_1_0
static String
JMS_SPEC_VERSION_1_1
static String
JMS_SPEC_VERSION_2_0
static String
JMS_TEXT_MESSAGE
The message type indicating a TextMessage.static String
JMS_TIMESTAMP
A MessageContext property or client Option indicating the JMS timestamp (Long specified as String)static String
JMS_TYPE
A MessageContext property indicating the JMS type String returned by {@link javax.jms.Message.getJMSType()}static String
JMSX_GROUP_ID
The JMSXGroupID propertystatic String
JMSX_GROUP_SEQ
The JMSXGroupSeq propertystatic String
JMSX_PREFIX
The prefix that denotes JMSX propertiesstatic String
MAX_JMS_CONNECTIONS
Maximum number of shared JMS Connections when sending messages outstatic String
MAX_JMS_SESSIONS
static String
NAMING_FACTORY_INITIAL
Naming factory initialstatic String
PARAM_CACHE_LEVEL
static String
PARAM_DURABLE_SUB_CLIENT_ID
static String
PARAM_DURABLE_SUB_NAME
The name for the durable subscription SeePARAM_SUB_DURABLE
static String
PARAM_IS_SHARED_SUBSCRIPTION
JMS 2.0 Parametersstatic String
PARAM_JMS_HYPHEN_MODE
Does the JMS broker support hyphen in JMS message property names.static String
PARAM_JMS_PASSWORD
The password to use when obtaining a JMS Connectionstatic String
PARAM_JMS_SPEC_VER
The parameter indicating the JMS API specification to be used - if this is "1.1" the JMS 1.1 API would be used, else the JMS 1.0.2Bstatic String
PARAM_JMS_USERNAME
static String
PARAM_MSG_SELECTOR
A message selector to be used when messages are sought for this servicestatic String
PARAM_PUBSUB_NO_LOCAL
Should a pub-sub connection receive messages published by itself?static String
PARAM_REPLY_DESTINATION
The Service level Parameter name indicating the [default] response destination of a servicestatic String
PARAM_SUB_DURABLE
static String
PROVIDER_URL
Constant that holds the name of the environment property for specifying configuration information for the service provider to use.static String
QUEUE_PREFIX
static String
RECEIVER_TIMEOUT
static String
SESSION_ACK
static String
SESSION_TRANSACTED
static String
SET_ROLLBACK_ONLY
static String
TOPIC_PREFIX
-
Constructor Summary
Constructors Constructor Description JMSConstants()
-
-
-
Field Detail
-
JMS_CLIENT_POLLING_RETRIES_BEFORE_SUSPENSION
public static final String JMS_CLIENT_POLLING_RETRIES_BEFORE_SUSPENSION
- See Also:
- Constant Field Values
-
JMS_CLIENT_POLLING_SUSPENSION_PERIOD
public static final String JMS_CLIENT_POLLING_SUSPENSION_PERIOD
- See Also:
- Constant Field Values
-
DEFAULT_JMS_CLIENT_POLLING_SUSPENSION_PERIOD
public static final int DEFAULT_JMS_CLIENT_POLLING_SUSPENSION_PERIOD
- See Also:
- Constant Field Values
-
JMS_CLIENT_CONNECTION_RESET_AFTER_POLLING_SUSPENSION
public static final String JMS_CLIENT_CONNECTION_RESET_AFTER_POLLING_SUSPENSION
- See Also:
- Constant Field Values
-
TOPIC_PREFIX
public static final String TOPIC_PREFIX
- See Also:
- Constant Field Values
-
QUEUE_PREFIX
public static final String QUEUE_PREFIX
- See Also:
- Constant Field Values
-
JAVA_INITIAL_NAMING_FACTORY
public static String JAVA_INITIAL_NAMING_FACTORY
-
JAVA_NAMING_PROVIDER_URL
public static String JAVA_NAMING_PROVIDER_URL
-
CONNECTION_FACTORY_JNDI_NAME
public static String CONNECTION_FACTORY_JNDI_NAME
-
CONNECTION_FACTORY_TYPE
public static String CONNECTION_FACTORY_TYPE
-
DESTINATION_NAME
public static String DESTINATION_NAME
-
DESTINATION_TYPE
public static String DESTINATION_TYPE
-
DESTINATION_TYPE_QUEUE
public static final String DESTINATION_TYPE_QUEUE
- See Also:
- Constant Field Values
-
DESTINATION_TYPE_TOPIC
public static final String DESTINATION_TYPE_TOPIC
- See Also:
- Constant Field Values
-
SESSION_TRANSACTED
public static String SESSION_TRANSACTED
-
SESSION_ACK
public static String SESSION_ACK
-
RECEIVER_TIMEOUT
public static String RECEIVER_TIMEOUT
-
CONTENT_TYPE
public static String CONTENT_TYPE
-
CONTENT_TYPE_PROPERTY
public static String CONTENT_TYPE_PROPERTY
-
JMS_MAP_NS
public static final String JMS_MAP_NS
Namespace for JMS map payload representation- See Also:
- Constant Field Values
-
JMS_MAP_ELEMENT_NAME
public static final String JMS_MAP_ELEMENT_NAME
Root element name of JMS Map message payload representation- See Also:
- Constant Field Values
-
SET_ROLLBACK_ONLY
public static final String SET_ROLLBACK_ONLY
- See Also:
- Constant Field Values
-
JMS_MAP_QNAME
public static final QName JMS_MAP_QNAME
-
PROVIDER_URL
public static final String PROVIDER_URL
Constant that holds the name of the environment property for specifying configuration information for the service provider to use. The value of the property should contain a URL string (e.g. "ldap://somehost:389"). This property may be specified in the environment, an applet parameter, a system property, or a resource file. If it is not specified in any of these sources, the default configuration is determined by the service provider.The value of this constant is "java.naming.provider.url".
- See Also:
- Constant Field Values
-
DESTINATION_TYPE_GENERIC
public static final String DESTINATION_TYPE_GENERIC
- See Also:
- Constant Field Values
-
NAMING_FACTORY_INITIAL
public static final String NAMING_FACTORY_INITIAL
Naming factory initial- See Also:
- Constant Field Values
-
CONNECTION_STRING
public static final String CONNECTION_STRING
Default Connection Factory- See Also:
- Constant Field Values
-
PARAM_CACHE_LEVEL
public static final String PARAM_CACHE_LEVEL
- See Also:
- Constant Field Values
-
JMS_MESSAGE_TYPE
public static final String JMS_MESSAGE_TYPE
A MessageContext property or client Option indicating the JMS message type- See Also:
- Constant Field Values
-
JMS_COORELATION_ID
public static final String JMS_COORELATION_ID
A MessageContext property or client Option indicating the JMS correlation id- See Also:
- Constant Field Values
-
JMS_MAP_MESSAGE
public static final String JMS_MAP_MESSAGE
The message type indicating a MapMessage. SeeJMS_MESSAGE_TYPE
- See Also:
- Constant Field Values
-
PARAM_REPLY_DESTINATION
public static final String PARAM_REPLY_DESTINATION
The Service level Parameter name indicating the [default] response destination of a service- See Also:
- Constant Field Values
-
JMS_BYTE_MESSAGE
public static final String JMS_BYTE_MESSAGE
The message type indicating a BytesMessage. SeeJMS_MESSAGE_TYPE
- See Also:
- Constant Field Values
-
JMS_TEXT_MESSAGE
public static final String JMS_TEXT_MESSAGE
The message type indicating a TextMessage. SeeJMS_MESSAGE_TYPE
- See Also:
- Constant Field Values
-
PARAM_JMS_USERNAME
public static final String PARAM_JMS_USERNAME
- See Also:
- Constant Field Values
-
PARAM_JMS_PASSWORD
public static final String PARAM_JMS_PASSWORD
The password to use when obtaining a JMS Connection- See Also:
- Constant Field Values
-
PARAM_JMS_SPEC_VER
public static final String PARAM_JMS_SPEC_VER
The parameter indicating the JMS API specification to be used - if this is "1.1" the JMS 1.1 API would be used, else the JMS 1.0.2B- See Also:
- Constant Field Values
-
MAX_JMS_CONNECTIONS
public static final String MAX_JMS_CONNECTIONS
Maximum number of shared JMS Connections when sending messages out- See Also:
- Constant Field Values
-
MAX_JMS_SESSIONS
public static final String MAX_JMS_SESSIONS
- See Also:
- Constant Field Values
-
PARAM_SUB_DURABLE
public static final String PARAM_SUB_DURABLE
- See Also:
- Constant Field Values
-
PARAM_DURABLE_SUB_NAME
public static final String PARAM_DURABLE_SUB_NAME
The name for the durable subscription SeePARAM_SUB_DURABLE
- See Also:
- Constant Field Values
-
PARAM_DURABLE_SUB_CLIENT_ID
public static final String PARAM_DURABLE_SUB_CLIENT_ID
- See Also:
- Constant Field Values
-
PARAM_MSG_SELECTOR
public static final String PARAM_MSG_SELECTOR
A message selector to be used when messages are sought for this service- See Also:
- Constant Field Values
-
PARAM_PUBSUB_NO_LOCAL
public static final String PARAM_PUBSUB_NO_LOCAL
Should a pub-sub connection receive messages published by itself?- See Also:
- Constant Field Values
-
CACHE_NONE
public static final int CACHE_NONE
Do not cache any JMS resources between tasks (when sending) or JMS CF's (when sending)- See Also:
- Constant Field Values
-
CACHE_CONNECTION
public static final int CACHE_CONNECTION
Cache only the JMS connection between tasks (when receiving), or JMS CF's (when sending)- See Also:
- Constant Field Values
-
CACHE_SESSION
public static final int CACHE_SESSION
Cache only the JMS connection and Session between tasks (receiving), or JMS CF's (sending)- See Also:
- Constant Field Values
-
CACHE_CONSUMER
public static final int CACHE_CONSUMER
Cache the JMS connection, Session and Consumer between tasks when receiving- See Also:
- Constant Field Values
-
CACHE_PRODUCER
public static final int CACHE_PRODUCER
Cache the JMS connection, Session and Producer within a JMSConnectionFactory when sending- See Also:
- Constant Field Values
-
CACHE_AUTO
public static final int CACHE_AUTO
automatic choice of an appropriate caching level (depending on the transaction strategy)- See Also:
- Constant Field Values
-
JMSX_PREFIX
public static final String JMSX_PREFIX
The prefix that denotes JMSX properties- See Also:
- Constant Field Values
-
JMSX_GROUP_ID
public static final String JMSX_GROUP_ID
The JMSXGroupID property- See Also:
- Constant Field Values
-
JMS_DESTINATION
public static final String JMS_DESTINATION
A MessageContext property or client Option indicating the JMS destination to use on a Send- See Also:
- Constant Field Values
-
JMS_REPLY_TO
public static final String JMS_REPLY_TO
A MessageContext property or client Option indicating the JMS replyTo Destination- See Also:
- Constant Field Values
-
JMS_TYPE
public static final String JMS_TYPE
A MessageContext property indicating the JMS type String returned by {@link javax.jms.Message.getJMSType()}- See Also:
- Constant Field Values
-
JMS_DELIVERY_MODE
public static final String JMS_DELIVERY_MODE
A MessageContext property or client Option indicating the JMS delivery mode as an Integer or String Value 1 - javax.jms.DeliveryMode.NON_PERSISTENT Value 2 - javax.jms.DeliveryMode.PERSISTENT- See Also:
- Constant Field Values
-
JMSX_GROUP_SEQ
public static final String JMSX_GROUP_SEQ
The JMSXGroupSeq property- See Also:
- Constant Field Values
-
JMS_EXPIRATION
public static final String JMS_EXPIRATION
A MessageContext property or client Option indicating the JMS message expiration - a Long value specified as a String- See Also:
- Constant Field Values
-
JMS_MESSAGE_ID
public static final String JMS_MESSAGE_ID
A MessageContext property or client Option indicating the JMS message id- See Also:
- Constant Field Values
-
JMS_PRIORITY
public static final String JMS_PRIORITY
A MessageContext property or client Option indicating the JMS priority- See Also:
- Constant Field Values
-
JMS_TIMESTAMP
public static final String JMS_TIMESTAMP
A MessageContext property or client Option indicating the JMS timestamp (Long specified as String)- See Also:
- Constant Field Values
-
JMS_REDELIVERED
public static final String JMS_REDELIVERED
A MessageContext property or client Option indicating the JMS message redelivered (boolean specified as String)- See Also:
- Constant Field Values
-
PARAM_JMS_HYPHEN_MODE
public static final String PARAM_JMS_HYPHEN_MODE
Does the JMS broker support hyphen in JMS message property names.- See Also:
- Constant Field Values
-
HYPHEN_MODE_NONE
public static final String HYPHEN_MODE_NONE
- See Also:
- Constant Field Values
-
HYPHEN_MODE_REPLACE
public static final String HYPHEN_MODE_REPLACE
- See Also:
- Constant Field Values
-
HYPHEN_MODE_DELETE
public static final String HYPHEN_MODE_DELETE
- See Also:
- Constant Field Values
-
HYPHEN_REPLACEMENT_STR
public static final String HYPHEN_REPLACEMENT_STR
- See Also:
- Constant Field Values
-
DEFAULT_HYPHEN_SUPPORT
public static final String DEFAULT_HYPHEN_SUPPORT
- See Also:
- Constant Field Values
-
JMS_RETRY_DURATION
public static final String JMS_RETRY_DURATION
- See Also:
- Constant Field Values
-
PARAM_IS_SHARED_SUBSCRIPTION
public static final String PARAM_IS_SHARED_SUBSCRIPTION
JMS 2.0 Parameters- See Also:
- Constant Field Values
-
DELIVERY_COUNT
public static final String DELIVERY_COUNT
- See Also:
- Constant Field Values
-
JMS_SPEC_VERSION_1_0
public static final String JMS_SPEC_VERSION_1_0
- See Also:
- Constant Field Values
-
JMS_SPEC_VERSION_1_1
public static final String JMS_SPEC_VERSION_1_1
- See Also:
- Constant Field Values
-
JMS_SPEC_VERSION_2_0
public static final String JMS_SPEC_VERSION_2_0
- See Also:
- Constant Field Values
-
-