public abstract class JMSVendorAdapter extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CONNECT_ACTION |
static int |
ON_EXCEPTION_ACTION |
static int |
RECEIVE_ACTION |
static int |
SEND_ACTION |
static int |
SUBSCRIBE_ACTION |
Constructor and Description |
---|
JMSVendorAdapter() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addVendorConnectionFactoryProperties(JMSURLHelper jmsurl,
HashMap cfProps) |
HashMap |
getJMSConnectionFactoryProperties(JMSURLHelper jmsurl)
Creates a connection factory property table using values supplied in
the endpoint address
|
HashMap |
getJMSConnectorProperties(JMSURLHelper jmsurl)
Creates a JMS connector property table using values supplied in
the endpoint address.
|
Queue |
getQueue(QueueSession session,
String name) |
abstract QueueConnectionFactory |
getQueueConnectionFactory(HashMap cfProps) |
Topic |
getTopic(TopicSession session,
String name) |
abstract TopicConnectionFactory |
getTopicConnectionFactory(HashMap cfProps) |
String |
getVendorId() |
abstract boolean |
isMatchingConnectionFactory(ConnectionFactory cf,
JMSURLHelper jmsurl,
HashMap cfProps) |
boolean |
isRecoverable(Throwable thrown,
int action) |
void |
setProperties(Message message,
HashMap props) |
void |
setupApplicationProperties(MessageContext context,
Call call,
JMSURLHelper jmsurl) |
void |
setupMessageContext(MessageContext context,
Call call,
JMSURLHelper jmsurl)
Set JMS properties in the message context.
|
public static final int SEND_ACTION
public static final int CONNECT_ACTION
public static final int SUBSCRIBE_ACTION
public static final int RECEIVE_ACTION
public static final int ON_EXCEPTION_ACTION
public abstract QueueConnectionFactory getQueueConnectionFactory(HashMap cfProps) throws Exception
Exception
public abstract TopicConnectionFactory getTopicConnectionFactory(HashMap cfProps) throws Exception
Exception
public abstract void addVendorConnectionFactoryProperties(JMSURLHelper jmsurl, HashMap cfProps)
public abstract boolean isMatchingConnectionFactory(ConnectionFactory cf, JMSURLHelper jmsurl, HashMap cfProps)
public String getVendorId()
public HashMap getJMSConnectorProperties(JMSURLHelper jmsurl)
jmsurl
- the endpoint addresspublic HashMap getJMSConnectionFactoryProperties(JMSURLHelper jmsurl)
jmsurl
- the endpoint addresspublic Queue getQueue(QueueSession session, String name) throws Exception
Exception
public Topic getTopic(TopicSession session, String name) throws Exception
Exception
public boolean isRecoverable(Throwable thrown, int action)
public void setProperties(Message message, HashMap props) throws JMSException
JMSException
public void setupMessageContext(MessageContext context, Call call, JMSURLHelper jmsurl)
public void setupApplicationProperties(MessageContext context, Call call, JMSURLHelper jmsurl)
Copyright © The Apache Software Foundation. All Rights Reserved.