public class JNDIVendorAdapter extends JMSVendorAdapter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_CONNECTION_FACTORY_JNDI_NAME |
static java.lang.String |
CONNECTION_FACTORY_JNDI_NAME |
static java.lang.String |
CONTEXT_FACTORY |
static java.lang.String |
PROVIDER_URL |
CONNECT_ACTION, ON_EXCEPTION_ACTION, RECEIVE_ACTION, SEND_ACTION, SUBSCRIBE_ACTION| Constructor and Description |
|---|
JNDIVendorAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addVendorConnectionFactoryProperties(JMSURLHelper jmsurl,
java.util.HashMap cfConfig)
Populates the connection factory config table with properties from
the JMS URL query string
|
Queue |
getQueue(QueueSession session,
java.lang.String name) |
QueueConnectionFactory |
getQueueConnectionFactory(java.util.HashMap cfConfig) |
Topic |
getTopic(TopicSession session,
java.lang.String name) |
TopicConnectionFactory |
getTopicConnectionFactory(java.util.HashMap cfConfig) |
boolean |
isMatchingConnectionFactory(ConnectionFactory cf,
JMSURLHelper originalJMSURL,
java.util.HashMap cfProps)
Check that the attributes of the candidate connection factory match the
requested connection factory properties.
|
getJMSConnectionFactoryProperties, getJMSConnectorProperties, getVendorId, isRecoverable, setProperties, setupApplicationProperties, setupMessageContextpublic static final java.lang.String CONTEXT_FACTORY
public static final java.lang.String PROVIDER_URL
public static final java.lang.String _CONNECTION_FACTORY_JNDI_NAME
public static final java.lang.String CONNECTION_FACTORY_JNDI_NAME
public QueueConnectionFactory getQueueConnectionFactory(java.util.HashMap cfConfig)
throws java.lang.Exception
getQueueConnectionFactory in class JMSVendorAdapterjava.lang.Exceptionpublic TopicConnectionFactory getTopicConnectionFactory(java.util.HashMap cfConfig)
throws java.lang.Exception
getTopicConnectionFactory in class JMSVendorAdapterjava.lang.Exceptionpublic void addVendorConnectionFactoryProperties(JMSURLHelper jmsurl, java.util.HashMap cfConfig)
addVendorConnectionFactoryProperties in class JMSVendorAdapterjmsurl - The target endpoint address of the Axis callcfConfig - The set of properties necessary to create/configure the connection factorypublic boolean isMatchingConnectionFactory(ConnectionFactory cf,
JMSURLHelper originalJMSURL,
java.util.HashMap cfProps)
isMatchingConnectionFactory in class JMSVendorAdaptercf - the candidate connection factoryoriginalJMSURL - the URL which was used to create the connection factorycfProps - the set of properties that should be used to determine the matchpublic Queue getQueue(QueueSession session,
java.lang.String name)
throws java.lang.Exception
getQueue in class JMSVendorAdapterjava.lang.Exceptionpublic Topic getTopic(TopicSession session,
java.lang.String name)
throws java.lang.Exception
getTopic in class JMSVendorAdapterjava.lang.ExceptionCopyright ? 2005 Apache Web Services Project. All Rights Reserved.