Request and reply is a very common pattern between applications, thus the JMS
connector provides the publish-consume operation specifically for that.
The publish-consume operation lets you publish a message to any destination,
and then wait for a reply on a different destination.
When using this operation, the JMSReplyTo header of the outgoing message
contains the ID of the destination on which your application waits for a
response. This destination may be a well-known destination, or it may be a
temporary destination created on the fly with the purpose of receiving
a single response message.
Finally, the result of the operation is the message received as a response,
with the same structure as if a consume operation was invoked.