camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kikou1984 <>
Subject Dispatch Array 2 dimension to many routes
Date Mon, 22 Apr 2013 14:37:06 GMT

I got this bean: 

public ArrayList<ArrayList&lt;String>> Dispatch(Exchange exchange){
ArrayList<ArrayList&lt;String>> lstOflst = new ArrayList <ArrayList
return lstOflst ;

lstOflst  is an ArrayList 2 dimension which contains ArrayList<String>.
	        ArrayList <String> lst1 = lstOflst.get(0);
		ArrayList <String> lst2 = lstOflst.get(1);

I want to know which EIP should i use to dispatch only the lst1 to a routeA
and the lst2 to a routeB.

Thxs for u help.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message