• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMS - few conceptual questions

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic