- We are using a virtual topic in ActiveMQ, and our Camel route consumes from an appropriately named queue. If the route is stopped, messages build up in the queue as we would expect (standard behaviour for a durable topic subscription). H
- However, want to add a message selector to the route, as only certain messages should be processed. To prevent the build up of other messages in the queue, we have set the
selectorAwareproperty to true. While the route is running this works fine. However, when the route is stopped no messages build up in the queue. It seems that setting
selectorAwareto true effectively changes the subscription to be non-durable. Is there another setting that needs to be made to correct this?
- Is the relation between message selector <-> message queue is 1-to-1 relation ?
- Red Hat JBoss Fuse
- Red Hat JBoss AMQ
- Apache Camel
- camel-jms component
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.