camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andcrow <>
Subject Re: Using Split with JSON File
Date Mon, 17 Apr 2017 16:45:13 GMT
Still in the battle with this case ..... hehehehe

Viewing the documentation I found the component SQL Component:

In the options:

maxMessagesPerPoll: Camel 2.11: SQL consumer only: An integer value to
define the maximum number of messages to gather per poll. By default, no
maximum is set.

But also with this component he ignores this option:

    .setBody(constant(new ProductQuery().getProductSelect())) 
to("sql:" + new ProductQuery().getProductSelect() +
        .setHeader(Exchange.CONTENT_TYPE, constant("application/json")) 
        .setHeader("CamelFileName", simple("${id}.json")) 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message