I am just looking at 
http://camel.apache.org/content-based-router.html
so seems like my initial thoughts were close.

--Matt



SoaMattH wrote:
> 
> 
> I am using camel 2.0.
> I want to call a bean as part of my xml route configuration and 
> then evaluate where to go with somthing like:
> 
> ....
> <camel:to uri="bean:recieverA?method=processA" />
> <camel:choice>
>     <camel:when>
>         <camel:el></camel:el>
>         <camel:to ref="EndPointA"/>
>     </camel:when>
>     <camel:when>
>         <camel:el></camel:el>
>         <camel:toref="EndPointB"/>
>     </camel:when>
> </camel:choice>
> .....
> 
> are there any examples of how this is done ?
> 
> --Matt
> 
> 
>         
> 


-----
/* ----------------------
** Matt Hannay
** Unix Java C
** Software Engineer
** ------------------- */
-- 
View this message in context: 
http://old.nabble.com/Not-sure-of-syntax-or-if-its-possible-or-an-example-tp26975789p26976141.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to