Hi! How to understand these in JBI Spec's 5.5.2.1.3 section: "Note that in the case of asynchronous exchanges, there is no guarantee that the message exchange received (by the receiver's call to accept(), discussed in the next section) will be the same object that was initially sent. Rather, the only guarantee is that the message exchange ID MUST be the same."
I only knew that in the case of synchronous exchanges,ServiceMix keeps the original ME in Map and copies packets to original object when response comes back. So it can get the same object actually. Rather,when it comes to asynchronous send() method, it seems as if ServiceMix send exchange without saving any ExchangeID or reference.If we use the accept() method to pull response message from the queue,how to recognize which original message it response to? If handling of exchange don't need these because it can follow the MEP,How to deal with duplicate response? In addition,How many ways are there to result in the difference between initial object and received exchange?such as Serializable? Thanks a lot! spliu -- View this message in context: http://www.nabble.com/question-about-asynchronous-exchanges-tf2580146s12049.html#a7192642 Sent from the ServiceMix - User mailing list archive at Nabble.com.
