Class JMSOutTransportInfo

  • All Implemented Interfaces:
    OutTransportInfo

    public class JMSOutTransportInfo
    extends Object
    implements OutTransportInfo
    The JMS OutTransportInfo is a holder of information to send an outgoing message (e.g. a Response) to a JMS destination. Thus at a minimum a reference to a ConnectionFactory and a Destination are held
    • Method Detail

      • loadConnectionFactoryFromProperies

        public void loadConnectionFactoryFromProperies()
        Provides a lazy load when created with a target EPR. This method performs actual lookup for the connection factory and destination
      • getReplyDestination

        public javax.jms.Destination getReplyDestination​(String replyDest)
        Look up for the given destination
        Parameters:
        replyDest - the JNDI name to lookup Destination required
        Returns:
        Destination for the JNDI name passed
      • getDestination

        public javax.jms.Destination getDestination()
      • getConnectionFactory

        public javax.jms.ConnectionFactory getConnectionFactory()
      • getTargetEPR

        public String getTargetEPR()
      • getDestinationType

        public String getDestinationType()
      • setDestinationType

        public void setDestinationType​(String destinationType)
      • getReplyDestination

        public javax.jms.Destination getReplyDestination()
      • setReplyDestination

        public void setReplyDestination​(javax.jms.Destination replyDestination)
      • getReplyDestinationType

        public String getReplyDestinationType()
      • setReplyDestinationType

        public void setReplyDestinationType​(String replyDestinationType)
      • getReplyDestinationName

        public String getReplyDestinationName()
      • setReplyDestinationName

        public void setReplyDestinationName​(String replyDestinationName)
      • getContentTypeProperty

        public String getContentTypeProperty()
      • setContentTypeProperty

        public void setContentTypeProperty​(String contentTypeProperty)
      • createJMSSender

        public JMSMessageSender createJMSSender()
                                         throws javax.jms.JMSException
        Create a one time MessageProducer for this JMS OutTransport information. For simplicity and best compatibility, this method uses only JMS 1.0.2b API. Please be cautious when making any changes
        Returns:
        a JMSSender based on one-time use resources
        Throws:
        javax.jms.JMSException - on errors, to be handled and logged by the caller