Package org.apache.cxf.transport.jms
Class JMSFactory
java.lang.Object
org.apache.cxf.transport.jms.JMSFactory
Factory to create jms helper objects from configuration and context information
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.jms.ConnectioncreateConnection(JMSConfiguration jmsConfig) static JMSSendercreateJmsSender(JMSConfiguration jmsConfig, JMSMessageHeadersType messageProperties) Create JmsSender from configuration information.static ExecutorcreateWorkQueueExecutor(org.apache.cxf.Bus bus, String name) Get workqueue from workqueue manager.
-
Field Details
-
JMS_DESTINATION_EXECUTOR
- See Also:
-
JMS_CONDUIT_EXECUTOR
- See Also:
-
-
Method Details
-
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 jakarta.jms.Connection createConnection(JMSConfiguration jmsConfig) throws jakarta.jms.JMSException - Throws:
jakarta.jms.JMSException
-
createWorkQueueExecutor
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:
-