This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes what will happen if a client retrieve a message and fail to consume it? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "what will happen if a client retrieve a message and fail to consume it? " Watch "what will happen if a client retrieve a message and fail to consume it? " New topic
Author

what will happen if a client retrieve a message and fail to consume it?

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
Hi
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?

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what will happen if a client retrieve a message and fail to consume it?
 
Similar Threads
Part 2: persistent messages vs database storage
Multiple listeners on a queue
Adding metadata information in JMS provider.
AUTO_ACKNOWLEDGE JMS Message Removal
component informs other component