Class JMSConstants


  • public class JMSConstants
    extends Object
    Common constants used by inbound JMS protocol
    • 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
      • 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
      • 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_ELEMENT_NAME

        public static final String JMS_MAP_ELEMENT_NAME
        Root element name of JMS Map message payload representation
        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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • PARAM_IS_SHARED_SUBSCRIPTION

        public static final String PARAM_IS_SHARED_SUBSCRIPTION
        JMS 2.0 Parameters
        See Also:
        Constant Field Values
    • Constructor Detail

      • JMSConstants

        public JMSConstants()