activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Persistent messages not moving from embedded broker to remote broker
Date Fri, 16 Oct 2015 13:01:32 GMT
You're right, I went back and looked at the wrong line of your code.  I was
looking for the URL you're using for the networkConnector, but found the
one for the producer instead.  The networkConnector already has static, so
you can ignore this question entirely.  Sorry for the confusion.
On Oct 15, 2015 8:08 AM, "shackman" <f.shackelford@topdesk.com> wrote:

> 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:
> http://activemq.2283324.n4.nabble.com/Persistent-messages-not-moving-from-embedded-broker-to-remote-broker-tp4702884p4702998.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message