[ https://issues.apache.org/activemq/browse/AMQ-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50494#action_50494 ]
Vijay Kumar commented on AMQ-2151: ---------------------------------- This is not an issue as my script exits before FailoverTransport retry the required reconnect attempts . > failover option maxReconnectAttempts is not working. > ---------------------------------------------------- > > Key: AMQ-2151 > URL: https://issues.apache.org/activemq/browse/AMQ-2151 > Project: ActiveMQ > Issue Type: Bug > Components: JMS client > Affects Versions: 5.2.0 > Environment: OS is Windows XP > Reporter: Vijay Kumar > Priority: Blocker > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.