[ 
https://issues.apache.org/activemq/browse/CAMEL-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52203#action_52203
 ] 

Claus Ibsen commented on CAMEL-1697:
------------------------------------

Okay looks like I got the doTry sorted as well

{code}
                from("direct:start")
                    .doTry()
                        .process(new ProcessorFail())
                        .to("mock:result")
                    .doCatch(Exception.class)
                        .process(new ProcessorHandle())
                    .doFinally()
                        .to("mock:finally")
                    .end()
                    .to("mock:last");
{code}

Works as expected now.
So mock:last is always invoked as it comes after the big try ... catch .. 
finally block.

> Java DSL for multicast, split, aggregate does not use block explicit
> --------------------------------------------------------------------
>
>                 Key: CAMEL-1697
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1697
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> When using one of the EIP that uses a nested route for sub processing, 
> typically EIPs that does some sort of aggregation such as
> - multicast (for aggregating a response)
> - split
> - aggregate
> And maybe a few others
> They should use pushBlock so the {{end()}} DSL to indicate end of sub route 
> works correctly in Java DSL.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to