Tim Bain wrote > When I Googled for how to set the JMX port of an embedded broker, here's > what I found: broker.getManagementContext().setConnectorPort(9999);
Hint taken. I did google for this, but didn't get past the hits to the activemq site to find http://stackoverflow.com/questions/6521898/how-do-i-specify-the-jmx-port-for-an-embedded-activemq-instance I need to change my search habits to look past the initial hits. Thanks for finding this for me. Tim Bain wrote > And as I was typing that, I figured out what the problem is: your > networkConnectors are using the default networkTtl of 1, which means that > messages can only be forwarded to one additional broker before being > consumed, and your topology requires two forwards. Set that to 2 and I > think your tests will work. That was it. I set both publisher and subscriber to networkTTL(10) and everything started working. Thanks for all your help. I realize now that I need to read through the javax.jms api docs to get better familiar with all the tweaks. ----- Regards, Shackman -- View this message in context: http://activemq.2283324.n4.nabble.com/Persistent-messages-not-moving-from-embedded-broker-to-remote-broker-tp4702884p4703107.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.