hi Pieter,

Here's code: http://pastebin.com/67uRMZKx    Threre are two classes, Sender
and Receiver.  Start Sender  with "-ea" jvm arg and hostname where Receiver
is running.   Start Receiver with "-ea" jvm arg.
How to see that messages being redelievered:   start Sender, start
Receiver.   See in log that Receiver gobbles messages from Sender.   Then
stop Receiver process for a 10  seconds,   and then start it  again. Now,
you should see in Receiver log that messages have been queued for a time as
much as Receiver was down.




2013/12/20 Pieter Hintjens <[email protected]>

> On Fri, Dec 20, 2013 at 11:16 AM, artemv zmq <[email protected]> wrote:
>
> > So  the  question arised --  how to not redeliver messages upon
> reconnect?
>
> If you have a minimal test case that shows a message being redelivered
> on reconnect, can we see it?
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to