Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS - few conceptual questions  RSS feed

 
Milos Cu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my first post here, so hello everyone.

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?

Tnx
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!