Re: Simulating loss of broker publisher connectivity

2016-05-13 Thread Tim Bain
Publishers can't enqueue messages locally without a broker. No broker, no work done. However, it's possible to embed a broker within the producer process, which would then connect to the external broker when available and buffer messages when the connection is broken. But this adds complexity to

Re: Simulating loss of broker publisher connectivity

2016-05-13 Thread Jiri Danek
On Fri, May 13, 2016 at 9:44 AM, siddutta wrote: > I wish to run an experiment in which the publisher loses connection with > the > broker and then enqueues them in its own queue and then when it regains > connectivity it send s all its queued messages to the broker. How can I I > do > this since

Simulating loss of broker publisher connectivity

2016-05-13 Thread siddutta
exception). A trick that I can think of is to use a network of two brokers and simulate the above by breaking the connection between the two brokers. Is there an API call that I can use to do the above? -- View this message in context: http://activemq.2283324.n4.nabble.com/Simulating-loss-of