Re: Count of number errors during split processed for reporting

2018-08-02 Thread Claus Ibsen
Hi You are falling into a trap that others have done as well, the configure() method on RouteBuilder is only for setting up the route and its invoked only once. So when you do ) .log("FAILURECOUNT 1“+failCount); That line is executed once and the string concat is evaluated to a constant:

Count of number errors during split processed for reporting

2018-08-01 Thread Peck, Sean
Fairly new to Camel, and am using it under springboot. I am attempting to get a Running Failure Count to report it after my route has completed… Code is below. However I am having some sort of scope issue, or something, in my processor where I increment and log out the failCount variable, it