public class JNDIVendorAdapter extends JMSVendorAdapter
Modifier and Type | Field and Description |
---|---|
static String |
_CONNECTION_FACTORY_JNDI_NAME |
static String |
CONNECTION_FACTORY_JNDI_NAME |
static String |
CONTEXT_FACTORY |
static 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,
HashMap cfConfig)
Populates the connection factory config table with properties from
the JMS URL query string
|
Queue |
getQueue(QueueSession session,
String name) |
QueueConnectionFactory |
getQueueConnectionFactory(HashMap cfConfig) |
Topic |
getTopic(TopicSession session,
String name) |
TopicConnectionFactory |
getTopicConnectionFactory(HashMap cfConfig) |
boolean |
isMatchingConnectionFactory(ConnectionFactory cf,
JMSURLHelper originalJMSURL,
HashMap cfProps)
Check that the attributes of the candidate connection factory match the
requested connection factory properties.
|
getJMSConnectionFactoryProperties, getJMSConnectorProperties, getVendorId, isRecoverable, setProperties, setupApplicationProperties, setupMessageContext
public static final String CONTEXT_FACTORY
public static final String PROVIDER_URL
public static final String _CONNECTION_FACTORY_JNDI_NAME
public static final String CONNECTION_FACTORY_JNDI_NAME
public QueueConnectionFactory getQueueConnectionFactory(HashMap cfConfig) throws Exception
getQueueConnectionFactory
in class JMSVendorAdapter
Exception
public TopicConnectionFactory getTopicConnectionFactory(HashMap cfConfig) throws Exception
getTopicConnectionFactory
in class JMSVendorAdapter
Exception
public void addVendorConnectionFactoryProperties(JMSURLHelper jmsurl, HashMap cfConfig)
addVendorConnectionFactoryProperties
in class JMSVendorAdapter
jmsurl
- 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, HashMap cfProps)
isMatchingConnectionFactory
in class JMSVendorAdapter
cf
- 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, String name) throws Exception
getQueue
in class JMSVendorAdapter
Exception
public Topic getTopic(TopicSession session, String name) throws Exception
getTopic
in class JMSVendorAdapter
Exception
Copyright © The Apache Software Foundation. All Rights Reserved.