It's hard to enumerate differences between them, even for developers.
You'd better to create a similar test case to see what's up inside broker,
here are some examples,
https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=blob_plain;f=activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryUriTest.java;hb=17cc9c0228cf8907a40307d4dab80857f9b460f4


2014-02-20 17:30 GMT+08:00 yygcyupeng <402673...@qq.com>:

> Hi All,
>
> We are attempting to use a duplex networkConnector  for sending message
> from
> brokerA to brokerB.like this:
>                        URI uri = new URI("static:(tcp://" + ip + ":"+ port
> +
> ")");
>                         nc = new DiscoveryNetworkConnector(uri);
>                         nc.setDuplex(true);
>                         nc.setName(ncUniqueName);
>                         nc.setBrokerName("localBrokerName");
>                         nc.setDecreaseNetworkConsumerPriority(false);
>                         requestQueue = new
> EMQQueue("localBrokerName:"+name);
>                         EMQQueue responseQueue = new
> EMQQueue(name+":localBrokerName");
>                         nc.setStaticBridge(true);
>                         nc.addStaticallyIncludedDestination(requestQueue);
>                         nc.addStaticallyIncludedDestination(responseQueue);
>                         brokerService.addNetworkConnector(nc);
>                         nc.start();
>
> With in AtiveMQ 5.7,when network interupted are restored,brokerA will
> reconnect brokerB,and messages still send.but now ,when we update to
> activemq 5.9,messages cant send from brokerA to brokerB.
> And why? Whats the difference between 5.7 and 5.9 on static network
> connector?
>
>
> Best regards,
> -John
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Duplex-networkConnector-can-not-reconnect-when-network-is-restored-on-ActiveMQ-5-9-tp4678187.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to