| 1. |
What Are Different Message Exchange Patterns In Camel, Which One Of These Is Synchronous? |
|
Answer» There are TWO types of message exchange PATTERNS in Camel: In Only: In this exchange pattern, consumer creates a exchange which only contains an In message. In Out: In this exchange pattern, consumer creates a exchange which also contains reply message for the CALLER. Out of above two, InOut pattern is synchronous because caller expects for an acknowledgement or reply for each exchange sent. There are two types of message exchange patterns in Camel: In Only: In this exchange pattern, consumer creates a exchange which only contains an In message. In Out: In this exchange pattern, consumer creates a exchange which also contains reply message for the caller. Out of above two, InOut pattern is synchronous because caller expects for an acknowledgement or reply for each exchange sent. |
|