1 Reply Latest reply on Dec 12, 2008 4:13 AM by rdavies

    Problem with Network Connectors

    james.kavanagh

      Hi there,

       

      I'm using network connectors to connecter a source broker to an active/passive pair of target brokers with the spring configuration contained in the attached file.

          

      Note ${target.url} contains more than one host e.g.

      tcp://mybroker1:61616,tcp://mybroker2:61616

       

      I keep seeing the following in the log:

      NetworkBridge: java.util.concurrent.ThreadPoolExecutor$Worker@58886ad0 ERROR org.apache.activemq.broker.TransportConnection.Service - Async error occurred: javax.jms.InvalidClientIDException: Broker: source-pqagmr01.pqa.ham.uk - Client: NC_target-pqagmr03.pqa.ham.uk_inboundsource-pqagmr01.pqa.ham.uk already connected from vm://source-pqagmr01.pqa.ham.uk#0

      javax.jms.InvalidClientIDException: Broker: source-pqagmr01.pqa.ham.uk - Client: NC_target-pqagmr03.pqa.ham.uk_inboundsource-pqagmr01.pqa.ham.uk already connected from vm://source-pqagmr01.pqa.ham.uk#0

       

      I Googled this and came up with a solution which says that the brokers must all have different names and that that will eradicate the problem but they already do have different names so I'm a bit stumped. Can anyone help?

       

      Cheers,

      James

       

      Edited by: james.kavanagh on Nov 24, 2008 8:55 AM