Class JMSFactory


  • public final class JMSFactory
    extends Object
    Factory to create jms helper objects from configuration and context information
    • Method Detail

      • createJmsSender

        public static JMSSender createJmsSender​(JMSConfiguration jmsConfig,
                                                JMSMessageHeadersType messageProperties)
        Create JmsSender from configuration information. Most settings are taken from jmsConfig. The QoS settings in messageProperties override the settings from jmsConfig
        Parameters:
        jmsConfig - configuration information
        messageProperties - context headers override config settings
        Returns:
      • createConnection

        public static javax.jms.Connection createConnection​(JMSConfiguration jmsConfig)
                                                     throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • createWorkQueueExecutor

        public static Executor createWorkQueueExecutor​(Bus bus,
                                                       String name)
        Get workqueue from workqueue manager. Return an executor that will never reject messages and instead block when all threads are used.
        Parameters:
        bus -
        name -
        Returns: