- 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 ?
- Red Hat JBoss Fuse
- 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.