Ganesh Murthy created DISPATCH-1172:
---------------------------------------

             Summary: Link routes and auto links activated on wrong connections 
if many router container conns exist
                 Key: DISPATCH-1172
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1172
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Container
    Affects Versions: 1.4.1
            Reporter: Ganesh Murthy
            Assignee: Ganesh Murthy
             Fix For: 1.5.0


Run the following script

 
{noformat}
#!/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{noformat}
 

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

 

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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to