Is this prior thread the same issue you're seeing? http://activemq.2283324.n4.nabble.com/Duplex-isn-t-working-connecting-an-embedded-broker-to-a-external-broker-td4702392.html
Rob linked to a unit test in that thread, but it wasn't obvious to me how that test addressed the OP's issue. Tim On May 4, 2016 2:52 PM, "exabrial" <exabr...@gmail.com> wrote: > Hello everyone, > > I'm trying to create a duplex bridge from an TomEE server to an ActiveMQ > master broker. > > <Resource > id="ActiveMQResourceAdapter" > type="ActiveMQResourceAdapter"> > > > BrokerXmlConfig=broker:(vm://localhost,network:static:tcp://localhost:61616)?useJmx=false > ServerUrl=vm://localhost?async=true > </Resource> > > This works, but only in one direction. > > > I suspect the answer would be to do this: > > <Resource > id="ActiveMQResourceAdapter" > type="ActiveMQResourceAdapter"> > > > BrokerXmlConfig=broker:(vm://localhost,network:(static:tcp://localhost:61616)?duplex=true)?useJmx=false > ServerUrl=vm://localhost?async=true > </Resource> > > However that results in a parse error. I feel like I'm missing something > obvious. Thank you! > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/How-does-one-create-a-duplex-connection-using-the-Broker-URI-tp4711572.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >