The CPP client doesn't support discovery. Regards Tim
On Fri, 2007-10-19 at 11:10 -0700, appi03 wrote: > > I am trying to use the multicast discovery protocol and having some trouble > with it. I think i have the broker configuration down. > > Client 1 (Producer) -> Broker 1 > <transportConnector uri="tcp://localhost:61616" > discoveryUri="multicast://prod1"/> > > <networkConnector name="producer" uri="multicast://prod1" /> > > > Client 2 (Consumer) -> Broker 2 > <transportConnector uri="tcp://localhost:61616" > discoveryUri="multicast://cons1"/> > > <networkConnector name="producer" uri="multicast://cons1" /> > > > > But I am not sure how to configure the client side. this is what I have. > > Client 1 > std::string brokerURI = > "tcp://localhost:61616" > "discovery:multicast://prod1" > "&transport.useAsyncSend=true"; > > ActiveMQConnectionFactory( brokerURI ); > > > Client 2: > std::string brokerURI = > "tcp://localhost:61616" > "discovery:multicast://cons1"; > > ActiveMQConnectionFactory( brokerURI ); > > So when I start the brokers, I can see the connection being established > between two brokers. But the client 2 never sees any messages produced by > cllient 1. > > I am sure it's the way I am configuring it. I can't seem to find any > documentation on how to configure the connection factory while using > discovery. > > If anyone has any idea please let me know. > > thanks, > arpit