Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-2151

failover option maxReconnectAttempts is not working.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Not A Problem
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0
    • Component/s: JMS client
    • Labels:
      None
    • Environment:

      OS is Windows XP

      Description

      I have only one broker is my environment and I am using the failover url in my client code.
      The failover url is
      failover:(tcp://localhost:61616)?maxReconnectAttempts=1000&maxReconnectDelay=10000

      I have specified maxReconnectAttempts as 1000 so if my broker is down my client will try atleast 1000 times for reconnect before giving the error.
      But as soon as my broker is down, my client exits after trying one time to reconnect.
      My client is supposed to try atleast 1000 times to reconnect.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              meetvijayat Vijay Kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: