[ 
https://issues.apache.org/jira/browse/QPID-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14243846#comment-14243846
 ] 

Jan Rinze commented on QPID-4077:
---------------------------------

This is a really valuable add-on.
There currently seems to be no other way to implement guaranteed one time 
delivery of messages to multiple receivers in order to implement a bus-like 
services oriented architecture.

> Load-balance delivery of messages across bindings
> -------------------------------------------------
>
>                 Key: QPID-4077
>                 URL: https://issues.apache.org/jira/browse/QPID-4077
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker
>            Reporter: Andy Goldstein
>            Priority: Minor
>         Attachments: QPID-4077-load-balanced-bindings.patch
>
>
> When an exchange receives a message that it needs to route, currently it will 
> deliver it to all queues that have matching bindings.  It may be useful to be 
> able to load balance the routing of messages across a group of queues, 
> instead of delivering to all of them.  For example, if you have one exchange 
> and 3 queues: q1, q2, q3.  You could create bindings like this:
> qpid-config bind amq.topic q1 "usa.#" qpid.binding.load-balanced=1
> qpid-config bind amq.topic q2 "usa.#" qpid.binding.load-balanced=1
> qpid-config bind amq.topic q3 "usa.#" qpid.binding.load-balanced=1
> When amq.topic receives a message that matches usa.#, it would try to 
> round-robin the delivery of messages to q1, q2, and q3, instead of delivering 
> a copy of each message to each queue.



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

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

Reply via email to