Search code examples
apache-camelamqpqpid

How to make qupid consumer exlusive using apache camel?


I am trying to connect single qpid broker via to clients. I want only one of these two client should listen the qpid queue. I am trying this with apache camel


Solution

  • I don't believe QPID supports exclusive consumer on queues. An alternative option is to deploy your Camel route in Karaf in a primary+failover setup. The failover karaf container will be running in a "warm" mode where the Camel route is not started. If the primary fails, the failover will take over and start up all Camel routes. Works great for Highly Available database and file pollers as well!

    ref: Karaf HA / Cluster setup