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

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

We should also avoid adding to many pollEnrich methods to the DSL. Instead we 
should start to rely on using the fluent builder for that, now we have 7 
methods, and some combos is not possible, eg poll multiple with an aggregation 
strategy etc.

Since we have 5+ options now, we cannot have so many pollEnrich methods in the 
DSL. It just makes the list of methods too big when people press ctrl + space 
in their route builder.
                
> 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