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
static StringACKNOWLEDGE_MODE
Key for properties used in the registerListener method.
static StringADAPTER_POSTFIX
static StringCLIENT_ID
JMSConnectorFactory parameter valid for either domain.
static StringCONNECTOR
static StringCONNECT_RETRY_INTERVAL
Key for properties used in the createConnector method.
static intDEFAULT_ACKNOWLEDGE_MODE
value for ACKNOWLEDGE_MODE if left unset.
static longDEFAULT_CONNECT_RETRY_INTERVAL
static intDEFAULT_DELIVERY_MODE
static longDEFAULT_INTERACT_RETRY_INTERVAL
static longDEFAULT_MIN_TIMEOUT_TIME
static booleanDEFAULT_NO_LOCAL
static intDEFAULT_NUM_RETRIES
static intDEFAULT_NUM_SESSIONS
static intDEFAULT_PRIORITY
static longDEFAULT_TIMEOUT_TIME
static longDEFAULT_TIME_TO_LIVE
static booleanDEFAULT_UNSUBSCRIBE
static StringDELIVERY_MODE
Key for properties used in the send and call methods.
static StringDELIVERY_MODE_DISCARDABLE
static StringDELIVERY_MODE_NONPERSISTENT
static StringDELIVERY_MODE_PERSISTENT
static StringDESTINATION
static StringDOMAIN
static StringDOMAIN_DEFAULT
static StringDOMAIN_QUEUE
static StringDOMAIN_TOPIC
static StringINTERACT_RETRY_INTERVAL
Key for properties used in the createConnector method.
static StringJMS_APPLICATION_MSG_PROPS
A property that carries a Map of application-specific properties to be added to the JMS messages when issued.
static StringJMS_CORRELATION_ID
Key for properties used in the send and call methods.
static StringJMS_CORRELATION_ID_AS_BYTES
Key for properties used in the send and call methods.
static StringJMS_PROPERTY_PREFIX
static StringJMS_TYPE
Key for properties used in the send and call methods.
static StringJMS_URL
static StringJNDI_VENDOR_ID
static StringMESSAGE_SELECTOR
Key for properties used in the registerListener method.
static StringMIN_TIMEOUT_TIME
Key for properties used in the createConnector method.
static StringNO_LOCAL
Key for properties used in the registerListener method.
static StringNUM_RETRIES
Key for properties used in the createConnector method.
static StringNUM_SESSIONS
Key for properties used in the createConnector method.
static StringPRIORITY
Key for properties used in the send and call methods.
static StringPROTOCOL
static StringSUBSCRIPTION_NAME
Specifies the name of a durable subscription Key for properties used in the registerListener method.
static StringTIMEOUT_TIME
Key for properties used in the createConnector method.
static StringTIME_TO_LIVE
Key for properties used in the send and call methods.
static StringUNSUBSCRIBE
Key for properties used in the registerListener method.
static StringVENDOR
static StringVENDOR_ADAPTER
static StringWAIT_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 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_TIMEOUT_TIME
static String_TIME_TO_LIVE
static String_UNSUBSCRIBE
static String_VENDOR
static String_WAIT_FOR_RESPONSE

Field Detail

ACKNOWLEDGE_MODE

public 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.

ADAPTER_POSTFIX

public static final String ADAPTER_POSTFIX

CLIENT_ID

public 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.

CONNECTOR

public static final String CONNECTOR

CONNECT_RETRY_INTERVAL

public 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.

DEFAULT_ACKNOWLEDGE_MODE

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

DEFAULT_CONNECT_RETRY_INTERVAL

public static final long DEFAULT_CONNECT_RETRY_INTERVAL

DEFAULT_DELIVERY_MODE

public static final int DEFAULT_DELIVERY_MODE

DEFAULT_INTERACT_RETRY_INTERVAL

public static final long DEFAULT_INTERACT_RETRY_INTERVAL

DEFAULT_MIN_TIMEOUT_TIME

public static final long DEFAULT_MIN_TIMEOUT_TIME

DEFAULT_NO_LOCAL

public static final boolean DEFAULT_NO_LOCAL

DEFAULT_NUM_RETRIES

public static final int DEFAULT_NUM_RETRIES

DEFAULT_NUM_SESSIONS

public static final int DEFAULT_NUM_SESSIONS

DEFAULT_PRIORITY

public static final int DEFAULT_PRIORITY

DEFAULT_TIMEOUT_TIME

public static final long DEFAULT_TIMEOUT_TIME

DEFAULT_TIME_TO_LIVE

public static final long DEFAULT_TIME_TO_LIVE

DEFAULT_UNSUBSCRIBE

public static final boolean DEFAULT_UNSUBSCRIBE

DELIVERY_MODE

public 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.

DELIVERY_MODE_DISCARDABLE

public static final String DELIVERY_MODE_DISCARDABLE

DELIVERY_MODE_NONPERSISTENT

public static final String DELIVERY_MODE_NONPERSISTENT

DELIVERY_MODE_PERSISTENT

public static final String DELIVERY_MODE_PERSISTENT

DESTINATION

public static final String DESTINATION

DOMAIN

public static final String DOMAIN

DOMAIN_DEFAULT

public static final String DOMAIN_DEFAULT

DOMAIN_QUEUE

public static final String DOMAIN_QUEUE

DOMAIN_TOPIC

public static final String DOMAIN_TOPIC

INTERACT_RETRY_INTERVAL

public 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.

JMS_APPLICATION_MSG_PROPS

public 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.

JMS_CORRELATION_ID

public 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.

JMS_CORRELATION_ID_AS_BYTES

public 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.

JMS_PROPERTY_PREFIX

public static String JMS_PROPERTY_PREFIX

JMS_TYPE

public 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.

JMS_URL

public static final String JMS_URL

JNDI_VENDOR_ID

public static final String JNDI_VENDOR_ID

MESSAGE_SELECTOR

public 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.

MIN_TIMEOUT_TIME

public 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.

NO_LOCAL

public 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.

NUM_RETRIES

public 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.

NUM_SESSIONS

public 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.

PRIORITY

public 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.

PROTOCOL

public static final String PROTOCOL

SUBSCRIPTION_NAME

public 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.

TIMEOUT_TIME

public 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.

TIME_TO_LIVE

public 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.

UNSUBSCRIBE

public 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.

VENDOR

public static final String VENDOR

VENDOR_ADAPTER

public static final String VENDOR_ADAPTER

WAIT_FOR_RESPONSE

public 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.

_ACKNOWLEDGE_MODE

public static final String _ACKNOWLEDGE_MODE

_CLIENT_ID

public static final String _CLIENT_ID

_CONNECT_RETRY_INTERVAL

public static final String _CONNECT_RETRY_INTERVAL

_DELIVERY_MODE

public static final String _DELIVERY_MODE

_DOMAIN

public static final String _DOMAIN

_INTERACT_RETRY_INTERVAL

public static final String _INTERACT_RETRY_INTERVAL

_JMS_CORRELATION_ID

public static final String _JMS_CORRELATION_ID

_JMS_CORRELATION_ID_AS_BYTES

public static final String _JMS_CORRELATION_ID_AS_BYTES

_JMS_TYPE

public static final String _JMS_TYPE

_MESSAGE_SELECTOR

public static final String _MESSAGE_SELECTOR

_MIN_TIMEOUT_TIME

public static final String _MIN_TIMEOUT_TIME

_MSG_PROP_PREFIX

public 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.

_NO_LOCAL

public static final String _NO_LOCAL

_NUM_RETRIES

public static final String _NUM_RETRIES

_NUM_SESSIONS

public static final String _NUM_SESSIONS

_PRIORITY

public static final String _PRIORITY

_SUBSCRIPTION_NAME

public static final String _SUBSCRIPTION_NAME

_TIMEOUT_TIME

public static final String _TIMEOUT_TIME

_TIME_TO_LIVE

public static final String _TIME_TO_LIVE

_UNSUBSCRIBE

public static final String _UNSUBSCRIBE

_VENDOR

public static final String _VENDOR

_WAIT_FOR_RESPONSE

public static final String _WAIT_FOR_RESPONSE
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.