3 Replies Latest reply on Oct 28, 2014 9:53 PM by tcunning

    Switchyard camel-sql-binding

    jcoders

      Good evening,

                          We are using camel-sql-binding in a services project we have here at our company and the details are as follows

       

      <dependency>

        <groupId>org.switchyard.components</groupId>

        <artifactId>switchyard-component-camel-sql</artifactId>

        <scope>provided</scope>

        </dependency>

       

      Switchyard version -1.1.1-p5-redhat-1

      Camel version the above release uses i believe is - 2.10.0

       

      I was hoping there is a way to set maxMessagesPerPoll (according to camel this is available in 2.11 - http://camel.apache.org/sql-component.html) when getting data from the database instead of getting all the results, tried using the jpa endpoint but was getting 1 row at a time and doesnt satisfy the use case we have.

       

      Thanks in advance

       

      Regards

      Rajat