JMS Message Selector in CXF SOAP Over JMS in camel-cxf endpoint
Issue
- We have services which use SOAP over JMS and we'd like to use a JMS Message selector in a cfxEndpoint so that a Service Provider could select requests based on a JMS Header Property. We have the following JMS configuration:
<bean id="jmsConfig" class="org.apache.cxf.transport.jms.JMSConfiguration">
<property name="connectionFactory" ref="ConnectionFactory" />
<property name="concurrentConsumers" value="10" />
<property name="messageSelector" value="Code='10'" />
</bean>
The service listens for incoming requests however if we look into AMQ GUI the consumer has no message selector and all messages/requests are being processed.
- Would you have an example on how to use a JMS message selector in an CFX Endpoint ?
Environment
- Red Hat JBoss Fuse
- 6.2.x
- Apache CXF
- SOAP over JMS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
