apache-camelactivemq-classicintegration-patterns

Message Router Use Case


I am new to Messaging and Integration. As I am trying to understand how Apache Camel makes EIP easy, Message Router caught my attention to a specific scenario where it consumes a message from one queue and transfers to some other queue based on a predicate.

Here are my questions:

Can someone share your thoughts on real life use cases?


Solution

  • Well, your questions are more about SoC than messaging.

    So if you want to implement and run an intermediate integration component between the client and the receivers, you can use the Message Router in this component.

    If you want to omit this integration component, you can use message selectors to implement the receivers individual and de-coupled from each other.