camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwijngaa <>
Subject camel-jdbc reading from H2 @ less than 1 message per second?
Date Thu, 12 Feb 2015 14:09:51 GMT

i'm using camel-jdbc (camel 2.12.0) to read 1000+ records from a H2 database
(reading per 100), but i'm seeing a low performance of <1 message per
second. In the logging i see something like:

"Received: 1 new messages, with total 11 so far. Last group took: 10000
millis which is: 0.1 messages per second. average: 0.101"

*My (Camel route:*
    <camelContext id="databaseTestContext"
xmlns=""  trace="true">
            <from uri="timer://kickoff?period=10s" />
                <constant>select * from databasetest</constant>
               <to uri="mock:result"/>

testDataSource is an osgi reference to a H2 Datasource like so:
<osgi:reference id="testDataSource" interface="javax.sql.DataSource"
filter="(" cardinality="1..1" />

Any ideas?


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

View raw message