activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shackman <>
Subject Re: Persistent messages not moving from embedded broker to remote broker
Date Thu, 15 Oct 2015 13:58:00 GMT
Tim Bain wrote
> all the examples I'm used to seeing use either static:, failover:, or
> masterslave: protocols to wrap the tcp: protocol for their
> networkConnectors.  Can you try using "static:(tcp:" + REMOTE_BROKER_URL +
> ")" when creating your ActiveMQConnectionFactory and see if the behavior
> changes?

I'm not sure what you are asking me to do. That particular networkConnector
works (publish2EmbeddedBroker = false). It's the other path that uses the
embedded broker ("vm://" + EMBEDDED_BROKER_NAME) that's not working
(publish2EmbeddedBroker = true). you will note that the embedded broker's
networkConnection uses the format you specify.

Perhaps copying this code and and running it locally might better
demonstrate the problem? Is there a better way to share code than in a post,
like an attached zip file?

Here's the latest incarnations of PublishTopicTest and SubscribeTopicTest:

Tim Bain wrote
> Also, your current setup doesn't provide fault tolerance for the
> standalone
> broker itself.  Do you need it to?

thanks for hanging in here with me

Regards, Shackman
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message