I would suggest get the whole resultset and save the data on a queue or
even as a file. Then you can parse it as a stream or every x number of rows
and split.

On Mon, Apr 17, 2017 at 7:49 PM, andcrow [via Camel] <
[email protected]> wrote:

> Did not work using maxMessagesPerPoll.
>
> Does not group every 1000 records.
>
> Creates 1 JSON file for each record.
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/Using-Split-with-JSON-
> File-tp5797508p5797772.html
> To start a new topic under Camel - Users, email
> [email protected]
> To unsubscribe from Camel - Users, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=>
> .
> NAML
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-Split-with-JSON-File-tp5797508p5797773.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to