Using the Java Message Service (JMS)
CXF provides a transport plug-in that enables endpoints to use Java Message Service (JMS) queues and topics. CXF's JMS transport plug-in uses the Java Naming and Directory Interface (JNDI) to locate and obtain references to the JMS provider that brokers for the JMS destinations. Once CXF has established a connection to a JMS provider, CXF supports the passing of messages packaged as either a JMS ObjectMessage
or a JMS TextMessage
. The JMS transport also supports the SOAP over JMS specification. See SOAP over JMS 1.0 support for more information.
Configuration styles
- SOAP / JMS spec compliant configuration - recommended style for CXF 3
- JMSConfiguration style - works in CXF 2 and 3 but is deprecated for CXF 3
- CXF 2.x JMS configuration - removed in CXF 3