qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Leu <b2...@mail.com>
Subject Re: [Qpid Dispatch] router config question
Date Tue, 26 Jan 2016 18:47:57 GMT
C.conf:
=====

container {
    workerThreads: 4
    containerName: Qpid.Dispatch.Router.C
}

listener {
    addr: 0.0.0.0
    port: 20103
    saslMechanisms: ANONYMOUS
}

connector {
    role: inter-router
    addr: 0.0.0.0
    port: 20102
    saslMechanisms: ANONYMOUS
}

router {
    mode: interior
    routerId: QDR.C
}

fixedAddress {
    prefix: /closest/
    fanout: single
    bias: closest
}

fixedAddress {
    prefix: /spread/
    fanout: single
    bias: spread
}

fixedAddress {
    prefix: /multicast/
    fanout: multiple
}

fixedAddress {
    prefix: /
    fanout: multiple
}

log {
    module: ROUTER
    enable: trace+
}

The difference between B.conf and C.conf:

19c19
<     containerName: Qpid.Dispatch.Router.B
---
>     containerName: Qpid.Dispatch.Router.C
28c28
<     port: 20101
---
>     port: 20103
41c41
<     routerId: QDR.B
---
>     routerId: QDR.C

>From qdstat on router A, closest/q is mobile local (count=2) in case#1 and
mobile remote (count=2) in case #2.  But somehow the two cases have
different behaviors in message distribution.

$ qdstat -a -b 0.0.0.0:20100
                               local   remote
mobile closest/q


-Eric



--
View this message in context: http://qpid.2158936.n2.nabble.com/Qpid-Dispatch-router-config-question-tp7637239p7637319.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message