camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Vanthienen (JIRA)" <>
Subject [jira] Commented: (CAMEL-875) Expression tokenizer should support streams
Date Thu, 04 Sep 2008 07:27:52 GMT


Gert Vanthienen commented on CAMEL-875:


How about wrapping the Scanner in an Iterator and returning that instead of a List from the
tokenizer Expressions?  This would allow the splitter to fetch values from the Scanner as
it needs them to fill the batches to send instead of first having to create the entire List
in memory.  Wdyt?


> Expression tokenizer should support streams
> -------------------------------------------
>                 Key: CAMEL-875
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.5.0
> See nabble:
> Gertv suggestion
> ExpressionBuilder and its tokenizeXXX methods should test if the body is Stream, Reader
etc. and use java.util.Scanner. Maybe even the String based can use Scanner also.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message