Announcement Announcement Module
Collapse
No announcement yet.
Connection Failover Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      Excellent, thanks for the response.

      I will take a look at your repo now.

      Comment

      Working...
      X