activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <suonayi2...@163.com>
Subject Reply:Re: Does tracking messages may cause reduplicate messages?
Date Mon, 07 Nov 2011 15:16:16 GMT
Thanks Gary,what if producer failover to the other broker which is networked with the previous
broker?
In this case, the other broker which does not know the message sent by the producer before
its failover.
So the reduplicate messages are coming out,arenot they?




At 2011-11-01 19:15:20,"Gary Tully" <gary.tully@gmail.com> wrote:
>in the case of failover with a pending send, so a message send where
>the reply from the broker is lost, the state tracker with tracking
>enabled, will resend the message on a reconnect.
>If the message is already in the store, the producerAudit persisted by
>the store will detect the duplicate send and ignore it.
>so, yes it is. See the
>org.apache.activemq.transport.failover.FailoverTransactionTest for a
>unit test that simulates this.
>
>2011/10/31 SuoNayi <suonayi2006@163.com>:
>> Hi all, is it possible to cause the client to send reduplicate messages to broker
when enable tracking messages?
>
>
>
>-- 
>http://fusesource.com
>http://blog.garytully.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message