-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I had another look into the JBI specification and looking at the Figure 9 I would say that when a Message Exchange (ME) is sent back to the NMR it should go back to the Caller. Now what happens is that when the Target Bean is sending the message back to the NMR through the Delivery Channel the message is handled by the Consumer Endpoint of the Target Bean because of using the Mirror ME. This means at the end the ME is going back to the Target Bean.

This is what I see:

- - - Source Bean creates ME and sets the Provider as service and sends it through the Delivery Channel

- - - Provider Endpoint of Target Bean is receiving the ME and hands it over to its Bean - Target Bean is handling the ME, sets the response and send the message back through the Delivery Channel - - - Delivery Channel is handing the ME to the service mentioned in the Mirror of the given ME - - - Consumer Endpoint of Target Bean is receiving the ME and hands it over to its Bean
   - Target Bean is handling the Response now which I think is WRONG

Is there something fundamentally wrong with the general ME handling in the asynchronous case? Shouldn't the Mirror inside the ME point back to the provider (the one that send the ME originally)? And if shouldn't it be set by the Delivery Channel in the send of the provider?

Thanks - Andy

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHFTecs4gPTNnP0gkRAhlaAJsEUdCmko0bcIXZoI5g/ua0nn1eOwCffMT9
ZmUe5nTrJ/xl75xz2oJYdts=
=vnwj
-----END PGP SIGNATURE-----

Reply via email to