Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JMS - few conceptual questions

 
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
 
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:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic