org.mule.transport.jms
Interface JmsSupport

All Known Implementing Classes:
Jms102bSupport, Jms11Support

public interface JmsSupport

JmsSupport is an interface that provides a polymorphic facade to the JMS 1.0.2b and 1.1 API specifications. this interface is not intended for general purpose use and should only be used with the Mule JMS connector.


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)
           
 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)
           
 

Method Detail

createConnection

javax.jms.Connection createConnection(javax.jms.ConnectionFactory connectionFactory)
                                      throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createConnection

javax.jms.Connection createConnection(javax.jms.ConnectionFactory connectionFactory,
                                      java.lang.String username,
                                      java.lang.String password)
                                      throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createSession

javax.jms.Session createSession(javax.jms.Connection connection,
                                boolean topic,
                                boolean transacted,
                                int ackMode,
                                boolean noLocal)
                                throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createProducer

javax.jms.MessageProducer createProducer(javax.jms.Session session,
                                         javax.jms.Destination destination,
                                         boolean topic)
                                         throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createConsumer

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
Throws:
javax.jms.JMSException

createConsumer

javax.jms.MessageConsumer createConsumer(javax.jms.Session session,
                                         javax.jms.Destination destination,
                                         boolean topic,
                                         ImmutableEndpoint endpoint)
                                         throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createDestination

javax.jms.Destination createDestination(javax.jms.Session session,
                                        java.lang.String name,
                                        boolean topic,
                                        ImmutableEndpoint endpoint)
                                        throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createDestination

javax.jms.Destination createDestination(javax.jms.Session session,
                                        ImmutableEndpoint endpoint)
                                        throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createTemporaryDestination

javax.jms.Destination createTemporaryDestination(javax.jms.Session session,
                                                 boolean topic)
                                                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException

send

void send(javax.jms.MessageProducer producer,
          javax.jms.Message message,
          boolean topic,
          ImmutableEndpoint endpoint)
          throws javax.jms.JMSException
Throws:
javax.jms.JMSException

send

void send(javax.jms.MessageProducer producer,
          javax.jms.Message message,
          boolean persistent,
          int priority,
          long ttl,
          boolean topic,
          ImmutableEndpoint endpoint)
          throws javax.jms.JMSException
Throws:
javax.jms.JMSException

send

void send(javax.jms.MessageProducer producer,
          javax.jms.Message message,
          javax.jms.Destination dest,
          boolean topic,
          ImmutableEndpoint endpoint)
          throws javax.jms.JMSException
Throws:
javax.jms.JMSException

send

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
Throws:
javax.jms.JMSException


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.