Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic