Thank you for u r answer.
I ll explain more :)
Here the data :
EclatCCTIBean.class -> public static ArrayList <ArrayList <ClassA>>
eclatCCTI(Exchange exchange)
EclatDBCRBean.class -> ArrayList <ClassA> lstTransac = (ArrayList <ClassA>)
exchange.getIn().getBody();
Suppose that the first Bean contains 5 elements of ArrayList <ClassA>.
1 - 2 - 3 - 4 - 5.
I want to execute like this.
First Element make enter to this route:
bean(EclatDBCRBean.class,"eclatDBCR").
bean(FormatLstCB2ABean.class,"refactCB2ADebCreBean").
bean(RefactCB2ABean.class,"refactCB2A");
bean(MappingUDKBean.class,"mapUdkInObj").
bean(MappingUDKBean.class,"makeFlatUDK").
Then , the second element enter to this route :
bean(EclatDBCRBean.class,"eclatDBCR").
bean(FormatLstCB2ABean.class,"refactCB2ADebCreBean").
bean(RefactCB2ABean.class,"refactCB2A");
bean(MappingUDKBean.class,"mapUdkInObj").
bean(MappingUDKBean.class,"makeFlatUDK").
Like this 3 4 5 for each element of ArrayList <ArrayList <ClassA>>.
That's why i made the split at EclatCCTIBean, i thought that the split will
decompose the ArrayList <ArrayList <ClassA>> into element ArrayList
<ClassA> then i can get in
bean(EclatDBCRBean.class,"eclatDBCR").
bean(FormatLstCB2ABean.class,"refactCB2ADebCreBean").
bean(RefactCB2ABean.class,"refactCB2A");
bean(MappingUDKBean.class,"mapUdkInObj").
bean(MappingUDKBean.class,"makeFlatUDK").
Where can i put the loop?
Thank you in advance
--
View this message in context:
http://camel.465427.n5.nabble.com/Com-between-beans-tp5719646p5719660.html
Sent from the Camel - Users mailing list archive at Nabble.com.