On Thu, Mar 31, 2022 at 11:06 AM rahul.sin...@morganstanley.com <rahul.sin...@morganstanley.com> wrote: > How do we ensure the first receiver has released it? Is it invocation of > Session::acknowledge(msg) which makes it available to other receivers?
No, acknowledging the message will remove it permanently from the queue. To release you need to use Session::relese(msg). However it is always possible that the broker will allocate the same message to you again, so there can be some inefficiency involved. Are you able to use a selector? That way your receivers could select only those messages with the appropriate value(s) for APPId. > What difference will it make if we use Receiver::get() instead of > Receiver::fetch() ? In this context none at all. The difference there is simply how the client handles the case where it has no prefetched message available. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org