| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis.components.jms.JMSVendorAdapter
org.apache.axis.components.jms.BeanVendorAdapter
org.apache.axis.components.jms.SonicMQVendorAdapter
Defines SonicMQ specific constants for connnection factory creation. Overrides methods in BeanVendorAdapter to fill in MQ classnames
| Field Summary | |
| static java.lang.String | BROKER_URLSonicConnectionFactoryparameter valid for either domain. | 
| static java.lang.String | CONNECT_IDSonicConnectionFactoryparameter valid for either domain. | 
| static java.lang.String | CONNECTION_URLSSonicConnectionFactoryparameter valid for either domain. | 
| static java.lang.String | DEFAULT_PASSWORDSonicConnectionFactoryparameter valid for either domain. | 
| static java.lang.String | DEFAULT_USERNAMESonicConnectionFactoryparameter valid for either domains. | 
| static java.lang.String | LOAD_BALANCINGSonicConnectionFactoryparameter valid for either domain. | 
| static java.lang.String | MONITOR_INTERVALSonicConnectionFactoryparameter valid for either domain. | 
| static java.lang.String | PERSISTENT_DELIVERYSonicConnectionFactoryparameter valid for either domain. | 
| static java.lang.String | PING_INTERVALSonicConnectionFactoryparameter valid for either domain. | 
| static java.lang.String | PREFETCH_COUNTSonicConnectionFactoryparameter valid for the PTP domain. | 
| static java.lang.String | PREFETCH_THRESHOLDSonicConnectionFactoryparameter valid for the PTP domain. | 
| static java.lang.String | RECONNECT_INTERVALSonicConnectionFactoryparameter valid for either domain. | 
| static java.lang.String | RECONNECT_TIMEOUTSonicConnectionFactoryparameter valid for either domain. | 
| static java.lang.String | SELECTOR_AT_BROKERSonicConnectionFactoryparameter valid for the PubSub domain. | 
| static java.lang.String | SEQUENTIALSonicConnectionFactoryparameter valid for either domain. | 
| Fields inherited from class org.apache.axis.components.jms.BeanVendorAdapter | 
| CONNECTION_FACTORY_CLASS | 
| Fields inherited from class org.apache.axis.components.jms.JMSVendorAdapter | 
| CONNECT_ACTION, ON_EXCEPTION_ACTION, RECEIVE_ACTION, SEND_ACTION, SUBSCRIBE_ACTION | 
| Constructor Summary | |
| SonicMQVendorAdapter() | |
| Method Summary | |
|  void | addVendorConnectionFactoryProperties(JMSURLHelper jmsurl,
                                     java.util.HashMap cfProps)Extract Sonic-specific properties from the JMS URL | 
|  javax.jms.QueueConnectionFactory | getQueueConnectionFactory(java.util.HashMap cfConfig) | 
|  javax.jms.TopicConnectionFactory | getTopicConnectionFactory(java.util.HashMap cfConfig) | 
|  boolean | isConnectionDropped(javax.jms.JMSException jmse) | 
|  boolean | isMatchingConnectionFactory(javax.jms.ConnectionFactory cf,
                            JMSURLHelper jmsurl,
                            java.util.HashMap cfProps)Check that the attributes of the candidate connection factory match the requested connection factory properties. | 
|  boolean | isRecoverable(java.lang.Throwable thrown,
              int action) | 
| Methods inherited from class org.apache.axis.components.jms.JMSVendorAdapter | 
| getJMSConnectionFactoryProperties, getJMSConnectorProperties, getQueue, getTopic, getVendorId, setProperties, setupApplicationProperties, setupMessageContext | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final java.lang.String BROKER_URL
SonicConnectionFactory 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.
 The value must be a java.lang.String
 See the SonicMQ documentation for information on this property
public static final java.lang.String DEFAULT_USERNAME
SonicConnectionFactory parameter valid for either domains.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 This is a required property for secure brokers.
 The value must be a java.lang.String
 See the SonicMQ documentation for information on this property
public static final java.lang.String DEFAULT_PASSWORD
SonicConnectionFactory 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 secure brokers.
 The value must be a java.lang.String
 See the SonicMQ documentation for information on this property
public static final java.lang.String PING_INTERVAL
SonicConnectionFactory parameter valid for either domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.Long
 See the SonicMQ documentation for information on this property
public static final java.lang.String RECONNECT_INTERVAL
SonicConnectionFactory parameter valid for either domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.Integer
 See the SonicMQ documentation for information on this property
public static final java.lang.String RECONNECT_TIMEOUT
SonicConnectionFactory parameter valid for either domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.Integer
 See the SonicMQ documentation for information on this property
public static final java.lang.String CONNECT_ID
SonicConnectionFactory parameter valid for either domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.String
 See the SonicMQ documentation for information on this property
public static final java.lang.String CONNECTION_URLS
SonicConnectionFactory parameter valid for either domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.String
 See the SonicMQ documentation for information on this property
public static final java.lang.String LOAD_BALANCING
SonicConnectionFactory parameter valid for either domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.Boolean
 See the SonicMQ documentation for information on this property
public static final java.lang.String MONITOR_INTERVAL
SonicConnectionFactory parameter valid for either domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.Long
 See the SonicMQ documentation for information on this property
public static final java.lang.String PERSISTENT_DELIVERY
SonicConnectionFactory parameter valid for either domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.Boolean
 See the SonicMQ documentation for information on this property
public static final java.lang.String SEQUENTIAL
SonicConnectionFactory parameter valid for either domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.Boolean
 See the SonicMQ documentation for information on this property
public static final java.lang.String PREFETCH_COUNT
SonicConnectionFactory parameter valid for the PTP domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.Integer
 See the SonicMQ documentation for information on this property
public static final java.lang.String PREFETCH_THRESHOLD
SonicConnectionFactory parameter valid for the PTP domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.Integer
 See the SonicMQ documentation for information on this property
public static final java.lang.String SELECTOR_AT_BROKER
SonicConnectionFactory parameter valid for the PubSub domain.  This should
 be used as a key in the environment map passed into calls to
 createConnector in JMSConnectorFactory
 The value must be a java.lang.Boolean
 See the SonicMQ documentation for information on this property
| Constructor Detail | 
public SonicMQVendorAdapter()
| Method Detail | 
public javax.jms.QueueConnectionFactory getQueueConnectionFactory(java.util.HashMap cfConfig)
                                                           throws java.lang.Exception
getQueueConnectionFactory in class BeanVendorAdapterjava.lang.Exception
public javax.jms.TopicConnectionFactory getTopicConnectionFactory(java.util.HashMap cfConfig)
                                                           throws java.lang.Exception
getTopicConnectionFactory in class BeanVendorAdapterjava.lang.Exception
public void addVendorConnectionFactoryProperties(JMSURLHelper jmsurl,
                                                 java.util.HashMap cfProps)
addVendorConnectionFactoryProperties in class JMSVendorAdapterjmsurl - The JMS URL representing the target endpoint addresscfProps - The set of connection factory configuration properties
public boolean isMatchingConnectionFactory(javax.jms.ConnectionFactory cf,
                                           JMSURLHelper jmsurl,
                                           java.util.HashMap cfProps)
isMatchingConnectionFactory in class JMSVendorAdaptercf - the candidate connection factoryjmsurl - the JMS URL associated with the candidate connection factorycfProps - the properties associated with the current request
public boolean isRecoverable(java.lang.Throwable thrown,
                             int action)
isRecoverable in class JMSVendorAdapterpublic boolean isConnectionDropped(javax.jms.JMSException jmse)
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||