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

Claus Ibsen commented on CAMEL-7504:
------------------------------------

I wonder if we need an option to reject them messages silently? eg today you 
get this exception which may be noisy in the logs out of the box. Maybe in some 
use cases you do not care if the message was discarded?

Also {{RejectedExecutionException}} is a generic exception so you cannot easily 
configure the error handler today to ignore this exception, as you would need 
to check the exception message text being `Exceed the max request limit!` to 
know its from a throttler

> Improve the throttler to have discarding/filtering capabilities
> ---------------------------------------------------------------
>
>                 Key: CAMEL-7504
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7504
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, eip
>            Reporter: David J. M. Karlsen
>            Assignee: Willem Jiang
>             Fix For: 2.14.0
>
>
> It would be nice if the throttler, http://camel.apache.org/throttler.html, 
> could discard/filter the messages exceeding the limit.
> My usecase is to send alerts to a alering route, and stick the trottler in 
> front of an smtp endpoint to limit the number of emails sent during a period.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to