You would be looking at implementing Request/Reply EIP.

https://camel.apache.org/components/3.20.x/eips/requestReply-eip.html

ચિરાગ/चिराग/Chirag
------------------------------------------
Sent from My Gmail Account

On Mon, Mar 13, 2023 at 10:46 AM Yash Ganthe <yas...@gmail.com> wrote:
>
> Hi,
>
> I would like to send messages to MQ such that when a message is PUT on the
> queue, Camel will wait for a response from the application that is
> consuming from the queue. The response will come on a second queue. Once
> the response arrives, Camel will check that the response has the same
> Correlation ID as the ID of the sent message. If the ID and correlation ID
> match, the message will be considered as complete and Camel will send the
> next message.
>
> This sounds like a common pattern. Is there an out of box support for
> implementing it?
>
> Regards,
> Yash

Reply via email to