Hi Dan,

messages only get dequeued at the broker when it receives an
acknowledgement for that message... so, no - messages shouldn't get lost in
the case you are describing above.

-- Rob


On 9 September 2014 05:53, xiaodan.wang <xiaodan.w...@salesforce.com> wrote:

> Hi Rob, when using AMQSession_0_10#sendSuspendChannel(), we noticed that
> existing prefetched messages are not released after suspending the session.
>
> If we were to use AMQSession#rejectMessage(UnprocessMessage message,
> boolean
> reenqueue) to release the message using reenqueue=true, is the message
> guaranteed to be re-delivered? Namely, can the message get lost if the
> client dies after discarding the message but before it is re-enqueued?
>
> Cheers, Dan
>
>
>
> --
> View this message in context:
> http://qpid.2158936.n2.nabble.com/Re-1-Queue-with-2-Consumers-turn-off-pre-fetching-tp6934582p7613337.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>
>

Reply via email to