Return-Path: Delivered-To: apmail-activemq-camel-commits-archive@locus.apache.org Received: (qmail 14389 invoked from network); 1 Oct 2007 15:23:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2007 15:23:54 -0000 Received: (qmail 81897 invoked by uid 500); 1 Oct 2007 15:23:44 -0000 Delivered-To: apmail-activemq-camel-commits-archive@activemq.apache.org Received: (qmail 81871 invoked by uid 500); 1 Oct 2007 15:23:44 -0000 Mailing-List: contact camel-commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-commits@activemq.apache.org Received: (qmail 81862 invoked by uid 99); 1 Oct 2007 15:23:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 08:23:43 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 15:23:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6212E1A9832; Mon, 1 Oct 2007 08:23:03 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r580991 - in /activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc: JdbcEndpoint.java JdbcProducer.java Date: Mon, 01 Oct 2007 15:23:01 -0000 To: camel-commits@activemq.apache.org From: jstrachan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071001152303.6212E1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jstrachan Date: Mon Oct 1 08:23:01 2007 New Revision: 580991 URL: http://svn.apache.org/viewvc?rev=580991&view=rev Log: increased the default maximum readSize for CAMEL-128 Modified: activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcEndpoint.java activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java Modified: activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcEndpoint.java URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcEndpoint.java?rev=580991&r1=580990&r2=580991&view=diff ============================================================================== --- activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcEndpoint.java (original) +++ activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcEndpoint.java Mon Oct 1 08:23:01 2007 @@ -34,7 +34,8 @@ private URI uri; private String remaining; - private int readSize; + /** The maximum size for reading a result set readSize */ + private int readSize = 20000; protected JdbcEndpoint(String endpointUri, String remaining, JdbcComponent component) throws URISyntaxException { super(endpointUri, component); Modified: activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java?rev=580991&r1=580990&r2=580991&view=diff ============================================================================== --- activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java (original) +++ activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java Mon Oct 1 08:23:01 2007 @@ -43,6 +43,7 @@ public JdbcProducer(JdbcEndpoint endpoint, String remaining, int readSize) throws Exception { super(endpoint); + this.readSize = readSize; source = (DataSource) getEndpoint().getContext().getRegistry().lookup(remaining); }