Hi, Actually, i want to restart this bean each time by changing the body.
Here an exemple, public void simule_EclatBQE(Exchange exchange){ List<String> in_lst = new ArrayList<String>(); in_lst = (List<String>) exchange.getIn().getBody(); //treatment ArrayList<ArrayList<String>> out_lstOflst = new ArrayList <ArrayList <String>>(); ArrayList <String> lstOne = new ArrayList <String>(); ArrayList <String> lstTwo = new ArrayList <String>(); lstOne.add("JE CONTIENS SORTIE A AGREGGER"); lstTwo.add("Je CONTIENS SORTIE A RETRAITER"); out_lstOflst.add(lstOne); out_lstOflst.add(lstTwo); exchange.getOut().setBody(out_lstOflst.get(1)); } Then, The bean simule_EclatBQE should restart and it should take out_lstOflst.get(1) in its input. How can i make it ? Thxs -- View this message in context: http://camel.465427.n5.nabble.com/recursion-with-Camel-tp5730193p5730202.html Sent from the Camel - Users mailing list archive at Nabble.com.