1 Reply Latest reply on May 17, 2013 10:07 PM by roboticon

    Adding JMS route may block

    roboticon

      According to this issue which was resolved in Camel 2.10, a Camel AddRoute may block when using AMQ failover and one broker is down.

       

      https://issues.apache.org/jira/browse/CAMEL-4770

      http://grokbase.com/t/camel/users/11by4m0k0c/adding-jms-route-may-block-if-remote-is-down-using-failover-connection

       

      My Camel route hangs although my distributed brokers are all active.   

       

      I'm using Fuse Camel 2.8.0. 

      - The route consumes from a durable JMS topic

      - It works perfectly when the brokerURL uses a single broker,

      - The route hangs on startup when the brokerURL contains "failover://(ssl://node:port,ssl:node:port)"

       

      I've independently confirmed distributed broker connectivity using the Fuse mq-client sample app

       

      When a timeout setting is used in the failover brokerURL, the route will start, but throws an exception (which I have not yet attempted to handle), and the route is not added.

       

      Any suggestions?

       

      Thanks,

      --scott c.

        • 1. Re: Adding JMS route may block
          roboticon

          - A Java stack trace showed the app was blocking in AMQ's Failover.java.

          - The problem went away when ssl was replaced with tcp

          - Upgrading to Camel 2.11.0 had no effect

           

          Upgrading to ActiveMQ 5.8.0 made the problem go away.

           

          --scott c.