You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org> on 2009/02/05 19:39:59 UTC

[jira] Created: (QPID-1649) Add FailoverExchange support to the java client

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


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:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-1649) Add FailoverExchange support to the java client

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671731#action_12671731 ] 

Rajith Attapattu commented on QPID-1649:
----------------------------------------

The initial implementation is commited to trunk at rev 742260.
The automated tests are work in progress and will be comitted shortly

> 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:dev-subscribe@qpid.apache.org


[jira] Closed: (QPID-1649) Add FailoverExchange support to the java client

Posted by "Rafael H. Schloming (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafael H. Schloming closed QPID-1649.
-------------------------------------


I've reviewed the change.

> 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: Rafael H. Schloming
>             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:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-1649) Add FailoverExchange support to the java client

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671735#action_12671735 ] 

Rajith Attapattu commented on QPID-1649:
----------------------------------------

In order to use the failover exchange you need to specify it as the failover mechanism in the connection URL.
Ex.
amqp://guest:guest@clientid/testpath?brokerlist='tcp://localhost:5672?'&failover='failover_exchange'

Currently this can only be used with the c++ broker.

> 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:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1649) Add FailoverExchange support to the java client

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
     [ 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:guest@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:dev-subscribe@qpid.apache.org


[jira] Resolved: (QPID-1649) Add FailoverExchange support to the java client

Posted by "Rafael H. Schloming (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafael H. Schloming resolved QPID-1649.
---------------------------------------

    Resolution: Fixed
      Assignee: Rafael H. Schloming  (was: Rajith Attapattu)

> 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: Rafael H. Schloming
>             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:dev-subscribe@qpid.apache.org