public interface JMSConstants
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
.Modifier and Type | Field and Description |
---|---|
static String |
_ACKNOWLEDGE_MODE |
static String |
_CLIENT_ID |
static String |
_CONNECT_RETRY_INTERVAL |
static String |
_DELIVERY_MODE |
static String |
_DOMAIN |
static String |
_INTERACT_RETRY_INTERVAL |
static String |
_JMS_CORRELATION_ID |
static String |
_JMS_CORRELATION_ID_AS_BYTES |
static String |
_JMS_TYPE |
static String |
_MESSAGE_SELECTOR |
static String |
_MIN_TIMEOUT_TIME |
static 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.
|
static String |
_NO_LOCAL |
static String |
_NUM_RETRIES |
static String |
_NUM_SESSIONS |
static String |
_PRIORITY |
static String |
_SUBSCRIPTION_NAME |
static String |
_TIME_TO_LIVE |
static String |
_TIMEOUT_TIME |
static String |
_UNSUBSCRIBE |
static String |
_VENDOR |
static String |
_WAIT_FOR_RESPONSE |
static String |
ACKNOWLEDGE_MODE
Key for properties used in the
registerListener
method. |
static String |
ADAPTER_POSTFIX |
static String |
CLIENT_ID
JMSConnectorFactory parameter valid for either domain. |
static String |
CONNECT_RETRY_INTERVAL
Key for properties used in the
createConnector
method. |
static String |
CONNECTOR |
static int |
DEFAULT_ACKNOWLEDGE_MODE
value for ACKNOWLEDGE_MODE if left unset.
|
static long |
DEFAULT_CONNECT_RETRY_INTERVAL |
static int |
DEFAULT_DELIVERY_MODE |
static long |
DEFAULT_INTERACT_RETRY_INTERVAL |
static long |
DEFAULT_MIN_TIMEOUT_TIME |
static boolean |
DEFAULT_NO_LOCAL |
static int |
DEFAULT_NUM_RETRIES |
static int |
DEFAULT_NUM_SESSIONS |
static int |
DEFAULT_PRIORITY |
static long |
DEFAULT_TIME_TO_LIVE |
static long |
DEFAULT_TIMEOUT_TIME |
static boolean |
DEFAULT_UNSUBSCRIBE |
static String |
DELIVERY_MODE
Key for properties used in the
send and call
methods. |
static String |
DELIVERY_MODE_DISCARDABLE |
static String |
DELIVERY_MODE_NONPERSISTENT |
static String |
DELIVERY_MODE_PERSISTENT |
static String |
DESTINATION |
static String |
DOMAIN |
static String |
DOMAIN_DEFAULT |
static String |
DOMAIN_QUEUE |
static String |
DOMAIN_TOPIC |
static String |
INTERACT_RETRY_INTERVAL
Key for properties used in the
createConnector
method. |
static String |
JMS_APPLICATION_MSG_PROPS
A property that carries a Map of application-specific properties to be
added to the JMS messages when issued.
|
static String |
JMS_CORRELATION_ID
Key for properties used in the
send and call
methods. |
static String |
JMS_CORRELATION_ID_AS_BYTES
Key for properties used in the
send and call
methods. |
static String |
JMS_PROPERTY_PREFIX |
static String |
JMS_TYPE
Key for properties used in the
send and call
methods. |
static String |
JMS_URL |
static String |
JNDI_VENDOR_ID |
static String |
MESSAGE_SELECTOR
Key for properties used in the
registerListener
method. |
static String |
MIN_TIMEOUT_TIME
Key for properties used in the
createConnector
method. |
static String |
NO_LOCAL
Key for properties used in the
registerListener
method. |
static String |
NUM_RETRIES
Key for properties used in the
createConnector
method. |
static String |
NUM_SESSIONS
Key for properties used in the
createConnector
method. |
static String |
PRIORITY
Key for properties used in the
send and call
methods. |
static String |
PROTOCOL |
static String |
SUBSCRIPTION_NAME
Specifies the name of a durable subscription
Key for properties used in the
registerListener
method. |
static String |
TIME_TO_LIVE
Key for properties used in the
send and call
methods. |
static String |
TIMEOUT_TIME
Key for properties used in the
createConnector
method. |
static String |
UNSUBSCRIBE
Key for properties used in the
registerListener
method. |
static String |
VENDOR |
static String |
VENDOR_ADAPTER |
static 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.
|
static final String PROTOCOL
static final String _WAIT_FOR_RESPONSE
static final String _CLIENT_ID
static final String _VENDOR
static final String _DOMAIN
static final String _JMS_CORRELATION_ID
static final String _JMS_CORRELATION_ID_AS_BYTES
static final String _JMS_TYPE
static final String _TIME_TO_LIVE
static final String _PRIORITY
static final String _DELIVERY_MODE
static final String _MESSAGE_SELECTOR
static final String _ACKNOWLEDGE_MODE
static final String _SUBSCRIPTION_NAME
static final String _UNSUBSCRIBE
static final String _NO_LOCAL
static final String _NUM_RETRIES
static final String _NUM_SESSIONS
static final String _CONNECT_RETRY_INTERVAL
static final String _INTERACT_RETRY_INTERVAL
static final String _TIMEOUT_TIME
static final String _MIN_TIMEOUT_TIME
static final String _MSG_PROP_PREFIX
static final String JMS_PROPERTY_PREFIX
static final String WAIT_FOR_RESPONSE
java.lang.Boolean
.
See the javax.jms javadoc for information on this property.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.static final String DESTINATION
static final String VENDOR
static final String JNDI_VENDOR_ID
static final String DOMAIN
static final String DOMAIN_QUEUE
static final String DOMAIN_TOPIC
static final String DOMAIN_DEFAULT
static final String JMS_CORRELATION_ID
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.static final String JMS_CORRELATION_ID_AS_BYTES
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.static final String JMS_TYPE
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.static final String TIME_TO_LIVE
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.static final String PRIORITY
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.static final String DELIVERY_MODE
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.static final String DELIVERY_MODE_PERSISTENT
static final String DELIVERY_MODE_NONPERSISTENT
static final String DELIVERY_MODE_DISCARDABLE
static final int DEFAULT_DELIVERY_MODE
static final int DEFAULT_PRIORITY
static final long DEFAULT_TIME_TO_LIVE
static final String MESSAGE_SELECTOR
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.static final String ACKNOWLEDGE_MODE
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.static final int DEFAULT_ACKNOWLEDGE_MODE
static final String SUBSCRIPTION_NAME
registerListener
method. It is valid for the PubSub domain.
The value must be a java.lang.String
.static final String UNSUBSCRIBE
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
.static final String NO_LOCAL
registerListener
method. It is valid for the PubSub domain.
The value must be a java.lang.Boolean
.static final boolean DEFAULT_NO_LOCAL
static final boolean DEFAULT_UNSUBSCRIBE
static final String NUM_RETRIES
createConnector
method. It changes the behavior of the wsclient.
The value must be a java.lang.Integer
.static final String NUM_SESSIONS
createConnector
method. It changes the behavior of the wsclient.
The value must be a java.lang.Integer
.static final String CONNECT_RETRY_INTERVAL
createConnector
method. It changes the behavior of the wsclient.
The value must be a java.lang.Long
.static final String INTERACT_RETRY_INTERVAL
createConnector
method. It changes the behavior of the wsclient.
The value must be a java.lang.Long
.static final String TIMEOUT_TIME
createConnector
method. It changes the behavior of the wsclient.
The value must be a java.lang.Long
.static final String MIN_TIMEOUT_TIME
createConnector
method. It changes the behavior of the wsclient.
The value must be a java.lang.Long
.static final int DEFAULT_NUM_RETRIES
static final int DEFAULT_NUM_SESSIONS
static final long DEFAULT_CONNECT_RETRY_INTERVAL
static final long DEFAULT_TIMEOUT_TIME
static final long DEFAULT_MIN_TIMEOUT_TIME
static final long DEFAULT_INTERACT_RETRY_INTERVAL
static final String CONNECTOR
static final String VENDOR_ADAPTER
static final String JMS_URL
static final String JMS_APPLICATION_MSG_PROPS
static final String ADAPTER_POSTFIX
Copyright © The Apache Software Foundation. All Rights Reserved.