[
https://issues.apache.org/jira/browse/DISPATCH-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14901595#comment-14901595
]
Jack Gibson commented on DISPATCH-170:
--------------------------------------
Bit more playing with this issue...
A duplicate way point can be created and messages will be sent as expected
qdmanage -b 172.17.0.2 create type=waypoint connector=broker3 outPhase=1
inPhase=0 address=foo
{
"name": "waypoint/1",
"inPhase": 0,
"connector": "broker3",
"outPhase": 1,
"address": "foo",
"type": "org.apache.qpid.dispatch.waypoint",
"identity": "waypoint/1"
}
But duplicate address exist as a result so issues with consuming messages.
> 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: [email protected]
For additional commands, e-mail: [email protected]