What is the difficulty you are facing exactly?

What about

 - read the file
 - use splitter and tokenizer to split file into individual lines
 - use an embedded aggregor and build your map in aggregator strategy
 - enrich the result from external API
 - sent the result to another endpoint.

HTH,


On 21 January 2016 at 09:01, fxthomas <[email protected]> wrote:
> hello,
>
>       I am not sure if the below use case is possible in camel.  I checked
> the documentation of aggreration in
>       camel but it does not look like it will fit my need.
>
>       Scenario:-
>       I have to read from a csv file and collect some limited messages in a
> map which need to be sent to a
>       external Java API call for enrichment of the messsages and the
> response got bac,k will be send to
>        endpoint.
>
>       The reason is that I want to avoid single call to the API every second
> for performance reasons and
>       rather have it called with some limited set data at once.
>
>       Can this be done in camel ?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Agggegrate-Scenario-Camel-tp5776478.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Reply via email to