Posted on May 10, 2010 at 11.29 PM - Kuala Lumpur, Malaysia
We use receive step when we want:
a. To start the integration process, so it should be the first message related step in the process.
b. To activate correlation
It only has asynchronous mode, as synchronous response is part of the send step synchronous mode.
In the case of multiple receive steps, we can have several arrangements:
1. Receive steps arranged one after another
To make this work, we need to make sure that the incoming message is exactly the same order with the receive step
2. Receive steps in a loop
This useful when we want to collect messages prior to process it further. To make this work, we need to activate correlation
3. Multiple receive steps in a fork
If multiple receive steps are waiting for the same message, then the inbound message is only assigned to one receive step at random.
Life is beautiful! Let's make it meaningful and colorful!