camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [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
Date Mon, 05 Jul 2010 05:28:51 GMT

    [ 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.


Mime
View raw message