How can response messages be correlated with request messages? Can this be done if the process to send a reply is different than the process to receive the request?
JCommBridge provides the ability to filter message retrieval on the basis of message_id and/or correlation_id. In addition to filtering behavior, JCommBridge can be used so that replies sent by a Responder can be successfully correlated with their respective requests when received by the ResponseHandler. Specifically, the Responder can generate the reply to copy combinations of message_id and correlation_id from the request message to the reply message. The sending application should retain this value or convey it to the ResponseHandler if that‘s a different application so that it can match the request to the reply. More information on this topic is specified in the JCommBridge Concepts Guide.
Related Questions
- How can response messages be correlated with request messages? Can this be done if the process to send a reply is different than the process to receive the request?
- Can we automatically send back a response for all messages received to a mailbox?
- How to send asynchronous HTTP request to the server and get response?