Re: Duplicate Messages on Listener Restart

2009-09-15 Thread dbczak
I'm very new to ActiveMQ, and this is probably a problem with the way I'm using it. I do not know how to create a JIRA. It would be hard to create a test case without the extra processing code included. The test would be as follows: 1) Run TIPServer.java in 2 locations. 2) Create a new instance

Re: Duplicate Messages on Listener Restart

2009-09-15 Thread Rob Davies
On 15 Sep 2009, at 13:01, dbczak wrote: the consumers do have normal url's (see TIPServer.java). But for the sender, what url do I use to send to multiple consumers? -- View this message in context: http://www.nabble.com/Duplicate-Messages-on-Listener-Restart-tp25440673p25452663.html Sent

Re: Duplicate Messages on Listener Restart

2009-09-15 Thread Bruce Snyder
On Tue, Sep 15, 2009 at 6:01 AM, dbczak wrote: > > the consumers do have normal url's (see TIPServer.java).  But for the sender, > what url do I use to send to multiple consumers? Just use the normal URL - tcp://: If you want all subscribers to get a copy of a message, then you should be using t

Re: Duplicate Messages on Listener Restart

2009-09-15 Thread dbczak
the consumers do have normal url's (see TIPServer.java). But for the sender, what url do I use to send to multiple consumers? -- View this message in context: http://www.nabble.com/Duplicate-Messages-on-Listener-Restart-tp25440673p25452663.html Sent from the ActiveMQ - User mailing list archive

Re: Duplicate Messages on Listener Restart

2009-09-15 Thread Rob Davies
On 15 Sep 2009, at 11:29, dbczak wrote: I used fanout because I need the producer to send the same message to multiple consumers - but only once to each consumer. How do I do this without getting duplicates when the consumer restarts? What should the url be? -- View this message in contex

Re: Duplicate Messages on Listener Restart

2009-09-15 Thread dbczak
I used fanout because I need the producer to send the same message to multiple consumers - but only once to each consumer. How do I do this without getting duplicates when the consumer restarts? What should the url be? -- View this message in context: http://www.nabble.com/Duplicate-Messages

Re: Duplicate Messages on Listener Restart

2009-09-14 Thread Rob Davies
On 15 Sep 2009, at 04:15, Bruce Snyder wrote: On Mon, Sep 14, 2009 at 12:25 PM, dbczak wrote: Hi, I have a message client that produces a message and sends to multiple listeners by using the URL: fanout:(static:(tcp://host1:61616,tcp://host2:61616,tcp://host3:61616 ...))?fanOutQueues=true&m

Re: Duplicate Messages on Listener Restart

2009-09-14 Thread Bruce Snyder
On Mon, Sep 14, 2009 at 12:25 PM, dbczak wrote: > > Hi, > > I have a message client that produces a message and sends to multiple > listeners by using the URL: > fanout:(static:(tcp://host1:61616,tcp://host2:61616,tcp://host3:61616 > ...))?fanOutQueues=true&minAckCount=1 > > I'm getting duplicate