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: Programatically setting up a proxying broker
Date Sun, 30 Jul 2017 00:57:30 GMT
If you use the TCP transport for the networkConnector between the brokers,
does it work? I've got a half-memory of a mailing list post where someone
found that the NIO transport didn't work in a networkConnector, but I can't
find it now so it's possible I'm misremembering.

Tim

On Jul 29, 2017 2:00 PM, "Mark Raynsford" <list+org.apache.activemq@io7m.com>
wrote:

> 'Lo.
>
> I'm experimenting with configuring a broker P that will simply forward
> all messages to a remote broker R. There will not be any subscribers
> directly accessing P (but multiple producers will send messages to
> queues and topics on P to be forwarded to R).
>
> I have the following small example program that starts up two brokers
> and attempts to get one to forward messages to the other.
> Unfortunately... The subscriber to the receiving broker never sees any
> of the messages. I'm not sure if I'm misunderstanding how message
> relaying is supposed to work, or if I've made some trivial mistake
> somewhere:
>
>   http://ataxia.io7m.com/2017/07/29/ForwardingServers.java
>
> Any insights would be appreciated.
>
> --
> Mark Raynsford | http://www.io7m.com
>

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