Problem solved, I found out that we can use allowRedeliveryWhileStopping() on
the error handler to force shutdown of a route even with pending exchanges.
So now it works nicely.
Nuno
--
View this message in context:
http://camel.465427.n5.nabble.com/Custom-logging-of-exceptions-by-file-compone
Thank you for all the answers. I solved the problem by adding an
errorHandler() to the route and disabling the logging with
.logStackTrace(false).logExhausted(false)
Now I have a slightly different problem. When the upload to the server
fails, I want to increase exponentially the timeout between
Check out the following links:
http://camel.apache.org/exception-clause.html
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/RedeliveryPolicy.html
Best,
Christian
-
Software Integration Specialist
Apache Camel committer: https://camel.apache.
You can configure the logging level and verbosity on the error handler
/ onException. So you can just turn off stacktrace and change from
ERROR to WARN or even OFF etc.
On Wed, Jul 3, 2013 at 5:51 PM, Nuno Santos wrote:
> Hello everyone,
>
> I'm using the Camel File component to monitor a direc
Take a look at
http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html
I think you can implement a custom event notifier and log everything you
like when ExchangeFailedEvent occurs
--
View this message in context:
http://camel.465427.n5.nabble.com/Custom-loggin