Request Reply - 6.3

Talend ESB Mediation Developer Guide

Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Design and Development
Talend ESB

Camel supports the Request Reply from the EIP patterns by supporting the Exchange Pattern on a Message which can be set to InOut to indicate a request/reply. Camel Components then implement this pattern using the underlying transport or protocols.


See also the related Event Message EIP.

For example when using Camel Component: JMS with InOut the component will by default perform these actions

  • create by default a temporary inbound queue

  • set the JMSReplyTo destination on the request message

  • set the JMSCorrelationID on the request message

  • send the request message

  • consume the response and associate the inbound message to the request using the JMSCorrelationID (as you may be performing many concurrent request/responses).

When consuming messages from Camel Component: JMS a Request-Reply is indicated by the presence of the JMSReplyTo header. You can explicitly force an endpoint to be in Request Reply mode by setting the exchange pattern on the URI. e.g.


You can also specify the exchange pattern in DSL rule or Spring configuration, see the Request-Reply EIP page on the Apache Camel site for the latest updated example.