what will happen if a client retrieve a message and fail to consume it?
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?
How i can return that message to queue?
Thanks
[430 byte] By [
Legolas.wa] at [2007-11-27 5:35:56]

# 2
Thank you for reply.how much time MQ will wait before it deliver the message to another consumer?imagine that a message is consumed by a client but client does no acknowledge it after 10 minutes or so, when will mq let other consumers to consume this
# 5
Once the message is seen, it is associated with a session. Because of this, the message will be redelivered when the session is closed and will be acknowledged if message.acknowledge() is called for another message.This behavior is required by the JMS Specification
Once the session is closed, it will be immediately re-delivered.