Results 1 to 3 of 3

Thread: Connection Failover

  1. #1
    Join Date
    Mar 2012
    Posts
    7

    Default Connection Failover

    In the recent video posted on springsource.org, Video: Messaging for Modern Applications, Tom McCuch demonstrates a high availability setup where a spring-amqp consumer performs a failover of its connection to an alternate rabbitmq server in a cluster.

    The connection factory configuration he used was:

    Code:
    <rabbit:connection-factory id="rabbitConnectionFactory" addresses="172.16.227.150,172.16.227.151"/>
    I got all excited about the prospect of automatic failover support in my application and immediately started to investigate. However, it doesn't appear to be a valid function of the current GA release , the namespace schema rejects the "addresses" property.

    When is this feature likely to be available to all? Is there a build snapshot I can use to test the functionality?

  2. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,037

    Default

    It is currently work-in-process; not yet in a snapshot, but you are welcome (and encouraged!) to clone my repo and give it a spin...

    Code:
    git clone https://github.com/garyrussell/spring-amqp
    
    git checkout AMQP-206b
    
    mvn clean install
    will install a snapshot into your local maven repo.

    If you want a PDF of the updated documentation, including the HA config...

    Code:
    mvn docbkx:generate-pdf
    Any feedback is extremely welcome.

    You can also watch the JIRA - https://jira.springsource.org/browse/AMQP-206

    Planning to release a 1.0.1 build soon.

    Thanks
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

  3. #3
    Join Date
    Mar 2012
    Posts
    7

    Default

    Excellent, thanks for the response.

    I will take a look at your repo now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •