[ 
https://issues.apache.org/jira/browse/QPID-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajith Attapattu updated QPID-1649:
-----------------------------------

    Attachment: FailoverExchange.patch

The following approach was taking in the attached patch
The connection URL will contain the address for a particular node within the 
cluster and also specify "failover_exchange" as the failover method.
Ex 
"amqp://guest:gu...@clientid/testpath?brokerlist='tcp://localhost:5672?'&failover='failover_exchange'"

The FailoverExchange is implemented as a FailoverMethod and extends the current 
FailoverRoundRobinServers method.
Instead of using the list of brokers from the URL the FailoverMethod will 
subscribe to the FailoverExchange and update the list of brokers when ever it 
gets a notification message.

> Add FailoverExchange support to the java client
> -----------------------------------------------
>
>                 Key: QPID-1649
>                 URL: https://issues.apache.org/jira/browse/QPID-1649
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Java Client
>    Affects Versions: M4
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: M5
>
>         Attachments: FailoverExchange.patch
>
>
> The failover exchange defined in the AMQP 0-10 spec sends cluster membership 
> details to any queue thats bound to it.
> Currently the C++ broker cluster support uses this to inform clients of about 
> changes in cluster membership.
> The java client needs to support to use this feature

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to