public class Jms11Support extends Object implements JmsSupport
Jms11Support is a template class to provide an abstraction to to
the JMS 1.1 API specification.| Modifier and Type | Field and Description |
|---|---|
protected JmsConnector |
connector |
protected org.apache.commons.logging.Log |
logger
logger used by this class
|
| Constructor and Description |
|---|
Jms11Support(JmsConnector connector) |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Connection |
createConnection(javax.jms.ConnectionFactory connectionFactory) |
javax.jms.Connection |
createConnection(javax.jms.ConnectionFactory connectionFactory,
String username,
String password) |
javax.jms.MessageConsumer |
createConsumer(javax.jms.Session session,
javax.jms.Destination destination,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint) |
javax.jms.MessageConsumer |
createConsumer(javax.jms.Session session,
javax.jms.Destination destination,
String messageSelector,
boolean noLocal,
String durableName,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint) |
javax.jms.Destination |
createDestination(javax.jms.Session session,
org.mule.api.endpoint.ImmutableEndpoint endpoint) |
javax.jms.Destination |
createDestination(javax.jms.Session session,
String name,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint) |
javax.jms.MessageProducer |
createProducer(javax.jms.Session session,
javax.jms.Destination destination,
boolean topic) |
javax.jms.Session |
createSession(javax.jms.Connection connection,
boolean topic,
boolean transacted,
int ackMode,
boolean noLocal) |
javax.jms.Destination |
createTemporaryDestination(javax.jms.Session session,
boolean topic) |
protected javax.jms.Destination |
getJndiDestination(String name) |
void |
send(javax.jms.MessageProducer producer,
javax.jms.Message message,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint) |
void |
send(javax.jms.MessageProducer producer,
javax.jms.Message message,
boolean persistent,
int priority,
long ttl,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint) |
void |
send(javax.jms.MessageProducer producer,
javax.jms.Message message,
javax.jms.Destination dest,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint) |
void |
send(javax.jms.MessageProducer producer,
javax.jms.Message message,
javax.jms.Destination dest,
boolean persistent,
int priority,
long ttl,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint) |
protected final org.apache.commons.logging.Log logger
protected JmsConnector connector
public Jms11Support(JmsConnector connector)
public javax.jms.Connection createConnection(javax.jms.ConnectionFactory connectionFactory,
String username,
String password)
throws javax.jms.JMSException
createConnection in interface JmsSupportjavax.jms.JMSExceptionpublic javax.jms.Connection createConnection(javax.jms.ConnectionFactory connectionFactory)
throws javax.jms.JMSException
createConnection in interface JmsSupportjavax.jms.JMSExceptionpublic javax.jms.Session createSession(javax.jms.Connection connection,
boolean topic,
boolean transacted,
int ackMode,
boolean noLocal)
throws javax.jms.JMSException
createSession in interface JmsSupportjavax.jms.JMSExceptionpublic javax.jms.MessageProducer createProducer(javax.jms.Session session,
javax.jms.Destination destination,
boolean topic)
throws javax.jms.JMSException
createProducer in interface JmsSupportjavax.jms.JMSExceptionpublic javax.jms.MessageConsumer createConsumer(javax.jms.Session session,
javax.jms.Destination destination,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
createConsumer in interface JmsSupportjavax.jms.JMSExceptionpublic javax.jms.MessageConsumer createConsumer(javax.jms.Session session,
javax.jms.Destination destination,
String messageSelector,
boolean noLocal,
String durableName,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
createConsumer in interface JmsSupportjavax.jms.JMSExceptionpublic javax.jms.Destination createDestination(javax.jms.Session session,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
createDestination in interface JmsSupportjavax.jms.JMSExceptionpublic javax.jms.Destination createDestination(javax.jms.Session session,
String name,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
createDestination in interface JmsSupportjavax.jms.JMSExceptionprotected javax.jms.Destination getJndiDestination(String name) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.Destination createTemporaryDestination(javax.jms.Session session,
boolean topic)
throws javax.jms.JMSException
createTemporaryDestination in interface JmsSupportjavax.jms.JMSExceptionpublic void send(javax.jms.MessageProducer producer,
javax.jms.Message message,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
send in interface JmsSupportjavax.jms.JMSExceptionpublic void send(javax.jms.MessageProducer producer,
javax.jms.Message message,
javax.jms.Destination dest,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
send in interface JmsSupportjavax.jms.JMSExceptionpublic void send(javax.jms.MessageProducer producer,
javax.jms.Message message,
boolean persistent,
int priority,
long ttl,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
send in interface JmsSupportjavax.jms.JMSExceptionpublic void send(javax.jms.MessageProducer producer,
javax.jms.Message message,
javax.jms.Destination dest,
boolean persistent,
int priority,
long ttl,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
send in interface JmsSupportjavax.jms.JMSExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.