Package org.apache.axis.transport.jms
Interface JMSConstants
-
public interface JMSConstantsJMSConstants contains constants that apply to all JMS providers.JMSConstantscontains the constant definitions for interacting with the WSClient. The most important constants are theHashMapkeys for use in the arguments to thesend, call, registerListener, unregisterListenermethods ofJMSEndpointand thecreateConnectormethod ofJMSConnectorFactory.- Author:
- Jaime Meritt (jmeritt@sonicsoftware.com), Richard Chung (rchung@sonicsoftware.com), Dave Chappell (chappell@sonicsoftware.com), Ray Chun (rchun@sonicsoftware.com)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_ACKNOWLEDGE_MODEstatic java.lang.String_CLIENT_IDstatic java.lang.String_CONNECT_RETRY_INTERVALstatic java.lang.String_DELIVERY_MODEstatic java.lang.String_DOMAINstatic java.lang.String_INTERACT_RETRY_INTERVALstatic java.lang.String_JMS_CORRELATION_IDstatic java.lang.String_JMS_CORRELATION_ID_AS_BYTESstatic java.lang.String_JMS_TYPEstatic java.lang.String_MESSAGE_SELECTORstatic java.lang.String_MIN_TIMEOUT_TIMEstatic java.lang.String_MSG_PROP_PREFIXDefines a prefix added to each application-specific property in the JMS URL that should be added to the JMS Message when issued.static java.lang.String_NO_LOCALstatic java.lang.String_NUM_RETRIESstatic java.lang.String_NUM_SESSIONSstatic java.lang.String_PRIORITYstatic java.lang.String_SUBSCRIPTION_NAMEstatic java.lang.String_TIME_TO_LIVEstatic java.lang.String_TIMEOUT_TIMEstatic java.lang.String_UNSUBSCRIBEstatic java.lang.String_VENDORstatic java.lang.String_WAIT_FOR_RESPONSEstatic java.lang.StringACKNOWLEDGE_MODEKey for properties used in theregisterListenermethod.static java.lang.StringADAPTER_POSTFIXstatic java.lang.StringCLIENT_IDJMSConnectorFactoryparameter valid for either domain.static java.lang.StringCONNECT_RETRY_INTERVALKey for properties used in thecreateConnectormethod.static java.lang.StringCONNECTORstatic intDEFAULT_ACKNOWLEDGE_MODEvalue for ACKNOWLEDGE_MODE if left unset.static longDEFAULT_CONNECT_RETRY_INTERVALstatic intDEFAULT_DELIVERY_MODEstatic longDEFAULT_INTERACT_RETRY_INTERVALstatic longDEFAULT_MIN_TIMEOUT_TIMEstatic booleanDEFAULT_NO_LOCALstatic intDEFAULT_NUM_RETRIESstatic intDEFAULT_NUM_SESSIONSstatic intDEFAULT_PRIORITYstatic longDEFAULT_TIME_TO_LIVEstatic longDEFAULT_TIMEOUT_TIMEstatic booleanDEFAULT_UNSUBSCRIBEstatic java.lang.StringDELIVERY_MODEKey for properties used in thesendandcallmethods.static java.lang.StringDELIVERY_MODE_DISCARDABLEstatic java.lang.StringDELIVERY_MODE_NONPERSISTENTstatic java.lang.StringDELIVERY_MODE_PERSISTENTstatic java.lang.StringDESTINATIONstatic java.lang.StringDOMAINstatic java.lang.StringDOMAIN_DEFAULTstatic java.lang.StringDOMAIN_QUEUEstatic java.lang.StringDOMAIN_TOPICstatic java.lang.StringINTERACT_RETRY_INTERVALKey for properties used in thecreateConnectormethod.static java.lang.StringJMS_APPLICATION_MSG_PROPSA property that carries a Map of application-specific properties to be added to the JMS messages when issued.static java.lang.StringJMS_CORRELATION_IDKey for properties used in thesendandcallmethods.static java.lang.StringJMS_CORRELATION_ID_AS_BYTESKey for properties used in thesendandcallmethods.static java.lang.StringJMS_PROPERTY_PREFIXstatic java.lang.StringJMS_TYPEKey for properties used in thesendandcallmethods.static java.lang.StringJMS_URLstatic java.lang.StringJNDI_VENDOR_IDstatic java.lang.StringMESSAGE_SELECTORKey for properties used in theregisterListenermethod.static java.lang.StringMIN_TIMEOUT_TIMEKey for properties used in thecreateConnectormethod.static java.lang.StringNO_LOCALKey for properties used in theregisterListenermethod.static java.lang.StringNUM_RETRIESKey for properties used in thecreateConnectormethod.static java.lang.StringNUM_SESSIONSKey for properties used in thecreateConnectormethod.static java.lang.StringPRIORITYKey for properties used in thesendandcallmethods.static java.lang.StringPROTOCOLstatic java.lang.StringSUBSCRIPTION_NAMESpecifies the name of a durable subscription Key for properties used in theregisterListenermethod.static java.lang.StringTIME_TO_LIVEKey for properties used in thesendandcallmethods.static java.lang.StringTIMEOUT_TIMEKey for properties used in thecreateConnectormethod.static java.lang.StringUNSUBSCRIBEKey for properties used in theregisterListenermethod.static java.lang.StringVENDORstatic java.lang.StringVENDOR_ADAPTERstatic java.lang.StringWAIT_FOR_RESPONSEThis is used as a key in the Call properties telling the JMS transport to wait for a response from the service.
-
-
-
Field Detail
-
PROTOCOL
static final java.lang.String PROTOCOL
- See Also:
- Constant Field Values
-
_WAIT_FOR_RESPONSE
static final java.lang.String _WAIT_FOR_RESPONSE
- See Also:
- Constant Field Values
-
_CLIENT_ID
static final java.lang.String _CLIENT_ID
- See Also:
- Constant Field Values
-
_VENDOR
static final java.lang.String _VENDOR
- See Also:
- Constant Field Values
-
_DOMAIN
static final java.lang.String _DOMAIN
- See Also:
- Constant Field Values
-
_JMS_CORRELATION_ID
static final java.lang.String _JMS_CORRELATION_ID
- See Also:
- Constant Field Values
-
_JMS_CORRELATION_ID_AS_BYTES
static final java.lang.String _JMS_CORRELATION_ID_AS_BYTES
- See Also:
- Constant Field Values
-
_JMS_TYPE
static final java.lang.String _JMS_TYPE
- See Also:
- Constant Field Values
-
_TIME_TO_LIVE
static final java.lang.String _TIME_TO_LIVE
- See Also:
- Constant Field Values
-
_PRIORITY
static final java.lang.String _PRIORITY
- See Also:
- Constant Field Values
-
_DELIVERY_MODE
static final java.lang.String _DELIVERY_MODE
- See Also:
- Constant Field Values
-
_MESSAGE_SELECTOR
static final java.lang.String _MESSAGE_SELECTOR
- See Also:
- Constant Field Values
-
_ACKNOWLEDGE_MODE
static final java.lang.String _ACKNOWLEDGE_MODE
- See Also:
- Constant Field Values
-
_SUBSCRIPTION_NAME
static final java.lang.String _SUBSCRIPTION_NAME
- See Also:
- Constant Field Values
-
_UNSUBSCRIBE
static final java.lang.String _UNSUBSCRIBE
- See Also:
- Constant Field Values
-
_NO_LOCAL
static final java.lang.String _NO_LOCAL
- See Also:
- Constant Field Values
-
_NUM_RETRIES
static final java.lang.String _NUM_RETRIES
- See Also:
- Constant Field Values
-
_NUM_SESSIONS
static final java.lang.String _NUM_SESSIONS
- 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
-
_TIMEOUT_TIME
static final java.lang.String _TIMEOUT_TIME
- See Also:
- Constant Field Values
-
_MIN_TIMEOUT_TIME
static final java.lang.String _MIN_TIMEOUT_TIME
- 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
-
JMS_PROPERTY_PREFIX
static final java.lang.String JMS_PROPERTY_PREFIX
- 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 ajava.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
JMSConnectorFactoryparameter valid for either domain. This should be used as a key in the environment map passed into calls tocreateConnectorinJMSConnectorFactoryThis 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:
- Constant Field Values
-
DESTINATION
static final java.lang.String DESTINATION
- See Also:
- Constant Field Values
-
VENDOR
static final java.lang.String VENDOR
- See Also:
- Constant Field Values
-
JNDI_VENDOR_ID
static final java.lang.String JNDI_VENDOR_ID
- See Also:
- Constant Field Values
-
DOMAIN
static final java.lang.String DOMAIN
- See Also:
- Constant Field Values
-
DOMAIN_QUEUE
static final java.lang.String DOMAIN_QUEUE
- See Also:
- Constant Field Values
-
DOMAIN_TOPIC
static final java.lang.String DOMAIN_TOPIC
- See Also:
- Constant Field Values
-
DOMAIN_DEFAULT
static final java.lang.String DOMAIN_DEFAULT
- See Also:
- Constant Field Values
-
JMS_CORRELATION_ID
static final java.lang.String JMS_CORRELATION_ID
Key for properties used in thesendandcallmethods. 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:
- Constant Field Values
-
JMS_CORRELATION_ID_AS_BYTES
static final java.lang.String JMS_CORRELATION_ID_AS_BYTES
Key for properties used in thesendandcallmethods. It is valid for either domain. The value must be abyte[]. 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 thesendandcallmethods. 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:
- Constant Field Values
-
TIME_TO_LIVE
static final java.lang.String TIME_TO_LIVE
Key for properties used in thesendandcallmethods. 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:
- Constant Field Values
-
PRIORITY
static final java.lang.String PRIORITY
Key for properties used in thesendandcallmethods. 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:
- Constant Field Values
-
DELIVERY_MODE
static final java.lang.String DELIVERY_MODE
Key for properties used in thesendandcallmethods. It is valid for either domain. The value must be ajava.lang.Integerequal 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 theregisterListenermethod. 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:
- Constant Field Values
-
ACKNOWLEDGE_MODE
static final java.lang.String ACKNOWLEDGE_MODE
Key for properties used in theregisterListenermethod. It is valid for either domain. The value must be ajava.lang.Integerthat 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 theregisterListenermethod. It is valid for the PubSub domain. The value must be ajava.lang.String.- See Also:
- Constant Field Values
-
UNSUBSCRIBE
static final java.lang.String UNSUBSCRIBE
Key for properties used in theregisterListenermethod. 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:
- Constant Field Values
-
NO_LOCAL
static final java.lang.String NO_LOCAL
Key for properties used in theregisterListenermethod. It is valid for the PubSub domain. The value must be ajava.lang.Boolean.- See Also:
- Constant Field Values
-
DEFAULT_NO_LOCAL
static final boolean DEFAULT_NO_LOCAL
- See Also:
- Constant Field Values
-
DEFAULT_UNSUBSCRIBE
static final boolean DEFAULT_UNSUBSCRIBE
- See Also:
- Constant Field Values
-
NUM_RETRIES
static final java.lang.String NUM_RETRIES
Key for properties used in thecreateConnectormethod. It changes the behavior of the wsclient. The value must be ajava.lang.Integer.- See Also:
- Constant Field Values
-
NUM_SESSIONS
static final java.lang.String NUM_SESSIONS
Key for properties used in thecreateConnectormethod. It changes the behavior of the wsclient. The value must be ajava.lang.Integer.- See Also:
- Constant Field Values
-
CONNECT_RETRY_INTERVAL
static final java.lang.String CONNECT_RETRY_INTERVAL
Key for properties used in thecreateConnectormethod. It changes the behavior of the wsclient. The value must be ajava.lang.Long.- See Also:
- Constant Field Values
-
INTERACT_RETRY_INTERVAL
static final java.lang.String INTERACT_RETRY_INTERVAL
Key for properties used in thecreateConnectormethod. It changes the behavior of the wsclient. The value must be ajava.lang.Long.- See Also:
- Constant Field Values
-
TIMEOUT_TIME
static final java.lang.String TIMEOUT_TIME
Key for properties used in thecreateConnectormethod. It changes the behavior of the wsclient. The value must be ajava.lang.Long.- See Also:
- Constant Field Values
-
MIN_TIMEOUT_TIME
static final java.lang.String MIN_TIMEOUT_TIME
Key for properties used in thecreateConnectormethod. It changes the behavior of the wsclient. The value must be ajava.lang.Long.- See Also:
- Constant Field Values
-
DEFAULT_NUM_RETRIES
static final int DEFAULT_NUM_RETRIES
- See Also:
- Constant Field Values
-
DEFAULT_NUM_SESSIONS
static final int DEFAULT_NUM_SESSIONS
- See Also:
- Constant Field Values
-
DEFAULT_CONNECT_RETRY_INTERVAL
static final long DEFAULT_CONNECT_RETRY_INTERVAL
- See Also:
- Constant Field Values
-
DEFAULT_TIMEOUT_TIME
static final long DEFAULT_TIMEOUT_TIME
- See Also:
- Constant Field Values
-
DEFAULT_MIN_TIMEOUT_TIME
static final long DEFAULT_MIN_TIMEOUT_TIME
- See Also:
- Constant Field Values
-
DEFAULT_INTERACT_RETRY_INTERVAL
static final long DEFAULT_INTERACT_RETRY_INTERVAL
- See Also:
- Constant Field Values
-
CONNECTOR
static final java.lang.String CONNECTOR
- See Also:
- Constant Field Values
-
VENDOR_ADAPTER
static final java.lang.String VENDOR_ADAPTER
- See Also:
- Constant Field Values
-
JMS_URL
static final java.lang.String JMS_URL
- 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
-
ADAPTER_POSTFIX
static final java.lang.String ADAPTER_POSTFIX
- See Also:
- Constant Field Values
-
-