Package org.apache.axis.transport.jms
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Defines a prefix added to each application-specific property in the JMS URL that should be added to the JMS Message when issued.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Key for properties used in theregisterListener
method.static final String
static final String
JMSConnectorFactory
parameter valid for either domain.static final String
Key for properties used in thecreateConnector
method.static final String
static final int
value for ACKNOWLEDGE_MODE if left unset.static final long
static final int
static final long
static final long
static final boolean
static final int
static final int
static final int
static final long
static final long
static final boolean
static final String
Key for properties used in thesend
andcall
methods.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Key for properties used in thecreateConnector
method.static final String
A property that carries a Map of application-specific properties to be added to the JMS messages when issued.static final String
Key for properties used in thesend
andcall
methods.static final String
Key for properties used in thesend
andcall
methods.static final String
static final String
Key for properties used in thesend
andcall
methods.static final String
static final String
static final String
Key for properties used in theregisterListener
method.static final String
Key for properties used in thecreateConnector
method.static final String
Key for properties used in theregisterListener
method.static final String
Key for properties used in thecreateConnector
method.static final String
Key for properties used in thecreateConnector
method.static final String
Key for properties used in thesend
andcall
methods.static final String
static final String
Specifies the name of a durable subscription Key for properties used in theregisterListener
method.static final String
Key for properties used in thesend
andcall
methods.static final String
Key for properties used in thecreateConnector
method.static final String
Key for properties used in theregisterListener
method.static final String
static final String
static final String
This is used as a key in the Call properties telling the JMS transport to wait for a response from the service.
-
Field Details
-
PROTOCOL
- See Also:
-
_WAIT_FOR_RESPONSE
- See Also:
-
_CLIENT_ID
- See Also:
-
_VENDOR
- See Also:
-
_DOMAIN
- See Also:
-
_JMS_CORRELATION_ID
- See Also:
-
_JMS_CORRELATION_ID_AS_BYTES
- See Also:
-
_JMS_TYPE
- See Also:
-
_TIME_TO_LIVE
- See Also:
-
_PRIORITY
- See Also:
-
_DELIVERY_MODE
- See Also:
-
_MESSAGE_SELECTOR
- See Also:
-
_ACKNOWLEDGE_MODE
- See Also:
-
_SUBSCRIPTION_NAME
- See Also:
-
_UNSUBSCRIBE
- See Also:
-
_NO_LOCAL
- See Also:
-
_NUM_RETRIES
- See Also:
-
_NUM_SESSIONS
- See Also:
-
_CONNECT_RETRY_INTERVAL
- See Also:
-
_INTERACT_RETRY_INTERVAL
- See Also:
-
_TIMEOUT_TIME
- See Also:
-
_MIN_TIMEOUT_TIME
- See Also:
-
_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
- See Also:
-
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 ajava.lang.Boolean
. See the javax.jms javadoc for information on this property.- See Also:
-
CLIENT_ID
JMSConnectorFactory
parameter valid for either domain. This should be used as a key in the environment map passed into calls tocreateConnector
inJMSConnectorFactory
This is a required property for durable subscribers. The value must be ajava.lang.String
. See the javax.jms javadoc for information on this property.- See Also:
-
DESTINATION
- See Also:
-
VENDOR
- See Also:
-
JNDI_VENDOR_ID
- See Also:
-
DOMAIN
- See Also:
-
DOMAIN_QUEUE
- See Also:
-
DOMAIN_TOPIC
- See Also:
-
DOMAIN_DEFAULT
- See Also:
-
JMS_CORRELATION_ID
Key for properties used in thesend
andcall
methods. It is valid for either domain. The value must be ajava.lang.String
. See the javax.jms javadoc for information on this property.- See Also:
-
JMS_CORRELATION_ID_AS_BYTES
Key for properties used in thesend
andcall
methods. It is valid for either domain. The value must be abyte[]
. See the javax.jms javadoc for information on this property.- See Also:
-
JMS_TYPE
Key for properties used in thesend
andcall
methods. It is valid for either domain. The value must be ajava.lang.String
. See the javax.jms javadoc for information on this property.- See Also:
-
TIME_TO_LIVE
Key for properties used in thesend
andcall
methods. It is valid for either domain. The value must be ajava.lang.Long
. See the javax.jms javadoc for information on this property.- See Also:
-
PRIORITY
Key for properties used in thesend
andcall
methods. It is valid for either domain. The value must be ajava.lang.Integer
. See the javax.jms javadoc for information on this property.- See Also:
-
DELIVERY_MODE
Key for properties used in thesend
andcall
methods. It is valid for either domain. The value must be ajava.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
- See Also:
-
DELIVERY_MODE_NONPERSISTENT
- See Also:
-
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
Key for properties used in theregisterListener
method. It is valid for either domain. The value must be ajava.lang.String
. See the javax.jms javadoc for information on this property.- See Also:
-
ACKNOWLEDGE_MODE
Key for properties used in theregisterListener
method. It is valid for either domain. The value must be ajava.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_MODEvalue for ACKNOWLEDGE_MODE if left unset. It is equal to Session.DUPS_OK_ACKNOWLEDGE. -
SUBSCRIPTION_NAME
Specifies the name of a durable subscription Key for properties used in theregisterListener
method. It is valid for the PubSub domain. The value must be ajava.lang.String
.- See Also:
-
UNSUBSCRIBE
Key for properties used in theregisterListener
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 ajava.lang.Boolean
.- See Also:
-
NO_LOCAL
Key for properties used in theregisterListener
method. It is valid for the PubSub domain. The value must be ajava.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
Key for properties used in thecreateConnector
method. It changes the behavior of the wsclient. The value must be ajava.lang.Integer
.- See Also:
-
NUM_SESSIONS
Key for properties used in thecreateConnector
method. It changes the behavior of the wsclient. The value must be ajava.lang.Integer
.- See Also:
-
CONNECT_RETRY_INTERVAL
Key for properties used in thecreateConnector
method. It changes the behavior of the wsclient. The value must be ajava.lang.Long
.- See Also:
-
INTERACT_RETRY_INTERVAL
Key for properties used in thecreateConnector
method. It changes the behavior of the wsclient. The value must be ajava.lang.Long
.- See Also:
-
TIMEOUT_TIME
Key for properties used in thecreateConnector
method. It changes the behavior of the wsclient. The value must be ajava.lang.Long
.- See Also:
-
MIN_TIMEOUT_TIME
Key for properties used in thecreateConnector
method. It changes the behavior of the wsclient. The value must be ajava.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
- See Also:
-
VENDOR_ADAPTER
- See Also:
-
JMS_URL
- See Also:
-
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
- See Also:
-