Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for multiple bindings per queue #33
I've just completed a project migrating our applications from ActiveMQ to RabbitMQ. The most challenging part was replicating the functionality of jms selectors. Here are some of the selection rules that we had:
I've implemented this using Headers exchanges with multiple bindings per queue. Theoretically, any sql based selector can be decomposed into a combination of key/value pairs where each combination corresponds to a binding. For example the following routing key:
I added support for these use cases in SpringAMQPConsumer (see the code here: https://github.com/art11s/camel-spring-amqp). Are you interested in adding this functionality to the project?