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
|
javax.jms.Queue |
getQueue(javax.jms.QueueSession session,
java.lang.String name) |
javax.jms.QueueConnectionFactory |
getQueueConnectionFactory(java.util.HashMap cfConfig) |
javax.jms.Topic |
getTopic(javax.jms.TopicSession session,
java.lang.String name) |
javax.jms.TopicConnectionFactory |
getTopicConnectionFactory(java.util.HashMap cfConfig) |
boolean |
isMatchingConnectionFactory(javax.jms.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, setupMessageContext
public 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 javax.jms.QueueConnectionFactory getQueueConnectionFactory(java.util.HashMap cfConfig) throws java.lang.Exception
getQueueConnectionFactory
in class JMSVendorAdapter
java.lang.Exception
public javax.jms.TopicConnectionFactory getTopicConnectionFactory(java.util.HashMap cfConfig) throws java.lang.Exception
getTopicConnectionFactory
in class JMSVendorAdapter
java.lang.Exception
public void addVendorConnectionFactoryProperties(JMSURLHelper jmsurl, java.util.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(javax.jms.ConnectionFactory cf, JMSURLHelper originalJMSURL, java.util.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 javax.jms.Queue getQueue(javax.jms.QueueSession session, java.lang.String name) throws java.lang.Exception
getQueue
in class JMSVendorAdapter
java.lang.Exception
public javax.jms.Topic getTopic(javax.jms.TopicSession session, java.lang.String name) throws java.lang.Exception
getTopic
in class JMSVendorAdapter
java.lang.Exception