I'm not sure in understand what you mean, the Camel examples are very complex indeed. A quick concrete example of what you're after would help greatly.
-- John > On 13 Feb 2014, at 00:20, Maruan Sahyoun <sahy...@fileaffairs.de> wrote: > > Hi, > > what do you think of having an exception handling in pdfbox where people > could define their own handlers. Something similar to > > https://camel.apache.org/exception-clause.html > > The benefit would be that we could pass the context e.g. during PDF parsing > and the handler could return something which is than taken as the input. In > addition to that maybe we can think about having some additional types of > exceptions instead of mostly IOException to support that. > > BR > Maruan Sahyoun >