camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfred Hiebl <>
Subject Re: Route with choice and split
Date Tue, 10 May 2011 07:27:02 GMT

I saw that this topic has been discussed several times before and realize
that the Java has its limitations there. We are facing the same problem with
split() in combination with doTry/doCatch(). 

Could you also add a method "endDoTry()" to the ProcessorDefinition? My use
case is this:

  public void configure() throws Exception {
                .endDoTry()  // would need some way like this to get back to
the TryDefinition

I tested this by adding endDoTry() to the ProcessorDefinition, and it works
just fine.

  public TryDefinition endDoTry() {
       return (TryDefinition) this;

An endDoCatch in the TryDefinition would be great too. Is it possible that
these endXXX() methods get added to 2.6.0, not just 2.7.0 or trunk? 

Best regards,

PS: I added the same post to the camel-dev group, but had some issues with
Nabble. See

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message