camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-1697) Java DSL for multicast, split, aggregate does not use block explicit
Date Thu, 11 Jun 2009 11:45:35 GMT

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

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

Got myself into knee deep on this one. I gotta it sorted exception that doTry .. doCatch and
doFinally also need to use end() to indicate end of each of their block.
So you can end up with having to 2 x end() might not be intuitive

{code}
doTry()
   ...
doCatch()
   ..
end() // to end do catch
end() // to end do try
// now we can continue the route
{code}

I will look into allowing you to only set 1 end as when you are in a doCatch Camel knows there
is a doTry also.

> 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.


Mime
View raw message