I'm not entirely clear what your question is... but I'll give it a shot... If a broker with a network connector loses connectivity to the network, the "static:" part of the network uri will use a discovery mechanism that continues to try to reconnect. When the network comes back, the connections should be re-established.
On Fri, May 10, 2013 at 10:48 AM, Raji <mini_...@yahoo.com> wrote: > I have this network connector configuration on both client and server > machine. > <networkConnectors> > <networkConnector name="network" uri="static:(tcp://hostname)" > networkTTL="4" conduitSubscriptions="false" duplex="true"> > <excludedDestinations> > <queue physicalName=">"/> > </excludedDestinations> > </networkConnector> > </networkConnectors> > > When the network is down the activemq logs shows that the vm://local host > is started . > > Through java code I create list of activemq connections to all the > hostdetails and store them to send the messages in future. > When the network is down the message was sent successfully eventhough there > is no network connections between client and server using the connection > details. > The message is not recieved by client. > My java code did not give me error for the same. Is there any way to detect > the connection closed details and update my connection list? > By default, network connectors are initiated serially as part of the broker > start up sequence. > when the network is down localhost is started and how to make it connect > automatically when the network is up.Is there any way to do it rather > restarting activemq. > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Question-regarding-networkConnectors-tp4666914.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta