qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "linuxta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DISPATCH-170) qdrouterd should not require a restart after the destination broker restarts
Date Fri, 18 Sep 2015 21:26:04 GMT
linuxta created DISPATCH-170:
--------------------------------

             Summary: qdrouterd should not require a restart after the destination broker
restarts
                 Key: DISPATCH-170
                 URL: https://issues.apache.org/jira/browse/DISPATCH-170
             Project: Qpid Dispatch
          Issue Type: Improvement
          Components: Routing Engine
    Affects Versions: 0.4
         Environment: Fedora and CentOS
            Reporter: linuxta


config router to connect to two brokers.  1) If I restart broker 1, qdrouterd will forward
messages to broker 2 but not broker 1.  2) If I also restart broker 2, qdrouterd will not
forward messages to broker 2 either.  I have to restart qdrouterd for that to distribute messages
between the two brokers after broker restart.   The fix is not to require a restart of the
router.

config used:
listener {
    addr: 0.0.0.0
    port: amqp
    sasl-mechanisms: ANONYMOUS

}

connector {
    name: broker1
    role: on-demand
    addr: ...
    port: ...
    sasl-mechanisms: ANONYMOUS
}
connector {
    name: broker2
    role: on-demand
    addr: ...
    port: ...
    sasl-mechanisms: ANONYMOUS
}

router {
    mode:standalone 
    router-id: LB_R1
}
waypoint {
    address: user.bar
    out-phase: 1
    in-phase: 0
    connector: broker1
}
waypoint {
    address: user.bar
    out-phase: 1
    in-phase: 0
    connector: broker2
}

fixed-address {
    prefix: /user
    phase: 0
    fanout: single
    bias: spread
}
fixed-address {
    prefix: /user
    phase: 1
    fanout: single
    bias: closest
}

log {
    module: ROUTER
    enable: trace+
}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message