Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1172

Link routes and auto links activated on wrong connections if many route-container conns exist

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: Container
    • Labels:
      None

      Description

      Run the following script

       

      #!/usr/bin/env bash
      
      qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.address prefix=dest waypoint=true
      qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.address prefix=sub waypoint=true
      
      for i in {1..10}; do
          qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.connector host=0.0.0.0 port=5672 name=broker_conn${i} role=route-container
      done
      
      for i in {1..10}; do
          qdmanage  -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.autoLink addr=dest direction=out name=auto-link-dest${i} connection=broker_conn${i}
      done
      
      for i in {1..10}; do
          qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.autoLink addr=sub direction=in name=auto-link-sub${i} connection=broker_conn${i}
      done

       

      all auto links will be activated against all connections. This happens also with link routes.

       

      This problem happens due to the way the connections are aggregated under a single container id. The connections should also get their own connection ids.

        Attachments

          Activity

            People

            • Assignee:
              ganeshmurthy Ganesh Murthy
              Reporter:
              ganeshmurthy Ganesh Murthy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: