You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by "Gibson, Jack" <ja...@paypal.com.INVALID> on 2015/09/10 17:33:30 UTC
Dispatch Link Routing
Trying to move from waypoints to link routing and can't seem to get it to work...
Waypoint setup:
Stand-Alone Router or Interior
- 2 Brokers each with a queue named fooQueue
Goal send/recv messages with a spread bias between both brokers using a single address/prefix
Here's the waypoint setup:
connector {
name: broker136
role: on-demand
addr: 172.17.0.136
port: 5672
sasl-mechanisms: ANONYMOUS
}
waypoint {
address: foo
connector: broker136
in-phase: 0
out-phase: 1
}
fixedAddress {
prefix: foo
phase: 0
fanout: single
bias: closest
}
fixedAddress {
prefix: foo
phase: 1
fanout: single
Any ideas on how to setup the link Route pattern to do the same thing?
Gibson, Jack
Chief Architect - Core Payments Platforms
PayPal
Re: Dispatch Link Routing
Posted by Ted Ross <tr...@redhat.com>.
Hi Jack,
There's a Jira about this here:
https://issues.apache.org/jira/browse/DISPATCH-126
Link routing doesn't properly distribute routed links across multiple
brokers. It will pick the "first" one for all links.
Once this is fixed, link routing will distribute different links to
different instances of a destination if there are more than one. Once
the link is established, it will of course stay attached to the same
instance for its lifetime.
-Ted
On 09/10/2015 11:33 AM, Gibson, Jack wrote:
> Trying to move from waypoints to link routing and can't seem to get it to work...
>
> Waypoint setup:
>
> Stand-Alone Router or Interior
> - 2 Brokers each with a queue named fooQueue
>
> Goal send/recv messages with a spread bias between both brokers using a single address/prefix
>
> Here's the waypoint setup:
>
> connector {
> name: broker136
> role: on-demand
> addr: 172.17.0.136
> port: 5672
> sasl-mechanisms: ANONYMOUS
> }
>
> waypoint {
> address: foo
> connector: broker136
> in-phase: 0
> out-phase: 1
> }
>
> fixedAddress {
> prefix: foo
> phase: 0
> fanout: single
> bias: closest
> }
>
> fixedAddress {
> prefix: foo
> phase: 1
> fanout: single
>
>
> Any ideas on how to setup the link Route pattern to do the same thing?
>
> Gibson, Jack
> Chief Architect - Core Payments Platforms
> PayPal
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org