Hello everybody,

I am trying to grasp the acknowledgment mechanism of Messaging namespace. I
saw a bunch of examples where you can set what type of acknowledgment you
want (for example positive receive and arrival where you are notified when
your message reaches the destination queue and when is consumed from there).
I know how you can set the "AdministrationQueue" of your message to specify
where you want to receive those notifications. What I don't understand is
how do you make correlation between your original message and the
acknowledgement notifications you receive.
I know that the Message.Id property get set after the message is sent, so I
don't have access to that value. All the acknowledgement notifications will
have that Id value in their CorrelationId property, but how can I pair the
messages if I don't know the original Id?

Imagine this scenario: I need to send multiple update messages to a queue,
but I also need to know when they are consumed. Based on the acknowledgment
notification messages I receive, how can I tell which of my original message
was received and which must be resent?

Any suggestion will be appreciated.
TIA,
Eddie

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to