Package org.apache.cxf.transport.jms
Class JMSFactory
- java.lang.Object
-
- org.apache.cxf.transport.jms.JMSFactory
-
public final class JMSFactory extends Object
Factory to create jms helper objects from configuration and context information
-
-
Field Summary
Fields Modifier and Type Field Description static StringJMS_CONDUIT_EXECUTORstatic StringJMS_DESTINATION_EXECUTOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.jms.ConnectioncreateConnection(JMSConfiguration jmsConfig)static JMSSendercreateJmsSender(JMSConfiguration jmsConfig, JMSMessageHeadersType messageProperties)Create JmsSender from configuration information.static ExecutorcreateWorkQueueExecutor(Bus bus, String name)Get workqueue from workqueue manager.
-
-
-
Field Detail
-
JMS_DESTINATION_EXECUTOR
public static final String JMS_DESTINATION_EXECUTOR
- See Also:
- Constant Field Values
-
JMS_CONDUIT_EXECUTOR
public static final String JMS_CONDUIT_EXECUTOR
- See Also:
- Constant Field Values
-
-
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 informationmessageProperties- context headers override config settings- Returns:
-
createConnection
public static javax.jms.Connection createConnection(JMSConfiguration jmsConfig) throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
-
-