Andy Goldstein created QPID-4077:
------------------------------------

             Summary: 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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to