0
votes

We are using Camel Spring DSL and we use JMS selector in camel. But I am not able to use more than one JMS selector. If I set only one JMS selector then Its working fine. Please help on this.

camel JMS URL = camelJmsBean:topic:paymentT?durableSubscriptionName=XX_CLIENT&subscriptionDurable=true&selector=paymentSystem='pay'

How to add 2 more JMS selector in the same above URL ...?

1

1 Answers

1
votes

The JMS selector syntax supports AND as well as OR. Looks like you need a compound selector.. selector=paymentSystem='pay' or paymentSystem='foo'

ref: JMS Selector syntax