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 Details

    • PROTOCOL

      static final String PROTOCOL
      See Also:
    • _WAIT_FOR_RESPONSE

      static final String _WAIT_FOR_RESPONSE
      See Also:
    • _CLIENT_ID

      static final String _CLIENT_ID
      See Also:
    • _VENDOR

      static final String _VENDOR
      See Also:
    • _DOMAIN

      static final String _DOMAIN
      See Also:
    • _JMS_CORRELATION_ID

      static final String _JMS_CORRELATION_ID
      See Also:
    • _JMS_CORRELATION_ID_AS_BYTES

      static final String _JMS_CORRELATION_ID_AS_BYTES
      See Also:
    • _JMS_TYPE

      static final String _JMS_TYPE
      See Also:
    • _TIME_TO_LIVE

      static final String _TIME_TO_LIVE
      See Also:
    • _PRIORITY

      static final String _PRIORITY
      See Also:
    • _DELIVERY_MODE

      static final String _DELIVERY_MODE
      See Also:
    • _MESSAGE_SELECTOR

      static final String _MESSAGE_SELECTOR
      See Also:
    • _ACKNOWLEDGE_MODE

      static final String _ACKNOWLEDGE_MODE
      See Also:
    • _SUBSCRIPTION_NAME

      static final String _SUBSCRIPTION_NAME
      See Also:
    • _UNSUBSCRIBE

      static final String _UNSUBSCRIBE
      See Also:
    • _NO_LOCAL

      static final String _NO_LOCAL
      See Also:
    • _NUM_RETRIES

      static final String _NUM_RETRIES
      See Also:
    • _NUM_SESSIONS

      static final String _NUM_SESSIONS
      See Also:
    • _CONNECT_RETRY_INTERVAL

      static final String _CONNECT_RETRY_INTERVAL
      See Also:
    • _INTERACT_RETRY_INTERVAL

      static final String _INTERACT_RETRY_INTERVAL
      See Also:
    • _TIMEOUT_TIME

      static final String _TIMEOUT_TIME
      See Also:
    • _MIN_TIMEOUT_TIME

      static final String _MIN_TIMEOUT_TIME
      See Also:
    • _MSG_PROP_PREFIX

      static final 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:
    • JMS_PROPERTY_PREFIX

      static final String JMS_PROPERTY_PREFIX
      See Also:
    • WAIT_FOR_RESPONSE

      static final 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:
    • CLIENT_ID

      static final 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:
    • DESTINATION

      static final String DESTINATION
      See Also:
    • VENDOR

      static final String VENDOR
      See Also:
    • JNDI_VENDOR_ID

      static final String JNDI_VENDOR_ID
      See Also:
    • DOMAIN

      static final String DOMAIN
      See Also:
    • DOMAIN_QUEUE

      static final String DOMAIN_QUEUE
      See Also:
    • DOMAIN_TOPIC

      static final String DOMAIN_TOPIC
      See Also:
    • DOMAIN_DEFAULT

      static final String DOMAIN_DEFAULT
      See Also:
    • JMS_CORRELATION_ID

      static final 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:
    • JMS_CORRELATION_ID_AS_BYTES

      static final 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:
    • JMS_TYPE

      static final 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:
    • TIME_TO_LIVE

      static final 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:
    • PRIORITY

      static final 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:
    • DELIVERY_MODE

      static final 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:
    • DELIVERY_MODE_PERSISTENT

      static final String DELIVERY_MODE_PERSISTENT
      See Also:
    • DELIVERY_MODE_NONPERSISTENT

      static final String DELIVERY_MODE_NONPERSISTENT
      See Also:
    • DELIVERY_MODE_DISCARDABLE

      static final String DELIVERY_MODE_DISCARDABLE
      See Also:
    • 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 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:
    • ACKNOWLEDGE_MODE

      static final 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:
    • 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 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:
    • UNSUBSCRIBE

      static final 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:
    • NO_LOCAL

      static final 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:
    • DEFAULT_NO_LOCAL

      static final boolean DEFAULT_NO_LOCAL
      See Also:
    • DEFAULT_UNSUBSCRIBE

      static final boolean DEFAULT_UNSUBSCRIBE
      See Also:
    • NUM_RETRIES

      static final 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:
    • NUM_SESSIONS

      static final 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:
    • CONNECT_RETRY_INTERVAL

      static final 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:
    • INTERACT_RETRY_INTERVAL

      static final 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:
    • TIMEOUT_TIME

      static final 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:
    • MIN_TIMEOUT_TIME

      static final 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:
    • DEFAULT_NUM_RETRIES

      static final int DEFAULT_NUM_RETRIES
      See Also:
    • DEFAULT_NUM_SESSIONS

      static final int DEFAULT_NUM_SESSIONS
      See Also:
    • DEFAULT_CONNECT_RETRY_INTERVAL

      static final long DEFAULT_CONNECT_RETRY_INTERVAL
      See Also:
    • DEFAULT_TIMEOUT_TIME

      static final long DEFAULT_TIMEOUT_TIME
      See Also:
    • DEFAULT_MIN_TIMEOUT_TIME

      static final long DEFAULT_MIN_TIMEOUT_TIME
      See Also:
    • DEFAULT_INTERACT_RETRY_INTERVAL

      static final long DEFAULT_INTERACT_RETRY_INTERVAL
      See Also:
    • CONNECTOR

      static final String CONNECTOR
      See Also:
    • VENDOR_ADAPTER

      static final String VENDOR_ADAPTER
      See Also:
    • JMS_URL

      static final String JMS_URL
      See Also:
    • JMS_APPLICATION_MSG_PROPS

      static final 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:
    • ADAPTER_POSTFIX

      static final String ADAPTER_POSTFIX
      See Also: