Dear all,

Well, let's say, we have a very simple bean:

<<<<
import java.util.*;
public class MySplitterBean {
    public List<String> splitBody() {
        List<String> answer = new ArrayList<String>();

                answer.add("11");
                answer.add("12");
        return answer;
    }    
}
>>>>

I want to use it as source for "from" clause.
And after this write output of splitBody function to separate files.

Can someone help with a working example?

Thanks

-- 
View this message in context: 
http://old.nabble.com/Generating-multiple-files-based-on-DB-query-in-a-nice-way.-tp28351534p28352808.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to