You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Vijay Kumar (JIRA)" <ji...@apache.org> on 2009/03/13 08:01:39 UTC
[jira] Closed: (AMQ-2151) failover option maxReconnectAttempts is
not working.
[ https://issues.apache.org/activemq/browse/AMQ-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay Kumar closed AMQ-2151.
----------------------------
Resolution: Working as Designed
Fix Version/s: 5.2.0
This is not an issue as my script exits before FailoverTransport try 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
> Fix For: 5.2.0
>
>
> 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.