public class Jms11Support extends Jms20Support
Jms11Support is a template class to provide an abstraction to to
the JMS 1.1 API specification.| Constructor and Description |
|---|
Jms11Support() |
Jms11Support(LookupJndiDestination lookupJndiDestination,
Function<String,Optional<javax.jms.Destination>> jndiObjectSupplier) |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.MessageConsumer |
createConsumer(javax.jms.Session session,
javax.jms.Destination destination,
String messageSelector,
ConsumerType type)
Creates a new JMS
MessageConsumer using the given Session |
JmsSpecification |
getSpecification() |
createConnection, createConnection, createDestination, createDestinationFromJndi, createProducer, createSession, createTemporaryDestination, getJndiDestination, getLookupJndiDestination, sendpublic Jms11Support()
public Jms11Support(LookupJndiDestination lookupJndiDestination, Function<String,Optional<javax.jms.Destination>> jndiObjectSupplier)
public JmsSpecification getSpecification()
getSpecification in interface JmsSupportgetSpecification in class Jms20Supportthis implementation JmsSpecificationpublic javax.jms.MessageConsumer createConsumer(javax.jms.Session session,
javax.jms.Destination destination,
String messageSelector,
ConsumerType type)
throws javax.jms.JMSException
MessageConsumer using the given SessioncreateConsumer in interface JmsSupportcreateConsumer in class Jms20Supportsession - the Session used to create the MessageConsumerdestination - the Destination from which Messages will be consumedmessageSelector - a JMS selector string for filtering incoming Messages. Empty or null implies no filteringtype - the ConsumerType to use based on the Destination typeMessageConsumer for the given Destinationjavax.jms.JMSException - if an error occurs while creating the consumerCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.