You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Nicky Sandhu <ni...@hotmail.com> on 2007/07/20 18:10:26 UTC

Durable subscribe problem in a network of brokers

In attempting to test durable subscribes in a network of brokers I am writing
unit tests and adding them to active-core/test files. Two of the tests pass
with the same setup and the third one fails

The tests setup broker 1 and broker 2 with a tcp connection to create a
demand forwarding bridge. Test 1 simply consumes and produces to the same
broker and this works. Test 2 consumes on a different broker thand the
producer and that works. Test 3 adds consumer to broker1 and closes and then
produces on broker2 and then adds consumer back on broker1 and fails to
receive the message.


I have attached my files to a jira issue which may be related. 
https://issues.apache.org/activemq/browse/AMQ-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
https://issues.apache.org/activemq/browse/AMQ-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel 

I intend to build more tests which will do various combinations of restarts
and stops on the brokers and still test the guaranteed delivery of the
message. Any help here will be appreciated. Thanks
-- 
View this message in context: http://www.nabble.com/Durable-subscribe-problem-in-a-network-of-brokers-tf4118053s2354.html#a11711044
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Durable subscribe problem in a network of brokers

Posted by Rob Davies <ra...@gmail.com>.
yay!
On Jul 20, 2007, at 6:38 PM, Nicky Sandhu wrote:

>
> Oops my bad. I had a bug in the test. Everything is working as  
> expected :)
> -- 
> View this message in context: http://www.nabble.com/Durable- 
> subscribe-problem-in-a-network-of-brokers- 
> tf4118053s2354.html#a11712717
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Re: Durable subscribe problem in a network of brokers

Posted by Nicky Sandhu <ni...@hotmail.com>.
Oops my bad. I had a bug in the test. Everything is working as expected :)
-- 
View this message in context: http://www.nabble.com/Durable-subscribe-problem-in-a-network-of-brokers-tf4118053s2354.html#a11712717
Sent from the ActiveMQ - User mailing list archive at Nabble.com.