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
  • Field Details

    • JMS_CLIENT_POLLING_RETRIES_BEFORE_SUSPENSION

      public static final String JMS_CLIENT_POLLING_RETRIES_BEFORE_SUSPENSION
      See Also:
    • JMS_CLIENT_POLLING_SUSPENSION_PERIOD

      public static final String 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

      public static final String JMS_CLIENT_CONNECTION_RESET_AFTER_POLLING_SUSPENSION
      See Also:
    • TOPIC_PREFIX

      public static final String TOPIC_PREFIX
      See Also:
    • QUEUE_PREFIX

      public static final String QUEUE_PREFIX
      See Also:
    • 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:
    • DESTINATION_TYPE_TOPIC

      public static final String DESTINATION_TYPE_TOPIC
      See Also:
    • 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:
    • JMS_MAP_ELEMENT_NAME

      public static final String JMS_MAP_ELEMENT_NAME
      Root element name of JMS Map message payload representation
      See Also:
    • SET_ROLLBACK_ONLY

      public static final String SET_ROLLBACK_ONLY
      See Also:
    • 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:
    • DESTINATION_TYPE_GENERIC

      public static final String DESTINATION_TYPE_GENERIC
      See Also:
    • NAMING_FACTORY_INITIAL

      public static final String NAMING_FACTORY_INITIAL
      Naming factory initial
      See Also:
    • CONNECTION_STRING

      public static final String CONNECTION_STRING
      Default Connection Factory
      See Also:
    • PARAM_CACHE_LEVEL

      public static final String PARAM_CACHE_LEVEL
      See Also:
    • JMS_MESSAGE_TYPE

      public static final String JMS_MESSAGE_TYPE
      A MessageContext property or client Option indicating the JMS message type
      See Also:
    • JMS_COORELATION_ID

      public static final String JMS_COORELATION_ID
      A MessageContext property or client Option indicating the JMS correlation id
      See Also:
    • JMS_MAP_MESSAGE

      public static final String JMS_MAP_MESSAGE
      The message type indicating a MapMessage. See JMS_MESSAGE_TYPE
      See Also:
    • 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:
    • JMS_BYTE_MESSAGE

      public static final String JMS_BYTE_MESSAGE
      The message type indicating a BytesMessage. See JMS_MESSAGE_TYPE
      See Also:
    • JMS_TEXT_MESSAGE

      public static final String JMS_TEXT_MESSAGE
      The message type indicating a TextMessage. See JMS_MESSAGE_TYPE
      See Also:
    • PARAM_JMS_USERNAME

      public static final String PARAM_JMS_USERNAME
      See Also:
    • PARAM_JMS_PASSWORD

      public static final String PARAM_JMS_PASSWORD
      The password to use when obtaining a JMS Connection
      See Also:
    • 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:
    • MAX_JMS_CONNECTIONS

      public static final String MAX_JMS_CONNECTIONS
      Maximum number of shared JMS Connections when sending messages out
      See Also:
    • MAX_JMS_SESSIONS

      public static final String MAX_JMS_SESSIONS
      See Also:
    • PARAM_SUB_DURABLE

      public static final String PARAM_SUB_DURABLE
      See Also:
    • PARAM_DURABLE_SUB_NAME

      public static final String PARAM_DURABLE_SUB_NAME
      The name for the durable subscription See PARAM_SUB_DURABLE
      See Also:
    • PARAM_DURABLE_SUB_CLIENT_ID

      public static final String PARAM_DURABLE_SUB_CLIENT_ID
      See Also:
    • 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:
    • PARAM_PUBSUB_NO_LOCAL

      public static final String PARAM_PUBSUB_NO_LOCAL
      Should a pub-sub connection receive messages published by itself?
      See Also:
    • 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:
    • 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:
    • 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:
    • CACHE_CONSUMER

      public static final int CACHE_CONSUMER
      Cache the JMS connection, Session and Consumer between tasks when receiving
      See Also:
    • CACHE_PRODUCER

      public static final int CACHE_PRODUCER
      Cache the JMS connection, Session and Producer within a JMSConnectionFactory when sending
      See Also:
    • CACHE_AUTO

      public static final int CACHE_AUTO
      automatic choice of an appropriate caching level (depending on the transaction strategy)
      See Also:
    • JMSX_PREFIX

      public static final String JMSX_PREFIX
      The prefix that denotes JMSX properties
      See Also:
    • JMSX_GROUP_ID

      public static final String JMSX_GROUP_ID
      The JMSXGroupID property
      See Also:
    • 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:
    • JMS_REPLY_TO

      public static final String JMS_REPLY_TO
      A MessageContext property or client Option indicating the JMS replyTo Destination
      See Also:
    • JMS_TYPE

      public static final String JMS_TYPE
      A MessageContext property indicating the JMS type String returned by
      invalid @link
      {@link javax.jms.Message.getJMSType()
      }
      See Also:
    • 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:
    • JMSX_GROUP_SEQ

      public static final String JMSX_GROUP_SEQ
      The JMSXGroupSeq property
      See Also:
    • 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:
    • JMS_MESSAGE_ID

      public static final String JMS_MESSAGE_ID
      A MessageContext property or client Option indicating the JMS message id
      See Also:
    • JMS_PRIORITY

      public static final String JMS_PRIORITY
      A MessageContext property or client Option indicating the JMS priority
      See Also:
    • JMS_TIMESTAMP

      public static final String JMS_TIMESTAMP
      A MessageContext property or client Option indicating the JMS timestamp (Long specified as String)
      See Also:
    • 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:
    • 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:
    • HYPHEN_MODE_NONE

      public static final String HYPHEN_MODE_NONE
      See Also:
    • HYPHEN_MODE_REPLACE

      public static final String HYPHEN_MODE_REPLACE
      See Also:
    • HYPHEN_MODE_DELETE

      public static final String HYPHEN_MODE_DELETE
      See Also:
    • HYPHEN_REPLACEMENT_STR

      public static final String HYPHEN_REPLACEMENT_STR
      See Also:
    • DEFAULT_HYPHEN_SUPPORT

      public static final String DEFAULT_HYPHEN_SUPPORT
      See Also:
    • JMS_RETRY_DURATION

      public static final String JMS_RETRY_DURATION
      See Also:
    • PARAM_IS_SHARED_SUBSCRIPTION

      public static final String PARAM_IS_SHARED_SUBSCRIPTION
      JMS 2.0 Parameters
      See Also:
    • DELIVERY_COUNT

      public static final String DELIVERY_COUNT
      See Also:
    • JMS_SPEC_VERSION_1_0

      public static final String JMS_SPEC_VERSION_1_0
      See Also:
    • JMS_SPEC_VERSION_1_1

      public static final String JMS_SPEC_VERSION_1_1
      See Also:
    • JMS_SPEC_VERSION_2_0

      public static final String JMS_SPEC_VERSION_2_0
      See Also:
  • Constructor Details

    • JMSConstants

      public JMSConstants()