Class JMSConstants
java.lang.Object
org.wso2.carbon.inbound.endpoint.protocol.jms.JMSConstants
Common constants used by inbound JMS protocol
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intautomatic choice of an appropriate caching level (depending on the transaction strategy)static final intCache only the JMS connection between tasks (when receiving), or JMS CF's (when sending)static final intCache the JMS connection, Session and Consumer between tasks when receivingstatic final intDo not cache any JMS resources between tasks (when sending) or JMS CF's (when sending)static final intCache the JMS connection, Session and Producer within a JMSConnectionFactory when sendingstatic final intCache only the JMS connection and Session between tasks (receiving), or JMS CF's (sending)static Stringstatic Stringstatic final StringDefault Connection Factorystatic Stringstatic Stringstatic final Stringstatic final intstatic final Stringstatic Stringstatic Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic Stringstatic Stringstatic final StringThe message type indicating a BytesMessage.static final Stringstatic final Stringstatic final Stringstatic final StringA MessageContext property or client Option indicating the JMS correlation idstatic final StringA 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 final StringA MessageContext property or client Option indicating the JMS destination to use on a Sendstatic final StringA MessageContext property or client Option indicating the JMS message expiration - a Long value specified as a Stringstatic final StringRoot element name of JMS Map message payload representationstatic final StringThe message type indicating a MapMessage.static final StringNamespace for JMS map payload representationstatic final QNamestatic final StringA MessageContext property or client Option indicating the JMS message idstatic final StringA MessageContext property or client Option indicating the JMS message typestatic final StringA MessageContext property or client Option indicating the JMS prioritystatic final StringA MessageContext property or client Option indicating the JMS message redelivered (boolean specified as String)static final StringA MessageContext property or client Option indicating the JMS replyTo Destinationstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe message type indicating a TextMessage.static final StringA MessageContext property or client Option indicating the JMS timestamp (Long specified as String)static final StringA MessageContext property indicating the JMS type String returned by}invalid @link
{@link javax.jms.Message.getJMSType()static final StringThe JMSXGroupID propertystatic final StringThe JMSXGroupSeq propertystatic final StringThe prefix that denotes JMSX propertiesstatic final StringMaximum number of shared JMS Connections when sending messages outstatic final Stringstatic final StringNaming factory initialstatic final Stringstatic final Stringstatic final StringThe name for the durable subscription SeePARAM_SUB_DURABLEstatic final StringJMS 2.0 Parametersstatic final StringDoes the JMS broker support hyphen in JMS message property names.static final StringThe password to use when obtaining a JMS Connectionstatic final StringThe 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 final Stringstatic final StringA message selector to be used when messages are sought for this servicestatic final StringShould a pub-sub connection receive messages published by itself?static final StringThe Service level Parameter name indicating the [default] response destination of a servicestatic final Stringstatic final StringConstant that holds the name of the environment property for specifying configuration information for the service provider to use.static final Stringstatic Stringstatic Stringstatic Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
JMS_CLIENT_POLLING_RETRIES_BEFORE_SUSPENSION
- See Also:
-
JMS_CLIENT_POLLING_SUSPENSION_PERIOD
- See Also:
-
DEFAULT_JMS_CLIENT_POLLING_SUSPENSION_PERIOD
public static final int DEFAULT_JMS_CLIENT_POLLING_SUSPENSION_PERIOD- See Also:
-
JMS_CLIENT_CONNECTION_RESET_AFTER_POLLING_SUSPENSION
- See Also:
-
TOPIC_PREFIX
- See Also:
-
QUEUE_PREFIX
- See Also:
-
JAVA_INITIAL_NAMING_FACTORY
-
JAVA_NAMING_PROVIDER_URL
-
CONNECTION_FACTORY_JNDI_NAME
-
CONNECTION_FACTORY_TYPE
-
DESTINATION_NAME
-
DESTINATION_TYPE
-
DESTINATION_TYPE_QUEUE
- See Also:
-
DESTINATION_TYPE_TOPIC
- See Also:
-
SESSION_TRANSACTED
-
SESSION_ACK
-
RECEIVER_TIMEOUT
-
CONTENT_TYPE
-
CONTENT_TYPE_PROPERTY
-
JMS_MAP_NS
Namespace for JMS map payload representation- See Also:
-
JMS_MAP_ELEMENT_NAME
Root element name of JMS Map message payload representation- See Also:
-
SET_ROLLBACK_ONLY
- See Also:
-
JMS_MAP_QNAME
-
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:
-
DESTINATION_TYPE_GENERIC
- See Also:
-
NAMING_FACTORY_INITIAL
Naming factory initial- See Also:
-
CONNECTION_STRING
Default Connection Factory- See Also:
-
PARAM_CACHE_LEVEL
- See Also:
-
JMS_MESSAGE_TYPE
A MessageContext property or client Option indicating the JMS message type- See Also:
-
JMS_COORELATION_ID
A MessageContext property or client Option indicating the JMS correlation id- See Also:
-
JMS_MAP_MESSAGE
The message type indicating a MapMessage. SeeJMS_MESSAGE_TYPE- See Also:
-
PARAM_REPLY_DESTINATION
The Service level Parameter name indicating the [default] response destination of a service- See Also:
-
JMS_BYTE_MESSAGE
The message type indicating a BytesMessage. SeeJMS_MESSAGE_TYPE- See Also:
-
JMS_TEXT_MESSAGE
The message type indicating a TextMessage. SeeJMS_MESSAGE_TYPE- See Also:
-
PARAM_JMS_USERNAME
- See Also:
-
PARAM_JMS_PASSWORD
The password to use when obtaining a JMS Connection- See Also:
-
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:
-
MAX_JMS_CONNECTIONS
Maximum number of shared JMS Connections when sending messages out- See Also:
-
MAX_JMS_SESSIONS
- See Also:
-
PARAM_SUB_DURABLE
- See Also:
-
PARAM_DURABLE_SUB_NAME
The name for the durable subscription SeePARAM_SUB_DURABLE- See Also:
-
PARAM_DURABLE_SUB_CLIENT_ID
- See Also:
-
PARAM_MSG_SELECTOR
A message selector to be used when messages are sought for this service- See Also:
-
PARAM_PUBSUB_NO_LOCAL
Should a pub-sub connection receive messages published by itself?- See Also:
-
CACHE_NONE
public static final int CACHE_NONEDo not cache any JMS resources between tasks (when sending) or JMS CF's (when sending)- See Also:
-
CACHE_CONNECTION
public static final int CACHE_CONNECTIONCache only the JMS connection between tasks (when receiving), or JMS CF's (when sending)- See Also:
-
CACHE_SESSION
public static final int CACHE_SESSIONCache only the JMS connection and Session between tasks (receiving), or JMS CF's (sending)- See Also:
-
CACHE_CONSUMER
public static final int CACHE_CONSUMERCache the JMS connection, Session and Consumer between tasks when receiving- See Also:
-
CACHE_PRODUCER
public static final int CACHE_PRODUCERCache the JMS connection, Session and Producer within a JMSConnectionFactory when sending- See Also:
-
CACHE_AUTO
public static final int CACHE_AUTOautomatic choice of an appropriate caching level (depending on the transaction strategy)- See Also:
-
JMSX_PREFIX
The prefix that denotes JMSX properties- See Also:
-
JMSX_GROUP_ID
The JMSXGroupID property- See Also:
-
JMS_DESTINATION
A MessageContext property or client Option indicating the JMS destination to use on a Send- See Also:
-
JMS_REPLY_TO
A MessageContext property or client Option indicating the JMS replyTo Destination- See Also:
-
JMS_TYPE
A MessageContext property indicating the JMS type String returned by}invalid @link
{@link javax.jms.Message.getJMSType()- See Also:
-
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:
-
JMSX_GROUP_SEQ
The JMSXGroupSeq property- See Also:
-
JMS_EXPIRATION
A MessageContext property or client Option indicating the JMS message expiration - a Long value specified as a String- See Also:
-
JMS_MESSAGE_ID
A MessageContext property or client Option indicating the JMS message id- See Also:
-
JMS_PRIORITY
A MessageContext property or client Option indicating the JMS priority- See Also:
-
JMS_TIMESTAMP
A MessageContext property or client Option indicating the JMS timestamp (Long specified as String)- See Also:
-
JMS_REDELIVERED
A MessageContext property or client Option indicating the JMS message redelivered (boolean specified as String)- See Also:
-
PARAM_JMS_HYPHEN_MODE
Does the JMS broker support hyphen in JMS message property names.- See Also:
-
HYPHEN_MODE_NONE
- See Also:
-
HYPHEN_MODE_REPLACE
- See Also:
-
HYPHEN_MODE_DELETE
- See Also:
-
HYPHEN_REPLACEMENT_STR
- See Also:
-
DEFAULT_HYPHEN_SUPPORT
- See Also:
-
JMS_RETRY_DURATION
- See Also:
-
PARAM_IS_SHARED_SUBSCRIPTION
JMS 2.0 Parameters- See Also:
-
DELIVERY_COUNT
- See Also:
-
JMS_SPEC_VERSION_1_0
- See Also:
-
JMS_SPEC_VERSION_1_1
- See Also:
-
JMS_SPEC_VERSION_2_0
- See Also:
-
-
Constructor Details
-
JMSConstants
public JMSConstants()
-