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 classJMSConstants.JMSDestinationType
-
Field Summary
Fields Modifier and Type Field Description static intCACHE_AUTOautomatic choice of an appropriate caching level (depending on the transaction strategy)static intCACHE_CONNECTIONCache only the JMS connection between tasks (when receiving), or JMS CF's (when sending)static intCACHE_CONSUMERCache the JMS connection, Session and Consumer between tasks when receivingstatic intCACHE_NONEDo not cache any JMS resources between tasks (when sending) or JMS CF's (when sending)static intCACHE_PRODUCERCache the JMS connection, Session and Producer within a JMSConnectionFactory when sendingstatic intCACHE_SESSIONCache only the JMS connection and Session between tasks (receiving), or JMS CF's (sending)static StringCONNECTION_FACTORY_JNDI_NAMEstatic StringCONNECTION_FACTORY_TYPEstatic StringCONNECTION_STRINGDefault Connection Factorystatic StringCONTENT_TYPEstatic StringCONTENT_TYPE_PROPERTYstatic StringDEFAULT_HYPHEN_SUPPORTstatic intDEFAULT_JMS_CLIENT_POLLING_SUSPENSION_PERIODstatic StringDELIVERY_COUNTstatic StringDESTINATION_NAMEstatic StringDESTINATION_TYPEstatic StringDESTINATION_TYPE_GENERICstatic StringDESTINATION_TYPE_QUEUEstatic StringDESTINATION_TYPE_TOPICstatic StringHYPHEN_MODE_DELETEstatic StringHYPHEN_MODE_NONEstatic StringHYPHEN_MODE_REPLACEstatic StringHYPHEN_REPLACEMENT_STRstatic StringJAVA_INITIAL_NAMING_FACTORYstatic StringJAVA_NAMING_PROVIDER_URLstatic StringJMS_BYTE_MESSAGEThe message type indicating a BytesMessage.static StringJMS_CLIENT_CONNECTION_RESET_AFTER_POLLING_SUSPENSIONstatic StringJMS_CLIENT_POLLING_RETRIES_BEFORE_SUSPENSIONstatic StringJMS_CLIENT_POLLING_SUSPENSION_PERIODstatic StringJMS_COORELATION_IDA MessageContext property or client Option indicating the JMS correlation idstatic StringJMS_DELIVERY_MODEA 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 StringJMS_DESTINATIONA MessageContext property or client Option indicating the JMS destination to use on a Sendstatic StringJMS_EXPIRATIONA MessageContext property or client Option indicating the JMS message expiration - a Long value specified as a Stringstatic StringJMS_MAP_ELEMENT_NAMERoot element name of JMS Map message payload representationstatic StringJMS_MAP_MESSAGEThe message type indicating a MapMessage.static StringJMS_MAP_NSNamespace for JMS map payload representationstatic QNameJMS_MAP_QNAMEstatic StringJMS_MESSAGE_IDA MessageContext property or client Option indicating the JMS message idstatic StringJMS_MESSAGE_TYPEA MessageContext property or client Option indicating the JMS message typestatic StringJMS_PRIORITYA MessageContext property or client Option indicating the JMS prioritystatic StringJMS_REDELIVEREDA MessageContext property or client Option indicating the JMS message redelivered (boolean specified as String)static StringJMS_REPLY_TOA MessageContext property or client Option indicating the JMS replyTo Destinationstatic StringJMS_RETRY_DURATIONstatic StringJMS_SPEC_VERSION_1_0static StringJMS_SPEC_VERSION_1_1static StringJMS_SPEC_VERSION_2_0static StringJMS_TEXT_MESSAGEThe message type indicating a TextMessage.static StringJMS_TIMESTAMPA MessageContext property or client Option indicating the JMS timestamp (Long specified as String)static StringJMS_TYPEA MessageContext property indicating the JMS type String returned by {@link javax.jms.Message.getJMSType()}static StringJMSX_GROUP_IDThe JMSXGroupID propertystatic StringJMSX_GROUP_SEQThe JMSXGroupSeq propertystatic StringJMSX_PREFIXThe prefix that denotes JMSX propertiesstatic StringMAX_JMS_CONNECTIONSMaximum number of shared JMS Connections when sending messages outstatic StringMAX_JMS_SESSIONSstatic StringNAMING_FACTORY_INITIALNaming factory initialstatic StringPARAM_CACHE_LEVELstatic StringPARAM_DURABLE_SUB_CLIENT_IDstatic StringPARAM_DURABLE_SUB_NAMEThe name for the durable subscription SeePARAM_SUB_DURABLEstatic StringPARAM_IS_SHARED_SUBSCRIPTIONJMS 2.0 Parametersstatic StringPARAM_JMS_HYPHEN_MODEDoes the JMS broker support hyphen in JMS message property names.static StringPARAM_JMS_PASSWORDThe password to use when obtaining a JMS Connectionstatic StringPARAM_JMS_SPEC_VERThe 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 StringPARAM_JMS_USERNAMEstatic StringPARAM_MSG_SELECTORA message selector to be used when messages are sought for this servicestatic StringPARAM_PUBSUB_NO_LOCALShould a pub-sub connection receive messages published by itself?static StringPARAM_REPLY_DESTINATIONThe Service level Parameter name indicating the [default] response destination of a servicestatic StringPARAM_SUB_DURABLEstatic StringPROVIDER_URLConstant that holds the name of the environment property for specifying configuration information for the service provider to use.static StringQUEUE_PREFIXstatic StringRECEIVER_TIMEOUTstatic StringSESSION_ACKstatic StringSESSION_TRANSACTEDstatic StringSET_ROLLBACK_ONLYstatic StringTOPIC_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
-
-