Hi , 

i understood , i used the split like this :

          try {
                context.addRoutes( new RouteBuilder() {
                      public void configure() {
                           from("file:///D:/fileCamel/in?noop=true")
//                           .bean(InitConcardisBean.class,"initialisation")    
                      
.setHeader("TransactionClass",constant("net.awl.bfi.fluxRemisesConcardis.CorpsRemiseCB2AConcadis"))
                           .bean(MappingCB2ABean.class,"mapCb2acinObj2")
                           .split().method(EclatCCTIBean.class,"eclatCCTI").
                           bean(EclatDBCRBean.class,"eclatDBCR").
                          
bean(FormatLstCB2ABean.class,"refactCB2ADebCreBean").
                           bean(RefactCB2ABean.class,"refactCB2A");
                           bean(MappingUDKBean.class,"mapUdkInObj").
                           bean(MappingUDKBean.class,"makeFlatUDK").
                          
to("file:///D:/fileCamel/Sortie?fileName=firstUDK.txt");

Then , the bean : EclatCCTIBean.class will dispatch the ArrayList <ArrayList
<ClassA>> in 5 ArrayList <ClassA> to the Bean 'EclatDBCRBean.class', but i
want to execute five time the chain from EclatDBCRBean to MappingUDKBean
with the 5 ArrayList <ClassA> from  ArrayList <ArrayList <ClassA>>.

And it doesn't work !! if u can help me I would be grateful.

thxs





--
View this message in context: 
http://camel.465427.n5.nabble.com/Com-between-beans-tp5719646p5719657.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to