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 java.lang.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,
java.lang.String username,
java.lang.String password)
|
javax.jms.MessageConsumer |
createConsumer(javax.jms.Session session,
javax.jms.Destination destination,
boolean topic,
ImmutableEndpoint endpoint)
|
javax.jms.MessageConsumer |
createConsumer(javax.jms.Session session,
javax.jms.Destination destination,
java.lang.String messageSelector,
boolean noLocal,
java.lang.String durableName,
boolean topic,
ImmutableEndpoint endpoint)
|
javax.jms.Destination |
createDestination(javax.jms.Session session,
ImmutableEndpoint endpoint)
|
javax.jms.Destination |
createDestination(javax.jms.Session session,
java.lang.String name,
boolean topic,
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(java.lang.String name)
|
void |
send(javax.jms.MessageProducer producer,
javax.jms.Message message,
boolean topic,
ImmutableEndpoint endpoint)
|
void |
send(javax.jms.MessageProducer producer,
javax.jms.Message message,
boolean persistent,
int priority,
long ttl,
boolean topic,
ImmutableEndpoint endpoint)
|
void |
send(javax.jms.MessageProducer producer,
javax.jms.Message message,
javax.jms.Destination dest,
boolean topic,
ImmutableEndpoint endpoint)
|
void |
send(javax.jms.MessageProducer producer,
javax.jms.Message message,
javax.jms.Destination dest,
boolean persistent,
int priority,
long ttl,
boolean topic,
ImmutableEndpoint endpoint)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final 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,
java.lang.String username,
java.lang.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,
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,
java.lang.String messageSelector,
boolean noLocal,
java.lang.String durableName,
boolean topic,
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,
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,
java.lang.String name,
boolean topic,
ImmutableEndpoint endpoint)
throws javax.jms.JMSException
- Specified by:
createDestination
in interface JmsSupport
- Throws:
javax.jms.JMSException
getJndiDestination
protected javax.jms.Destination getJndiDestination(java.lang.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,
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,
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,
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,
ImmutableEndpoint endpoint)
throws javax.jms.JMSException
- Specified by:
send
in interface JmsSupport
- Throws:
javax.jms.JMSException
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.