activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdiesenhaus <brian.diesenh...@ironmountain.com>
Subject Proxy Connectors and Multicast Discovery
Date Tue, 25 Jul 2006 15:05:28 GMT

Is it possible to use a Proxy Connector with multicast discovery?

 If you had a broker set up like this:

brokerService = new BrokerService();
brokerService.setBrokerName("bfe");
brokerService.setPersistent(false);
brokerService.setUseJmx(true);
		
TransportConnector tConnector = new TransportConnector();
tConnector.setConnectUri(new URI("tcp://localhost:61616"));
		
brokerService.addConnector(tConnector);
		
ProxyConnector pConnector = new ProxyConnector();
pConnector.setName("bfe-proxy");
pConnector.setBind(new URI("tcp://localhost:61617"));
pConnector.setRemote(new URI("multicast://bfe"));
		
brokerService.addProxyConnector(pConnector);

brokerService.start();

Then the client is sending messages to tcp://localhost:61616. Is it possible
to have another client receiving messages on discovery:multicast://bfe?

Thanks,
Brian

-- 
View this message in context: http://www.nabble.com/Proxy-Connectors-and-Multicast-Discovery-tf1998790.html#a5487053
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message