posted 17 years ago
Hi all,
Within an MDB I'm trying to resend a received Message to
second MDB and wait for a response (using a MessageConsumer).
I'm doing this inside the body of the onMessage() method of the first MDB.
There, a Temporary Queue is created and attached to the Message using
setJMSReplyTo(). This TQueue will be used by the second MDB to return
the answer back to the first MDB.
Has anybody tried this mechanism between MDB and worked ok? In my case
it is failing; basically the original source of the message times out
waiting for a response.
I wonder if the MDB's life-cycle prevents it from sending and then
waiting for a response.
Cheers.