How to properly pass/handle Exceptions with an Async Camel Rest Application

2018-08-02 Thread Philipp Zach
Hello all! I am currently working on an async Camel Rest application with several components. 1.) I have a "Request handler" that is responsible for all user-Rest requests. It accepts a get input and responds with a redirect url. 2.) The input is processed, splited, aggregated, etc. in the

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: