I have message producer SLSB (A) and a consumer MDB (B). Session mode is set to CLIENT_ACKNOWLEDGE in A.
A writes message to the queue and B get his onMessage() method invoked. Something went wrong during processing request from message in B (message is successfully delivered, but some other business method fails) and Message.acknowledge() is not invoked.
Will this message be redelivered to B without involvement of A? (if app server is configured for redelivery after timeout of n milliseconds)
I tried to simulate this on JBoss 4 and B.onMessage() is invoked only once, there is no redelivery.
Am I missing the point here, maybe this isn't the way how redelivery is intended to be used?
When evil is afoot and you don't have any arms you gotta be hip and do the legwork, but always kick some ... tiny ad: