public class Jms102bSupport extends Jms11Support
Jms102bSupport
is a template class to provide an absstraction
to to the Jms 1.0.2b api specification.connector, logger
Constructor and Description |
---|
Jms102bSupport(JmsConnector connector) |
Modifier and Type | Method and Description |
---|---|
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,
ImmutableEndpoint endpoint) |
Destination |
createDestination(Session session,
String name,
boolean topic,
ImmutableEndpoint endpoint) |
MessageProducer |
createProducer(Session session,
Destination dest,
boolean topic) |
Session |
createSession(Connection connection,
boolean topic,
boolean transacted,
int ackMode,
boolean noLocal) |
Destination |
createTemporaryDestination(Session session,
boolean topic) |
boolean |
isCacheJmsSessions()
CachingConnectionFactory only supports JMS 1.1 connection factories currently.
|
void |
send(MessageProducer producer,
Message message,
boolean persistent,
int priority,
long ttl,
boolean topic,
ImmutableEndpoint endpoint) |
void |
send(MessageProducer producer,
Message message,
Destination dest,
boolean persistent,
int priority,
long ttl,
boolean topic,
ImmutableEndpoint endpoint) |
createConsumer, createDestination, getJndiDestination, send, send
public Jms102bSupport(JmsConnector connector)
public boolean isCacheJmsSessions()
isCacheJmsSessions
in interface JmsSupport
isCacheJmsSessions
in class Jms11Support
public Connection createConnection(ConnectionFactory connectionFactory, String username, String password) throws JMSException
createConnection
in interface JmsSupport
createConnection
in class Jms11Support
JMSException
public Connection createConnection(ConnectionFactory connectionFactory) throws JMSException
createConnection
in interface JmsSupport
createConnection
in class Jms11Support
JMSException
public Session createSession(Connection connection, boolean topic, boolean transacted, int ackMode, boolean noLocal) throws JMSException
createSession
in interface JmsSupport
createSession
in class Jms11Support
JMSException
public MessageConsumer createConsumer(Session session, Destination destination, String messageSelector, boolean noLocal, String durableName, boolean topic, ImmutableEndpoint endpoint) throws JMSException
createConsumer
in interface JmsSupport
createConsumer
in class Jms11Support
JMSException
public MessageProducer createProducer(Session session, Destination dest, boolean topic) throws JMSException
createProducer
in interface JmsSupport
createProducer
in class Jms11Support
JMSException
public Destination createDestination(Session session, String name, boolean topic, ImmutableEndpoint endpoint) throws JMSException
createDestination
in interface JmsSupport
createDestination
in class Jms11Support
JMSException
public Destination createTemporaryDestination(Session session, boolean topic) throws JMSException
createTemporaryDestination
in interface JmsSupport
createTemporaryDestination
in class Jms11Support
JMSException
public void send(MessageProducer producer, Message message, boolean persistent, int priority, long ttl, boolean topic, ImmutableEndpoint endpoint) throws JMSException
send
in interface JmsSupport
send
in class Jms11Support
JMSException
public void send(MessageProducer producer, Message message, Destination dest, boolean persistent, int priority, long ttl, boolean topic, ImmutableEndpoint endpoint) throws JMSException
send
in interface JmsSupport
send
in class Jms11Support
JMSException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.