org.mule.providers.jms
Class Jms102bSupport

java.lang.Object
  extended byorg.mule.providers.jms.Jms11Support
      extended byorg.mule.providers.jms.Jms102bSupport
All Implemented Interfaces:
JmsSupport

public class Jms102bSupport
extends Jms11Support

Jms102bSupport is a template class to provide an absstraction to to the Jms 1.0.2b api specification.

Version:
$Revision: 1.5 $
Author:
Ross Mason

Field Summary
 
Fields inherited from class org.mule.providers.jms.Jms11Support
connector, context, forceJndiDestinations, jndiDestinations
 
Constructor Summary
Jms102bSupport(JmsConnector connector, javax.naming.Context context, boolean jndiDestinations, boolean forceJndiDestinations)
           
 
Method Summary
 Connection createConnection(ConnectionFactory connectionFactory)
           
 Connection createConnection(ConnectionFactory connectionFactory, java.lang.String username, java.lang.String password)
           
 MessageConsumer createConsumer(Session session, Destination destination, java.lang.String messageSelector, boolean noLocal, java.lang.String durableName)
           
 MessageProducer createProducer(Session session, Destination dest)
           
 Session createSession(Connection connection, boolean transacted, int ackMode, boolean noLocal)
           
 void send(MessageProducer producer, Message message, boolean persistent, int priority, long ttl)
           
 void send(MessageProducer producer, Message message, Destination dest, boolean persistent, int priority, long ttl)
           
 
Methods inherited from class org.mule.providers.jms.Jms11Support
createConsumer, createDestination, createTemporaryDestination, getJndiDestination, send, send
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jms102bSupport

public Jms102bSupport(JmsConnector connector,
                      javax.naming.Context context,
                      boolean jndiDestinations,
                      boolean forceJndiDestinations)
Method Detail

createConnection

public Connection createConnection(ConnectionFactory connectionFactory,
                                   java.lang.String username,
                                   java.lang.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 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,
                                      java.lang.String messageSelector,
                                      boolean noLocal,
                                      java.lang.String durableName)
                               throws JMSException
Specified by:
createConsumer in interface JmsSupport
Overrides:
createConsumer in class Jms11Support
Throws:
JMSException

createProducer

public MessageProducer createProducer(Session session,
                                      Destination dest)
                               throws JMSException
Specified by:
createProducer in interface JmsSupport
Overrides:
createProducer in class Jms11Support
Throws:
JMSException

send

public void send(MessageProducer producer,
                 Message message,
                 boolean persistent,
                 int priority,
                 long ttl)
          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)
          throws JMSException
Specified by:
send in interface JmsSupport
Overrides:
send in class Jms11Support
Throws:
JMSException


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