Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-495

Network bridge connections should set a client ID so that durable subs work.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0 M4
    • 4.0 M4
    • Broker
    • None

    Description

      Posted on the forum: http://forums.logicblaze.com/posts/list/208.page

      I am using the sample code "TwoBrokerTopicSendReceiveUsingJavaConfigurationTest .java" to bridge two brokers.

      I get following exception

      17 Jan 2006 19:26:58,237 WARN [Thread-5] network.DemandForwardingBridge (serviceLocalCommand:387) - Unexpected local command: ConnectionError

      {commandId=2, responseRequired=false, connectionId=null, exception=javax.jms.InvalidClientIDException: No clientID specified for connection request}


      Jan 17, 2006 7:26:58 PM org.apache.catalina.core.StandardHost getDeployer

      i am using following sippet
      NetworkConnector connector = getBroker().addNetworkConnector("static:failover:" + remoteURI);

      Broker1 URI : tcp://localhost:61616
      Broker2 URI : tcp://localhost:61617

      These are two embedded brokers running inside two separate webapps, but same tomcat.

      Any idea, what is missing?

      Attachments

        Activity

          People

            rajdavies Robert Davies
            chirino Hiram R. Chirino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: