Topic
1 reply Latest Post - ‏2006-09-27T03:55:43Z by SystemAdmin
SystemAdmin
SystemAdmin
8523 Posts
ACCEPTED ANSWER

Pinned topic guarantee delivery by mq client

‏2006-09-26T15:00:26Z |
I know mq guarantees delivery of a message. Someone mentioned that this is not true for an mq client with the server located somewhere else. I thought that if you received a good return from a put that you were guarantee that it was placed on the remote server. Which is true? What error correction should be done to ensure delivery?

Thanks.
Updated on 2006-09-27T03:55:43Z at 2006-09-27T03:55:43Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    8523 Posts
    ACCEPTED ANSWER

    Re: guarantee delivery by mq client

    ‏2006-09-27T03:55:43Z  in response to SystemAdmin
    <wongw@fisci.com> wrote:
    > I know mq guarantees delivery of a message. Someone mentioned that
    > this is not true for an mq client with the server located somewhere
    > else. I thought that if you received a good return from a put that
    > you were guarantee that it was placed on the remote server. Which is
    > true? What error correction should be done to ensure delivery?
    >
    > Thanks.

    A good return from the put indicates the server has queued the message.

    However there is a window where delivery cannot be assured, if the
    client connection breaks (eg. network failure) after the put packet is
    sent to the server, but before the return packet comes back. In this
    situation, only way to assure delivery is to reconnect to MQ, open the
    queue, and check that the message is there, try to put it again etc etc.

    Glenn.