On 30/09/16 08:59, Adel Boutros wrote:
Hello,


As a follow up to my previous thread, I am having some issues with the dispatch 
router.

I will start with the first one here:

It seems the "name" attribute doesn't work for all types of entities. So, I cannot delete 
them using the "name" attribute.

I think this may be https://issues.apache.org/jira/browse/DISPATCH-500, which is now fixed on master.

I have tested it on 4 types of entities and here are my findings:

* Connector --> It works

* Listener --> It works

* Address --> It fails

* AutoLink --> It fails


With the below config, when I query the dispatch router, it doesn't show the "name" 
attribute for my "address":


qdmanage -b amqp://localhost:10801 query --type=address
[
  {
    "egressPhase": 1,
    "ingressPhase": 0,
    "prefix": "testQueue",
    "waypoint": true,
    "distribution": "balanced",
    "type": "org.apache.qpid.dispatch.router.config.address",
    "identity": "1"
  }
]

qdmanage -b amqp://localhost:10801 query --type=listener
[
  {
    "stripAnnotations": "both",
    "addr": "0.0.0.0",
    "requireSsl": false,
    "idleTimeoutSeconds": 16,
    "saslMechanisms": "ANONYMOUS",
    "maxFrameSize": 16384,
    "requireEncryption": false,
    "host": "127.0.0.1",
    "cost": 1,
    "role": "normal",
    "authenticatePeer": false,
    "type": "org.apache.qpid.dispatch.listener",
    "port": "10801",
    "identity": "listener/127.0.0.1:10801:mainListener",
    "name": "mainListener"
  }
]


-----------------------------------------------------------
Router config:
router {
    mode: interior
    routerId: router.10801
}

listener {
    name: mainListener
    addr: 0.0.0.0
    port: 10801
    role: normal
    saslMechanisms: ANONYMOUS
    requireSsl: no
    authenticatePeer: no
}

address {
    name: testQueue.addr
    prefix: testQueue
    waypoint: yes
}


Regards,

Adel



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

Reply via email to