You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/07/05 07:28:51 UTC

[jira] Commented: (CAMEL-2900) if an ftp consumer gives up reconnecting, the consumer is still listed as "started" it should say "stopped retrying" or similar

    [ https://issues.apache.org/activemq/browse/CAMEL-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60419#action_60419 ] 

Claus Ibsen commented on CAMEL-2900:
------------------------------------

The consumer is still started and will retry on next poll.

What you are looking for is notifications to be emitted when a consumer failed. For example to JMX or whatever.
For that we got the EventNotifier, which we maybe could extend to have a {{ConsumerFailedEvent}} which we can hook into the ExceptionHandler that the DefaultConsumer provides. Then we can let exceptions be handled by it and it can emit the notification.



> if an ftp consumer gives up reconnecting, the consumer is still listed as "started" it should say "stopped retrying" or similar
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2900
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2900
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>    Affects Versions: 2.3.0
>            Reporter: Karl Palsson
>            Priority: Minor
>             Fix For: Future
>
>
> when an ftp consumer gives up retrying connections, (because the default is 3) the consumer status (read via JMX) is still listed as "Started"  It would be nice, and certainly have helped debugging why things weren't working, if this said something like "Stopped-Retries Exceeded" or something.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.