You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by jonathan_at_svg <jo...@springventuregroup.com> on 2015/09/28 22:58:40 UTC

Duplex isn't working connecting an embedded broker to a external broker

Duplex isn't working connecting an embedded broker to a external broker.

I'm using Apache TomEE with this URL:

BrokerXmlConfig =
broker:(vm://tomee1,network:static:(tcp://external-activemq-server:61616)?duplex=true)?persistent=true&amp;brokerName=tomee1

I *do* see the connection on the ActiveMQ Console. I *do not* see a network
bridge being setup. And we're having trouble getting messages to to Topic
consumers.

Any help or advice appreciated!



--
View this message in context: http://activemq.2283324.n4.nabble.com/Duplex-isn-t-working-connecting-an-embedded-broker-to-a-external-broker-tp4702392.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Duplex isn't working connecting an embedded broker to a external broker

Posted by Rob Davies <ra...@gmail.com>.
This might help - https://github.com/apache/activemq/blob/master/activemq-unit-tests/src/test/java/org/apache/activemq/network/DuplexNetworkTest.java <https://github.com/apache/activemq/blob/master/activemq-unit-tests/src/test/java/org/apache/activemq/network/DuplexNetworkTest.java>
> On 6 Oct 2015, at 16:33, jonathan_at_svg <jo...@springventuregroup.com> wrote:
> 
> Yes, we did try that as well (duplex=true on the network connector) with no
> luck. The embedded broker connects but on the console of the external
> activemq instance, it does not create a network bridge and messages do not
> flow from the embedded broker to the external broker.
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Duplex-isn-t-working-connecting-an-embedded-broker-to-a-external-broker-tp4702392p4702666.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Duplex isn't working connecting an embedded broker to a external broker

Posted by jonathan_at_svg <jo...@springventuregroup.com>.
Yes, we did try that as well (duplex=true on the network connector) with no
luck. The embedded broker connects but on the console of the external
activemq instance, it does not create a network bridge and messages do not
flow from the embedded broker to the external broker.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Duplex-isn-t-working-connecting-an-embedded-broker-to-a-external-broker-tp4702392p4702666.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Duplex isn't working connecting an embedded broker to a external broker

Posted by Tim Bain <tb...@alumni.duke.edu>.
Have you tried using an XML config file instead of the broker URI syntax?
I can't help with the latter (no prior experience with broker URIs, sorry),
but lots of people on this list have experience getting an XML config file
to work, so you'd have a better shot at getting help.

Tim

On Mon, Oct 5, 2015 at 9:24 AM, jonathan_at_svg <
jonathan@springventuregroup.com> wrote:

> Hey Guys,
>
> Still wondering how to set duplex=true using the broker URI syntax. Any
> help
> appreciated!
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Duplex-isn-t-working-connecting-an-embedded-broker-to-a-external-broker-tp4702392p4702598.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Re: Duplex isn't working connecting an embedded broker to a external broker

Posted by jonathan_at_svg <jo...@springventuregroup.com>.
Hey Guys,

Still wondering how to set duplex=true using the broker URI syntax. Any help
appreciated!



--
View this message in context: http://activemq.2283324.n4.nabble.com/Duplex-isn-t-working-connecting-an-embedded-broker-to-a-external-broker-tp4702392p4702598.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.