You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by kikou1984 <hi...@atos.net> on 2012/08/08 12:05:00 UTC

How can I split the output of a treatment on two roads

Hi,

I got a treatment : 
.bean(EclatDBCRBean.class,"eclatDBCR") , it s output is X ,

I want for X to get in two other treatment !

How can i do please i tried this one but doesn't work : 

//a primary treatment
.bean(EclatDBCRBean.class,"eclatDBCR")
          
// Two others !
.bean(EclatDBCRBean.class,"isListDEB").bean(MappingUDKBean.class,"mapUdkInObj").bean(MappingUDKBean.class,"makeFlatUDK").to("file:///D:/fileCamel/Sortie?fileName=firstUDK.txt")
                           
.bean(EclatDBCRBean.class,"isListCEB").bean(MappingUDKBean.class,"mapUdkInObj").bean(MappingUDKBean.class,"makeFlatUDK").to("file:///D:/fileCamel/Sortie?fileName=firstUDK.txt");


thxs for help.



--
View this message in context: http://camel.465427.n5.nabble.com/How-can-I-split-the-output-of-a-treatment-on-two-roads-tp5716978.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: How can I split the output of a treatment on two roads

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Please use the @user mailinglist for any questions on using Apache Camel.
There is more people there to help you.


On Wed, Aug 8, 2012 at 12:05 PM, kikou1984 <hi...@atos.net> wrote:
> Hi,
>
> I got a treatment :
> .bean(EclatDBCRBean.class,"eclatDBCR") , it s output is X ,
>
> I want for X to get in two other treatment !
>
> How can i do please i tried this one but doesn't work :
>
> //a primary treatment
> .bean(EclatDBCRBean.class,"eclatDBCR")
>
> // Two others !
> .bean(EclatDBCRBean.class,"isListDEB").bean(MappingUDKBean.class,"mapUdkInObj").bean(MappingUDKBean.class,"makeFlatUDK").to("file:///D:/fileCamel/Sortie?fileName=firstUDK.txt")
>
> .bean(EclatDBCRBean.class,"isListCEB").bean(MappingUDKBean.class,"mapUdkInObj").bean(MappingUDKBean.class,"makeFlatUDK").to("file:///D:/fileCamel/Sortie?fileName=firstUDK.txt");
>
>
> thxs for help.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-can-I-split-the-output-of-a-treatment-on-two-roads-tp5716978.html
> Sent from the Camel Development mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: How can I split the output of a treatment on two roads

Posted by Christian Müller <ch...@gmail.com>.
What's about the Multicast EIP?

Sent from a mobile device
Am 13.08.2012 06:49 schrieb "kikou1984" <hi...@atos.net>:

> Hi,
>
> I got a treatment :
> .bean(EclatDBCRBean.class,"eclatDBCR") , it s output is X ,
>
> I want for X to get in two other treatment !
>
> How can i do please i tried this one but doesn't work :
>
> //a primary treatment
> .bean(EclatDBCRBean.class,"eclatDBCR")
>
> // Two others !
>
> .bean(EclatDBCRBean.class,"isListDEB").bean(MappingUDKBean.class,"mapUdkInObj").bean(MappingUDKBean.class,"makeFlatUDK").to("file:///D:/fileCamel/Sortie?fileName=firstUDK.txt")
>
>
> .bean(EclatDBCRBean.class,"isListCEB").bean(MappingUDKBean.class,"mapUdkInObj").bean(MappingUDKBean.class,"makeFlatUDK").to("file:///D:/fileCamel/Sortie?fileName=firstUDK.txt");
>
>
> thxs for help.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-can-I-split-the-output-of-a-treatment-on-two-roads-tp5716978.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>