I’m trying to make a Durable Topic Subscription using Apache Camel, Spring Boot and ActiveMQ Classic, and everything works fine except the selector. If I place the selector at the endpoint, the subscriber is created correctly, but if I remove it then it dissapears from the Active MQ subscriber.
Is there a way to configure the endpoint in a way that doesn’t deletes the selector from Active MQ?
from(“activemq:topic:test_topic?durableSubscriptionName=sub_t&selector=color=’red'”)
.log(“Message received: ${body}”);
This is the code that works fine, but I need to remove the selector, like this:
from(“activemq:topic:test_topic?durableSubscriptionName=sub_t”)
.log(“Message received: ${body}”);
GOLDNX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.