A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
EJB and other Java EE Technologies
what will happen if a client retrieve a message and fail to consume it?
Joined: Jul 14, 2005
May 27, 2007 06:47:00
thank you for reading my post
I am using Sun IMQ for my jms stuff and i have a queue which all of its message should be proceed.
I use client acknowledge mode to ensure that a message removes from the queue after a client consume it correctly.
Now what if a client consume a message and it face an exception during processing of message and failed to process the message?
How i can return that message to queue to let another thread or consumer to use it?
It is sorta covered in the
JavaRanch Style Guide
subject: what will happen if a client retrieve a message and fail to consume it?
component informs other component
AUTO_ACKNOWLEDGE JMS Message Removal
Multiple listeners on a queue
Adding metadata information in JMS provider.
Part 2: persistent messages vs database storage
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014