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 java.lang.String _ACKNOWLEDGE_MODE
           
static java.lang.String _CLIENT_ID
           
static java.lang.String _CONNECT_RETRY_INTERVAL
           
static java.lang.String _DELIVERY_MODE
           
static java.lang.String _DOMAIN
           
static java.lang.String _INTERACT_RETRY_INTERVAL
           
static java.lang.String _JMS_CORRELATION_ID
           
static java.lang.String _JMS_CORRELATION_ID_AS_BYTES
           
static java.lang.String _JMS_TYPE
           
static java.lang.String _MESSAGE_SELECTOR
           
static java.lang.String _MIN_TIMEOUT_TIME
           
static java.lang.String _NO_LOCAL
           
static java.lang.String _NUM_RETRIES
           
static java.lang.String _NUM_SESSIONS
           
static java.lang.String _PRIORITY
           
static java.lang.String _SUBSCRIPTION_NAME
           
static java.lang.String _TIME_TO_LIVE
           
static java.lang.String _TIMEOUT_TIME
           
static java.lang.String _UNSUBSCRIBE
           
static java.lang.String _VENDOR
           
static java.lang.String _WAIT_FOR_RESPONSE
           
static java.lang.String ACKNOWLEDGE_MODE
          Key for properties used in the registerListener method.
static java.lang.String ADAPTER_POSTFIX
           
static java.lang.String CLIENT_ID
          JMSConnectorFactory parameter valid for either domain.
static java.lang.String CONNECT_RETRY_INTERVAL
          Key for properties used in the createConnector method.
static java.lang.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 java.lang.String DELIVERY_MODE
          Key for properties used in the send and call methods.
static java.lang.String DELIVERY_MODE_DISCARDABLE
           
static java.lang.String DELIVERY_MODE_NONPERSISTENT
           
static java.lang.String DELIVERY_MODE_PERSISTENT
           
static java.lang.String DESTINATION
           
static java.lang.String DOMAIN
           
static java.lang.String DOMAIN_DEFAULT
           
static java.lang.String DOMAIN_QUEUE
           
static java.lang.String DOMAIN_TOPIC
           
static java.lang.String INTERACT_RETRY_INTERVAL
          Key for properties used in the createConnector method.
static java.lang.String JMS_CORRELATION_ID
          Key for properties used in the send and call methods.
static java.lang.String JMS_CORRELATION_ID_AS_BYTES
          Key for properties used in the send and call methods.
static java.lang.String JMS_PROPERTY_PREFIX
           
static java.lang.String JMS_TYPE
          Key for properties used in the send and call methods.
static java.lang.String JMS_URL
           
static java.lang.String JNDI_VENDOR_ID
           
static java.lang.String MESSAGE_SELECTOR
          Key for properties used in the registerListener method.
static java.lang.String MIN_TIMEOUT_TIME
          Key for properties used in the createConnector method.
static java.lang.String NO_LOCAL
          Key for properties used in the registerListener method.
static java.lang.String NUM_RETRIES
          Key for properties used in the createConnector method.
static java.lang.String NUM_SESSIONS
          Key for properties used in the createConnector method.
static java.lang.String PRIORITY
          Key for properties used in the send and call methods.
static java.lang.String PROTOCOL
           
static java.lang.String SUBSCRIPTION_NAME
          Specifies the name of a durable subscription Key for properties used in the registerListener method.
static java.lang.String TIME_TO_LIVE
          Key for properties used in the send and call methods.
static java.lang.String TIMEOUT_TIME
          Key for properties used in the createConnector method.
static java.lang.String UNSUBSCRIBE
          Key for properties used in the registerListener method.
static java.lang.String VENDOR
           
static java.lang.String VENDOR_ADAPTER
           
static 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.
 

Field Detail

PROTOCOL

public static final java.lang.String PROTOCOL

_WAIT_FOR_RESPONSE

public static final java.lang.String _WAIT_FOR_RESPONSE

_CLIENT_ID

public static final java.lang.String _CLIENT_ID

_VENDOR

public static final java.lang.String _VENDOR

_DOMAIN

public static final java.lang.String _DOMAIN

_JMS_CORRELATION_ID

public static final java.lang.String _JMS_CORRELATION_ID

_JMS_CORRELATION_ID_AS_BYTES

public static final java.lang.String _JMS_CORRELATION_ID_AS_BYTES

_JMS_TYPE

public static final java.lang.String _JMS_TYPE

_TIME_TO_LIVE

public static final java.lang.String _TIME_TO_LIVE

_PRIORITY

public static final java.lang.String _PRIORITY

_DELIVERY_MODE

public static final java.lang.String _DELIVERY_MODE

_MESSAGE_SELECTOR

public static final java.lang.String _MESSAGE_SELECTOR

_ACKNOWLEDGE_MODE

public static final java.lang.String _ACKNOWLEDGE_MODE

_SUBSCRIPTION_NAME

public static final java.lang.String _SUBSCRIPTION_NAME

_UNSUBSCRIBE

public static final java.lang.String _UNSUBSCRIBE

_NO_LOCAL

public static final java.lang.String _NO_LOCAL

_NUM_RETRIES

public static final java.lang.String _NUM_RETRIES

_NUM_SESSIONS

public static final java.lang.String _NUM_SESSIONS

_CONNECT_RETRY_INTERVAL

public static final java.lang.String _CONNECT_RETRY_INTERVAL

_INTERACT_RETRY_INTERVAL

public static final java.lang.String _INTERACT_RETRY_INTERVAL

_TIMEOUT_TIME

public static final java.lang.String _TIMEOUT_TIME

_MIN_TIMEOUT_TIME

public static final java.lang.String _MIN_TIMEOUT_TIME

JMS_PROPERTY_PREFIX

public static final java.lang.String JMS_PROPERTY_PREFIX

WAIT_FOR_RESPONSE

public 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 a java.lang.Boolean. See the javax.jms javadoc for information on this property.

CLIENT_ID

public static final java.lang.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.

DESTINATION

public static final java.lang.String DESTINATION

VENDOR

public static final java.lang.String VENDOR

JNDI_VENDOR_ID

public static final java.lang.String JNDI_VENDOR_ID

DOMAIN

public static final java.lang.String DOMAIN

DOMAIN_QUEUE

public static final java.lang.String DOMAIN_QUEUE

DOMAIN_TOPIC

public static final java.lang.String DOMAIN_TOPIC

DOMAIN_DEFAULT

public static final java.lang.String DOMAIN_DEFAULT

JMS_CORRELATION_ID

public static final java.lang.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 java.lang.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_TYPE

public static final java.lang.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.

TIME_TO_LIVE

public static final java.lang.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.

PRIORITY

public static final java.lang.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.

DELIVERY_MODE

public static final java.lang.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_PERSISTENT

public static final java.lang.String DELIVERY_MODE_PERSISTENT

DELIVERY_MODE_NONPERSISTENT

public static final java.lang.String DELIVERY_MODE_NONPERSISTENT

DELIVERY_MODE_DISCARDABLE

public static final java.lang.String DELIVERY_MODE_DISCARDABLE

DEFAULT_DELIVERY_MODE

public static final int DEFAULT_DELIVERY_MODE

DEFAULT_PRIORITY

public static final int DEFAULT_PRIORITY

DEFAULT_TIME_TO_LIVE

public static final long DEFAULT_TIME_TO_LIVE

MESSAGE_SELECTOR

public static final java.lang.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.

ACKNOWLEDGE_MODE

public static final java.lang.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.

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.

SUBSCRIPTION_NAME

public static final java.lang.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.

UNSUBSCRIBE

public static final java.lang.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.

NO_LOCAL

public static final java.lang.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.

DEFAULT_NO_LOCAL

public static final boolean DEFAULT_NO_LOCAL

DEFAULT_UNSUBSCRIBE

public static final boolean DEFAULT_UNSUBSCRIBE

NUM_RETRIES

public static final java.lang.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 java.lang.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.

CONNECT_RETRY_INTERVAL

public static final java.lang.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.

INTERACT_RETRY_INTERVAL

public static final java.lang.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.

TIMEOUT_TIME

public static final java.lang.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.

MIN_TIMEOUT_TIME

public static final java.lang.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.

DEFAULT_NUM_RETRIES

public static final int DEFAULT_NUM_RETRIES

DEFAULT_NUM_SESSIONS

public static final int DEFAULT_NUM_SESSIONS

DEFAULT_CONNECT_RETRY_INTERVAL

public static final long DEFAULT_CONNECT_RETRY_INTERVAL

DEFAULT_TIMEOUT_TIME

public static final long DEFAULT_TIMEOUT_TIME

DEFAULT_MIN_TIMEOUT_TIME

public static final long DEFAULT_MIN_TIMEOUT_TIME

DEFAULT_INTERACT_RETRY_INTERVAL

public static final long DEFAULT_INTERACT_RETRY_INTERVAL

CONNECTOR

public static final java.lang.String CONNECTOR

VENDOR_ADAPTER

public static final java.lang.String VENDOR_ADAPTER

JMS_URL

public static final java.lang.String JMS_URL

ADAPTER_POSTFIX

public static final java.lang.String ADAPTER_POSTFIX


Copyright © 2003 Apache Web Services Project. All Rights Reserved.