Interface JMSConstants


  • public interface JMSConstants
    JMSConstants contains constants that apply to all JMS providers. JMSConstants contains the constant definitions for interacting with the WSClient. The most important constants are the HashMap keys for use in the arguments to the send, call, registerListener, unregisterListener methods of JMSEndpoint and the createConnector method of JMSConnectorFactory.
    Author:
    Jaime Meritt (jmeritt@sonicsoftware.com), Richard Chung (rchung@sonicsoftware.com), Dave Chappell (chappell@sonicsoftware.com), Ray Chun (rchun@sonicsoftware.com)
    • Field Detail

      • _JMS_CORRELATION_ID_AS_BYTES

        static final java.lang.String _JMS_CORRELATION_ID_AS_BYTES
        See Also:
        Constant Field Values
      • _CONNECT_RETRY_INTERVAL

        static final java.lang.String _CONNECT_RETRY_INTERVAL
        See Also:
        Constant Field Values
      • _INTERACT_RETRY_INTERVAL

        static final java.lang.String _INTERACT_RETRY_INTERVAL
        See Also:
        Constant Field Values
      • _MSG_PROP_PREFIX

        static final java.lang.String _MSG_PROP_PREFIX
        Defines a prefix added to each application-specific property in the JMS URL that should be added to the JMS Message when issued.
        See Also:
        Constant Field Values
      • WAIT_FOR_RESPONSE

        static final java.lang.String WAIT_FOR_RESPONSE
        This is used as a key in the Call properties telling the JMS transport to wait for a response from the service. The default value is true. If false is specified, the message will be delivered without specifying a ReplyTo. The client will always return null from invoke unless a client-side exception is thrown (similar to invokeOneWay in semantics) The value must be a java.lang.Boolean. See the javax.jms javadoc for information on this property.
        See Also:
        Constant Field Values
      • CLIENT_ID

        static final java.lang.String CLIENT_ID
        JMSConnectorFactory parameter valid for either domain. This should be used as a key in the environment map passed into calls to createConnector in JMSConnectorFactory This is a required property for durable subscribers. The value must be a java.lang.String. See the javax.jms javadoc for information on this property.
        See Also:
        Constant Field Values
      • JMS_CORRELATION_ID

        static final java.lang.String JMS_CORRELATION_ID
        Key for properties used in the send and call methods. It is valid for either domain. The value must be a java.lang.String. See the javax.jms javadoc for information on this property.
        See Also:
        Constant Field Values
      • JMS_CORRELATION_ID_AS_BYTES

        static final java.lang.String JMS_CORRELATION_ID_AS_BYTES
        Key for properties used in the send and call methods. It is valid for either domain. The value must be a byte[]. See the javax.jms javadoc for information on this property.
        See Also:
        Constant Field Values
      • JMS_TYPE

        static final java.lang.String JMS_TYPE
        Key for properties used in the send and call methods. It is valid for either domain. The value must be a java.lang.String. See the javax.jms javadoc for information on this property.
        See Also:
        Constant Field Values
      • TIME_TO_LIVE

        static final java.lang.String TIME_TO_LIVE
        Key for properties used in the send and call methods. It is valid for either domain. The value must be a java.lang.Long. See the javax.jms javadoc for information on this property.
        See Also:
        Constant Field Values
      • PRIORITY

        static final java.lang.String PRIORITY
        Key for properties used in the send and call methods. It is valid for either domain. The value must be a java.lang.Integer. See the javax.jms javadoc for information on this property.
        See Also:
        Constant Field Values
      • DELIVERY_MODE

        static final java.lang.String DELIVERY_MODE
        Key for properties used in the send and call methods. It is valid for either domain. The value must be a java.lang.Integer equal to DeliveryMode.NON_PERSISTENT or DeliveryMode.PERSISTENT. See the javax.jms javadoc for information on this property.
        See Also:
        Constant Field Values
      • DELIVERY_MODE_PERSISTENT

        static final java.lang.String DELIVERY_MODE_PERSISTENT
        See Also:
        Constant Field Values
      • DELIVERY_MODE_NONPERSISTENT

        static final java.lang.String DELIVERY_MODE_NONPERSISTENT
        See Also:
        Constant Field Values
      • DELIVERY_MODE_DISCARDABLE

        static final java.lang.String DELIVERY_MODE_DISCARDABLE
        See Also:
        Constant Field Values
      • DEFAULT_DELIVERY_MODE

        static final int DEFAULT_DELIVERY_MODE
      • DEFAULT_PRIORITY

        static final int DEFAULT_PRIORITY
      • DEFAULT_TIME_TO_LIVE

        static final long DEFAULT_TIME_TO_LIVE
      • MESSAGE_SELECTOR

        static final java.lang.String MESSAGE_SELECTOR
        Key for properties used in the registerListener method. It is valid for either domain. The value must be a java.lang.String. See the javax.jms javadoc for information on this property.
        See Also:
        Constant Field Values
      • ACKNOWLEDGE_MODE

        static final java.lang.String ACKNOWLEDGE_MODE
        Key for properties used in the registerListener method. It is valid for either domain. The value must be a java.lang.Integer that is one of Session.AUTO_ACKNOWLEDGE, Session.DUPS_OK_ACKNOWLEDGE, or Session.CLIENT_ACKNOWLEDGE. See the javax.jms javadoc for information on this property.
        See Also:
        Constant Field Values
      • DEFAULT_ACKNOWLEDGE_MODE

        static final int DEFAULT_ACKNOWLEDGE_MODE
        value for ACKNOWLEDGE_MODE if left unset. It is equal to Session.DUPS_OK_ACKNOWLEDGE.
      • SUBSCRIPTION_NAME

        static final java.lang.String SUBSCRIPTION_NAME
        Specifies the name of a durable subscription Key for properties used in the registerListener method. It is valid for the PubSub domain. The value must be a java.lang.String.
        See Also:
        Constant Field Values
      • UNSUBSCRIBE

        static final java.lang.String UNSUBSCRIBE
        Key for properties used in the registerListener method. It is valid for the PubSub domain. Specifies that the durable subscription should be unsubscribed (deleted from the broker) when unregistered. The value must be a java.lang.Boolean.
        See Also:
        Constant Field Values
      • NO_LOCAL

        static final java.lang.String NO_LOCAL
        Key for properties used in the registerListener method. It is valid for the PubSub domain. The value must be a java.lang.Boolean.
        See Also:
        Constant Field Values
      • NUM_RETRIES

        static final java.lang.String NUM_RETRIES
        Key for properties used in the createConnector method. It changes the behavior of the wsclient. The value must be a java.lang.Integer.
        See Also:
        Constant Field Values
      • NUM_SESSIONS

        static final java.lang.String NUM_SESSIONS
        Key for properties used in the createConnector method. It changes the behavior of the wsclient. The value must be a java.lang.Integer.
        See Also:
        Constant Field Values
      • CONNECT_RETRY_INTERVAL

        static final java.lang.String CONNECT_RETRY_INTERVAL
        Key for properties used in the createConnector method. It changes the behavior of the wsclient. The value must be a java.lang.Long.
        See Also:
        Constant Field Values
      • INTERACT_RETRY_INTERVAL

        static final java.lang.String INTERACT_RETRY_INTERVAL
        Key for properties used in the createConnector method. It changes the behavior of the wsclient. The value must be a java.lang.Long.
        See Also:
        Constant Field Values
      • TIMEOUT_TIME

        static final java.lang.String TIMEOUT_TIME
        Key for properties used in the createConnector method. It changes the behavior of the wsclient. The value must be a java.lang.Long.
        See Also:
        Constant Field Values
      • MIN_TIMEOUT_TIME

        static final java.lang.String MIN_TIMEOUT_TIME
        Key for properties used in the createConnector method. It changes the behavior of the wsclient. The value must be a java.lang.Long.
        See Also:
        Constant Field Values
      • DEFAULT_CONNECT_RETRY_INTERVAL

        static final long DEFAULT_CONNECT_RETRY_INTERVAL
        See Also:
        Constant Field Values
      • DEFAULT_INTERACT_RETRY_INTERVAL

        static final long DEFAULT_INTERACT_RETRY_INTERVAL
        See Also:
        Constant Field Values
      • JMS_APPLICATION_MSG_PROPS

        static final java.lang.String JMS_APPLICATION_MSG_PROPS
        A property that carries a Map of application-specific properties to be added to the JMS messages when issued.
        See Also:
        Constant Field Values