It's not difficult to implement this kind feature on the ErrorHandler. Please fill a JIRA[1] for it. And we are welcome the contribution.
[1]https://issues.apache.org/jira/browse/CAMEL On Tue Feb 14 20:19:17 2012, Alessio Giannetti wrote:
Using Camel I noticed that the PropertiesComponent works only on the Uri definition. Could I suggest to make the PropertiesComponent working on errorHandler definition? Normally properties like maximumRedeliveries, redeliverDelay, retryAttemptedLogLevel for the redelivery policy used by the errorHandler are make configurable. I had to put the configuration of my errorHandler and redeliveryPolicy out of the camel context to use the spring's placeholder. What do you think about it?
-- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Weibo: willemjiang -- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Weibo: willemjiang