Routing messages to different destinations (Simple)
In the previous tutorial, we routed all the messages through the same processing steps. Integrating real applications usually involves more complex routing scenarios where each message type is processed differently. In this tutorial, we are going to route a message into different locations based on the message content, using a Context-Based Router pattern.
The complete source code for this tutorial is located under the following project:
How to do it...
We will extend the previous example by adding conditions to direct incoming ...