You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Rob Davies (JIRA)" <ji...@apache.org> on 2009/09/14 14:57:12 UTC
[jira] Assigned: (AMQ-2385) Failover transport - add new option for
maximum attempts for startup only
[ https://issues.apache.org/activemq/browse/AMQ-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Davies reassigned AMQ-2385:
-------------------------------
Assignee: Rob Davies
> Failover transport - add new option for maximum attempts for startup only
> -------------------------------------------------------------------------
>
> Key: AMQ-2385
> URL: https://issues.apache.org/activemq/browse/AMQ-2385
> Project: ActiveMQ
> Issue Type: New Feature
> Components: Transport
> Affects Versions: 5.2.0
> Reporter: Claus Ibsen
> Assignee: Rob Davies
>
> See AMQ-2114 for background.
> And from this discussion
> http://www.mail-archive.com/dev@activemq.apache.org/msg09960.html
> I do believe it would be great if there was 2 options to set the maxReconnectAttempts option
> - maxReconnectAttempts = the existing we have now for reconnecting when consumer has been started
> - startupMaxReconnectAttempts = a new option when starting consumer to avoid it potentially blocking for a very long time in case of connection not possible
> For example when end users use Camel or other other frameworks with AMQ where it acts as a client to consume from a AMQ queue it will hang/block on startup if the connection cannot be established. So we end up in a catch-22 situation.
> We want to just try a X number of times and then go on so the rest can start up properly. And the the AMQ consumer should remedy the issue itself over time by automatic under the covers try to reconnect (based on the maxReconnectAttempts) option.
> And you could also support (if not already) setting the values to -1 to indicate forever. Then you can configure these options explict to highlight this fact, for example
> {code}
> startupMaxReconnectAttempts=5&maxReconnectAttempts=-1
> {code}
> See also details here
> http://fusesource.com/forums/thread.jspa?messageID=4347჻
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.