org.apache.camel.component.sjms.jms
Class JmsObjectFactory

java.lang.Object
  extended by org.apache.camel.component.sjms.jms.JmsObjectFactory

public final class JmsObjectFactory
extends Object

TODO Add Class documentation for JmsObjectFactory


Method Summary
static javax.jms.Destination createDestination(javax.jms.Session session, String destinationName, boolean topic)
           
static javax.jms.MessageConsumer createMessageConsumer(javax.jms.Session session, javax.jms.Destination destination, String messageSelector, boolean topic, String durableSubscriptionId, boolean noLocal)
           
static javax.jms.MessageConsumer createMessageConsumer(javax.jms.Session session, String destinationName, String messageSelector, boolean topic, String durableSubscriptionId)
           
static javax.jms.MessageConsumer createMessageConsumer(javax.jms.Session session, String destinationName, String messageSelector, boolean topic, String durableSubscriptionId, boolean noLocal)
           
static javax.jms.MessageProducer createMessageProducer(javax.jms.Session session, String destinationName, boolean topic, boolean persitent, long ttl)
           
static javax.jms.Destination createQueue(javax.jms.Session session, String destinationName)
           
static javax.jms.MessageConsumer createQueueConsumer(javax.jms.Session session, String destinationName)
           
static javax.jms.MessageConsumer createQueueConsumer(javax.jms.Session session, String destinationName, String messageSelector)
           
static javax.jms.MessageProducer createQueueProducer(javax.jms.Session session, String destinationName)
           
static javax.jms.Destination createTemporaryDestination(javax.jms.Session session, boolean topic)
           
static javax.jms.MessageConsumer createTemporaryMessageConsumer(javax.jms.Session session, String messageSelector, boolean topic, String durableSubscriptionId, boolean noLocal)
           
static javax.jms.Destination createTopic(javax.jms.Session session, String destinationName)
           
static javax.jms.MessageConsumer createTopicConsumer(javax.jms.Session session, String destinationName, String messageSelector)
           
static javax.jms.MessageProducer createTopicProducer(javax.jms.Session session, String destinationName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDestination

public static javax.jms.Destination createDestination(javax.jms.Session session,
                                                      String destinationName,
                                                      boolean topic)
                                               throws Exception
Throws:
Exception

createQueue

public static javax.jms.Destination createQueue(javax.jms.Session session,
                                                String destinationName)
                                         throws Exception
Throws:
Exception

createTemporaryDestination

public static javax.jms.Destination createTemporaryDestination(javax.jms.Session session,
                                                               boolean topic)
                                                        throws Exception
Throws:
Exception

createTopic

public static javax.jms.Destination createTopic(javax.jms.Session session,
                                                String destinationName)
                                         throws Exception
Throws:
Exception

createQueueConsumer

public static javax.jms.MessageConsumer createQueueConsumer(javax.jms.Session session,
                                                            String destinationName)
                                                     throws Exception
Throws:
Exception

createQueueConsumer

public static javax.jms.MessageConsumer createQueueConsumer(javax.jms.Session session,
                                                            String destinationName,
                                                            String messageSelector)
                                                     throws Exception
Throws:
Exception

createTopicConsumer

public static javax.jms.MessageConsumer createTopicConsumer(javax.jms.Session session,
                                                            String destinationName,
                                                            String messageSelector)
                                                     throws Exception
Throws:
Exception

createTemporaryMessageConsumer

public static javax.jms.MessageConsumer createTemporaryMessageConsumer(javax.jms.Session session,
                                                                       String messageSelector,
                                                                       boolean topic,
                                                                       String durableSubscriptionId,
                                                                       boolean noLocal)
                                                                throws Exception
Throws:
Exception

createMessageConsumer

public static javax.jms.MessageConsumer createMessageConsumer(javax.jms.Session session,
                                                              String destinationName,
                                                              String messageSelector,
                                                              boolean topic,
                                                              String durableSubscriptionId)
                                                       throws Exception
Throws:
Exception

createMessageConsumer

public static javax.jms.MessageConsumer createMessageConsumer(javax.jms.Session session,
                                                              String destinationName,
                                                              String messageSelector,
                                                              boolean topic,
                                                              String durableSubscriptionId,
                                                              boolean noLocal)
                                                       throws Exception
Throws:
Exception

createMessageConsumer

public static javax.jms.MessageConsumer createMessageConsumer(javax.jms.Session session,
                                                              javax.jms.Destination destination,
                                                              String messageSelector,
                                                              boolean topic,
                                                              String durableSubscriptionId,
                                                              boolean noLocal)
                                                       throws Exception
Throws:
Exception

createQueueProducer

public static javax.jms.MessageProducer createQueueProducer(javax.jms.Session session,
                                                            String destinationName)
                                                     throws Exception
Throws:
Exception

createTopicProducer

public static javax.jms.MessageProducer createTopicProducer(javax.jms.Session session,
                                                            String destinationName)
                                                     throws Exception
Throws:
Exception

createMessageProducer

public static javax.jms.MessageProducer createMessageProducer(javax.jms.Session session,
                                                              String destinationName,
                                                              boolean topic,
                                                              boolean persitent,
                                                              long ttl)
                                                       throws Exception
Throws:
Exception


Apache Camel