qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: messages get resent after broker is restarted, C++
Date Fri, 15 Jul 2011 08:58:03 GMT
On 07/15/2011 12:47 AM, Luba Hornung wrote:
> Why after qpid broker is restarted messages which had been received in a previous session
get received again?
>
> 1)      I launch a broker, my server and a client.
>
> 2)      Server sends messages to clients.
>
> 3)      I disconnect broker by Ctrl+c
>
> 4)      My client and server wait until I restart the broker again.
>
> 5)      The messages that the server had sent in 2) are received by clients again.
>
> After a connection gets broken, I re-open the session and create new senders and receivers
with the same addresses.
> I am using C++ qpid version 0.6, messaging api.

The exactly-once mode is not yet supported; you will get at-least-once 
instead which can result in duplicates.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message