You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by zkjiang <zk...@gmail.com> on 2015/11/24 16:55:37 UTC
How can I write log while using retryWhile kept retrying
When using
<onException>
...
<retryWhile>..
</retryWhile>
<log message="${exception.message}" loggingLevel="ERROR" />
</onException>
it seems kept retrying without log output.
--
View this message in context: http://camel.465427.n5.nabble.com/How-can-I-write-log-while-using-retryWhile-kept-retrying-tp5774350.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How can I write log while using retryWhile kept retrying
Posted by zkjiang <zk...@gmail.com>.
I used <redeliveryPolicy retryAttemptedLogLevel="WARN"/> attribute, this
works for me.
--
View this message in context: http://camel.465427.n5.nabble.com/How-can-I-write-log-while-using-retryWhile-kept-retrying-tp5774350p5774351.html
Sent from the Camel - Users mailing list archive at Nabble.com.