Class MessageProducerResources


  • public class MessageProducerResources
    extends Object
    The MessageProducer resources for all SjmsProducer classes.
    • 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