Package org.apache.camel.component.sjms
Class MessageProducerResources
- java.lang.Object
-
- org.apache.camel.component.sjms.MessageProducerResources
-
public class MessageProducerResources extends Object
TheMessageProducer
resources for allSjmsProducer
classes.
-
-
Constructor Summary
Constructors Constructor Description MessageProducerResources(javax.jms.Session session, javax.jms.MessageProducer messageProducer)
MessageProducerResources(javax.jms.Session session, javax.jms.MessageProducer messageProducer, TransactionCommitStrategy commitStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionCommitStrategy
getCommitStrategy()
Gets the TransactionCommitStrategy value of commitStrategy for this instance of SjmsProducer.MessageProducerResources.javax.jms.MessageProducer
getMessageProducer()
Gets the QueueSender value of queueSender for this instance of MessageProducerResources.javax.jms.Session
getSession()
Gets the Session value of session for this instance of MessageProducerResources.
-
-
-
Constructor Detail
-
MessageProducerResources
public MessageProducerResources(javax.jms.Session session, javax.jms.MessageProducer messageProducer)
-
MessageProducerResources
public MessageProducerResources(javax.jms.Session session, javax.jms.MessageProducer messageProducer, TransactionCommitStrategy commitStrategy)
-
-
Method Detail
-
getSession
public javax.jms.Session getSession()
Gets the Session value of session for this instance of MessageProducerResources.- Returns:
- the session
-
getMessageProducer
public javax.jms.MessageProducer getMessageProducer()
Gets the QueueSender value of queueSender for this instance of MessageProducerResources.- Returns:
- the queueSender
-
getCommitStrategy
public TransactionCommitStrategy getCommitStrategy()
Gets the TransactionCommitStrategy value of commitStrategy for this instance of SjmsProducer.MessageProducerResources.- Returns:
- the commitStrategy
-
-