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.

Reply via email to