org.mule.providers.jms
Class Jms102bSupport
java.lang.Object
org.mule.providers.jms.Jms11Support
org.mule.providers.jms.Jms102bSupport
- All Implemented Interfaces:
- JmsSupport
- Direct Known Subclasses:
- OracleJmsSupport
- public class Jms102bSupport
- extends Jms11Support
Jms102bSupport is a template class to provide an abstraction to the
JMS 1.0.2b API specification.
|
Method Summary |
Connection |
createConnection(ConnectionFactory connectionFactory)
|
Connection |
createConnection(ConnectionFactory connectionFactory,
String username,
String password)
|
MessageConsumer |
createConsumer(Session session,
Destination destination,
String messageSelector,
boolean noLocal,
String durableName,
boolean topic)
|
Destination |
createDestination(Session session,
String name,
boolean topic)
|
MessageProducer |
createProducer(Session session,
Destination dest,
boolean topic)
|
Session |
createSession(Connection connection,
boolean topic,
boolean transacted,
int ackMode,
boolean noLocal)
|
void |
send(MessageProducer producer,
Message message,
boolean persistent,
int priority,
long ttl,
boolean topic)
|
void |
send(MessageProducer producer,
Message message,
Destination dest,
boolean persistent,
int priority,
long ttl,
boolean topic)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jms102bSupport
public Jms102bSupport(JmsConnector connector,
Context context,
boolean jndiDestinations,
boolean forceJndiDestinations)
createConnection
public Connection createConnection(ConnectionFactory connectionFactory,
String username,
String password)
throws JMSException
- Specified by:
createConnection in interface JmsSupport- Overrides:
createConnection in class Jms11Support
- Throws:
JMSException
createConnection
public Connection createConnection(ConnectionFactory connectionFactory)
throws JMSException
- Specified by:
createConnection in interface JmsSupport- Overrides:
createConnection in class Jms11Support
- Throws:
JMSException
createSession
public Session createSession(Connection connection,
boolean topic,
boolean transacted,
int ackMode,
boolean noLocal)
throws JMSException
- Specified by:
createSession in interface JmsSupport- Overrides:
createSession in class Jms11Support
- Throws:
JMSException
createConsumer
public MessageConsumer createConsumer(Session session,
Destination destination,
String messageSelector,
boolean noLocal,
String durableName,
boolean topic)
throws JMSException
- Specified by:
createConsumer in interface JmsSupport- Overrides:
createConsumer in class Jms11Support
- Throws:
JMSException
createProducer
public MessageProducer createProducer(Session session,
Destination dest,
boolean topic)
throws JMSException
- Specified by:
createProducer in interface JmsSupport- Overrides:
createProducer in class Jms11Support
- Throws:
JMSException
createDestination
public Destination createDestination(Session session,
String name,
boolean topic)
throws JMSException
- Specified by:
createDestination in interface JmsSupport- Overrides:
createDestination in class Jms11Support
- Throws:
JMSException
send
public void send(MessageProducer producer,
Message message,
boolean persistent,
int priority,
long ttl,
boolean topic)
throws JMSException
- Specified by:
send in interface JmsSupport- Overrides:
send in class Jms11Support
- Throws:
JMSException
send
public void send(MessageProducer producer,
Message message,
Destination dest,
boolean persistent,
int priority,
long ttl,
boolean topic)
throws JMSException
- Specified by:
send in interface JmsSupport- Overrides:
send in class Jms11Support
- Throws:
JMSException
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.