org.mule.providers.jms
Interface JmsSupport

All Known Implementing Classes:
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.

Version:
$Revision: 1.5 $
Author:
Ross Mason

Method Summary
 Connection createConnection(ConnectionFactory connectionFactory)
           
 Connection createConnection(ConnectionFactory connectionFactory, java.lang.String username, java.lang.String password)
           
 MessageConsumer createConsumer(Session session, Destination destination)
           
 MessageConsumer createConsumer(Session session, Destination destination, java.lang.String messageSelector, boolean noLocal, java.lang.String durableName)
           
 Destination createDestination(Session session, java.lang.String name, boolean topic)
           
 MessageProducer createProducer(Session session, Destination destination)
           
 Session createSession(Connection connection, boolean transacted, int ackMode, boolean noLocal)
           
 Destination createTemporaryDestination(Session session, boolean topic)
           
 void send(MessageProducer producer, Message message)
           
 void send(MessageProducer producer, Message message, boolean persistent, int priority, long ttl)
           
 void send(MessageProducer producer, Message message, Destination dest)
           
 void send(MessageProducer producer, Message message, Destination dest, boolean persistent, int priority, long ttl)
           
 

Method Detail

createConnection

public Connection createConnection(ConnectionFactory connectionFactory)
                            throws JMSException
Throws:
JMSException

createConnection

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

createSession

public Session createSession(Connection connection,
                             boolean transacted,
                             int ackMode,
                             boolean noLocal)
                      throws JMSException
Throws:
JMSException

createProducer

public MessageProducer createProducer(Session session,
                                      Destination destination)
                               throws JMSException
Throws:
JMSException

createConsumer

public MessageConsumer createConsumer(Session session,
                                      Destination destination,
                                      java.lang.String messageSelector,
                                      boolean noLocal,
                                      java.lang.String durableName)
                               throws JMSException
Throws:
JMSException

createConsumer

public MessageConsumer createConsumer(Session session,
                                      Destination destination)
                               throws JMSException
Throws:
JMSException

createDestination

public Destination createDestination(Session session,
                                     java.lang.String name,
                                     boolean topic)
                              throws JMSException
Throws:
JMSException

createTemporaryDestination

public Destination createTemporaryDestination(Session session,
                                              boolean topic)
                                       throws JMSException
Throws:
JMSException

send

public void send(MessageProducer producer,
                 Message message)
          throws JMSException
Throws:
JMSException

send

public void send(MessageProducer producer,
                 Message message,
                 boolean persistent,
                 int priority,
                 long ttl)
          throws JMSException
Throws:
JMSException

send

public void send(MessageProducer producer,
                 Message message,
                 Destination dest)
          throws JMSException
Throws:
JMSException

send

public void send(MessageProducer producer,
                 Message message,
                 Destination dest,
                 boolean persistent,
                 int priority,
                 long ttl)
          throws JMSException
Throws:
JMSException


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.