You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by sakchakravarthi <aj...@gmail.com> on 2014/06/19 07:26:44 UTC
File aggregation
Hi
I have a scenario that I need to take list of json files from a file
location which are related to one category. So I need to process 10 files in
one transaction. Now how can I aggregate files when I don't know number of
file I received.
Could any one help me on this?
--
View this message in context: http://camel.465427.n5.nabble.com/File-aggregation-tp5752538.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: File aggregation
Posted by sakchakravarthi <aj...@gmail.com>.
Hi Thanks for your resp
Could you please provide me with example which explains aggregation with
option option completionFromBatchConsumer
--
View this message in context: http://camel.465427.n5.nabble.com/File-aggregation-tp5752538p5752579.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: File aggregation
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
See the option completionFromBatchConsumer
On Thu, Jun 19, 2014 at 11:12 AM, sakchakravarthi
<aj...@gmail.com> wrote:
> Hi Claus Ibsen
> I think I kept my point wrongly . Here I don't know the count how many files
> I will receive. In that scenario also can I aggregate.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/File-aggregation-tp5752538p5752570.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/
Re: File aggregation
Posted by sakchakravarthi <aj...@gmail.com>.
Hi Claus Ibsen
I think I kept my point wrongly . Here I don't know the count how many files
I will receive. In that scenario also can I aggregate.
--
View this message in context: http://camel.465427.n5.nabble.com/File-aggregation-tp5752538p5752570.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: File aggregation
Posted by sakchakravarthi <aj...@gmail.com>.
Hi Claus Ibsen
I think I kept my point wrongly . Here I don't know the count how many I
will receive. In that scenario also can I aggregate.
--
View this message in context: http://camel.465427.n5.nabble.com/File-aggregation-tp5752538p5752549.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: File aggregation
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
There is the aggregate eip
http://camel.apache.org/aggregator2
On Thu, Jun 19, 2014 at 7:26 AM, sakchakravarthi
<aj...@gmail.com> wrote:
> Hi
> I have a scenario that I need to take list of json files from a file
> location which are related to one category. So I need to process 10 files in
> one transaction. Now how can I aggregate files when I don't know number of
> file I received.
> Could any one help me on this?
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/File-aggregation-tp5752538.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/