Hi

You can route that to a seda queue afterwards, and then consume from
seda, using a consumer template or @pojo consuming or any other ways.

You likely need to study Camel a bit more to learn how to do that.

On Tue, Jul 14, 2015 at 2:08 PM, viral069 <[email protected]> wrote:
> Dear jstrachan,
>
> I have seen your post,
>
> from("file:src/data?noop=true").bean(new MyTransformerBean());
>
> public class MyTransformerBean {
>
>   // adding a parameter annotation so that Camel knows ot invoke
>   // this method by default - in case we add more public methods later
>   public List<PersonDocument> convert(@Body Reader reader) {... }
>
> }
>
> As convert method is returning List<PersonDocument>, How i am able to fetch
> this List<PersonDocument>  from Camel
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/CSV-file-tp466057p5769285.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to