org.mule.transport.jms
Class Jms11Support
java.lang.Object
org.mule.transport.jms.Jms11Support
- All Implemented Interfaces:
- JmsSupport
- Direct Known Subclasses:
- Jms102bSupport
public class Jms11Support
- extends Object
- implements JmsSupport
Jms11Support is a template class to provide an abstraction to to
the JMS 1.1 API specification.
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
- logger used by this class
connector
protected JmsConnector connector
Jms11Support
public Jms11Support(JmsConnector connector)
createConnection
public javax.jms.Connection createConnection(javax.jms.ConnectionFactory connectionFactory,
String username,
String password)
throws javax.jms.JMSException
- Specified by:
createConnection in interface JmsSupport
- Throws:
javax.jms.JMSException
createConnection
public javax.jms.Connection createConnection(javax.jms.ConnectionFactory connectionFactory)
throws javax.jms.JMSException
- Specified by:
createConnection in interface JmsSupport
- Throws:
javax.jms.JMSException
createSession
public javax.jms.Session createSession(javax.jms.Connection connection,
boolean topic,
boolean transacted,
int ackMode,
boolean noLocal)
throws javax.jms.JMSException
- Specified by:
createSession in interface JmsSupport
- Throws:
javax.jms.JMSException
createProducer
public javax.jms.MessageProducer createProducer(javax.jms.Session session,
javax.jms.Destination destination,
boolean topic)
throws javax.jms.JMSException
- Specified by:
createProducer in interface JmsSupport
- Throws:
javax.jms.JMSException
createConsumer
public javax.jms.MessageConsumer createConsumer(javax.jms.Session session,
javax.jms.Destination destination,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
- Specified by:
createConsumer in interface JmsSupport
- Throws:
javax.jms.JMSException
createConsumer
public 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
- Specified by:
createConsumer in interface JmsSupport
- Throws:
javax.jms.JMSException
createDestination
public javax.jms.Destination createDestination(javax.jms.Session session,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
- Specified by:
createDestination in interface JmsSupport
- Throws:
javax.jms.JMSException
createDestination
public javax.jms.Destination createDestination(javax.jms.Session session,
String name,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
- Specified by:
createDestination in interface JmsSupport
- Throws:
javax.jms.JMSException
getJndiDestination
protected javax.jms.Destination getJndiDestination(String name)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createTemporaryDestination
public javax.jms.Destination createTemporaryDestination(javax.jms.Session session,
boolean topic)
throws javax.jms.JMSException
- Specified by:
createTemporaryDestination in interface JmsSupport
- Throws:
javax.jms.JMSException
send
public void send(javax.jms.MessageProducer producer,
javax.jms.Message message,
boolean topic,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws javax.jms.JMSException
- Specified by:
send in interface JmsSupport
- Throws:
javax.jms.JMSException
send
public 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
- Specified by:
send in interface JmsSupport
- Throws:
javax.jms.JMSException
send
public 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
- Specified by:
send in interface JmsSupport
- Throws:
javax.jms.JMSException
send
public 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
- Specified by:
send in interface JmsSupport
- Throws:
javax.jms.JMSException
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.