Recipes by Topic | Recipes by Author | Request Enhancement | Report a bug | Fix documentation
Bhalchandra Wadekar |
---|
This recipe lets you try out Return Address pattern using AMQP Adapter.
Download the integration flow for Enqueueing Customer
Download the integration flow for Processing Customer
Download the integration flow for Processing Response
Step | Code | Why? |
---|---|---|
Enqueue Customer | ||
Process Customer | ||
Process Response |
- Request Reply: This recipe retrieves a list of products using the Request-Reply pattern
- Correlation Identifier| When sending the request, the sender adds a unique key to request. The receiver processes the request and puts the unique key as the Correlation Identifier in the reply message. Thus when a reply is received independent of the request, the sender knows the request corresponding the received reply based on the Correlation Identifier.
<Customer>
<Id>1</Id>
<Name>SAP</Name>
</Customer>
<Response>
<Result>SUCCESS</Result>
</Response>