activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Raynsford <>
Subject Re: Programatically setting up a proxying broker
Date Wed, 02 Aug 2017 08:12:08 GMT

On 2017-08-02T00:19:48 -0700
tpavelka <> wrote:

> I know nothing about static destinations but one thing I noticed in your
> Github code: when you add network and transport connectors, you do not start
> them. I tested this with one of my sample ActiveMQ programs and if I don't
> start the connectors then there are no messages flowing.

I see the following in the log without any start() calls:

08:06:50.280 INFO [main] Connector tcp://[fd38:73b9:8748:8f82:0:0:0:2]:61616
08:06:50.370 INFO [main] Network Connector com.io7m.activemq.examples.ForwardingServers$StaticNetworkConnector@5579bb86

... So I don't think that's the problem here. I've added a possibly-redundant
start() call to the network connector anyway. As I initialize the transport
connectors with URIs, I don't actually get direct access to instances upon which
I can call start(), so I've not added anything there.

Mark Raynsford |

View raw message