My JMS Receiver or MDB cannot see a message sent in the same transaction?
Question
I sent a message to a destination. My JMS client does not receive it. The receive always times out, or blocks infinitely if i use the no-timeout call
Answer
You are trying to the send/receive in the same transaction.
In a transaction, the send won't occur until the transaction commits...which it nevers does.
Because you are waiting in receive() for a response on a message that was never sent.
Comments