[ 
https://issues.apache.org/jira/browse/CAMEL-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408878#comment-13408878
 ] 

Claus Ibsen commented on CAMEL-3211:
------------------------------------

Oh and it would also be better if the poll could do this in a streaming mode 
with the aggregator, so we don't need to hold X exchanges in memory. But we can 
do the aggregation on-the-fly.
                
> Enrich and PollEnrich - Option to let it poll multiple messages
> ---------------------------------------------------------------
>
>                 Key: CAMEL-3211
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3211
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Ben O'Day
>            Priority: Minor
>             Fix For: 2.11
>
>
> Think about if we can enhance enrich and/or pollEnrich to be able to poll 
> multiple messages.
> For example to drain a JMS queue, or a FTP site etc. Currently it polls only 
> 1 message, and the continues.
> With some option to tell it to continue we can have it drain the queue until 
> no more messages.
> Or maybe some expression to tell when to stop. Or have some option in the 
> custom aggregator the end user can set/control if it should continue or poll 
> more.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to