Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5293F90BF for ; Sun, 8 Apr 2012 20:20:21 +0000 (UTC) Received: (qmail 23076 invoked by uid 500); 8 Apr 2012 20:20:20 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 23050 invoked by uid 500); 8 Apr 2012 20:20:20 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 23034 invoked by uid 99); 8 Apr 2012 20:20:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2012 20:20:20 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of alexins@mail.ru does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2012 20:20:16 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SGyaZ-000136-4Z for users@camel.apache.org; Sun, 08 Apr 2012 13:19:55 -0700 Date: Sun, 8 Apr 2012 13:19:55 -0700 (PDT) From: alexey-s To: users@camel.apache.org Message-ID: <1333916395125-5626400.post@n5.nabble.com> Subject: OSGi JTA and NonXA DataSource MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I use a camel running karaf. The data is stored in the database Oracle. From the beginning I used OracleXADataSource. With increasing system performance Oracle Server has often produce errors exceeding the number of connections. For each transaction, JDBC driver creates a new connection to the Oracle Server. Previously closed connections are not used in OracleXADataSource. Oracle Server every 20 seconds, remove the connection closed. With a large number of camel route overflow of allowable connections to Oracle Server. I was looking for the option of using connection pooling. Found opens source project Bitronix. Excellent functionality - LrcXADataSource. This functionality is not running OSGi and Apache Aries. I reworked the functional LrcXA classes to run on Apache Aries JTA. Sample add XADataSource service: attach source code http://camel.465427.n5.nabble.com/file/n5626400/osgi-lrcxa.tar.gz osgi-lrcxa.tar.gz -- View this message in context: http://camel.465427.n5.nabble.com/OSGi-JTA-and-NonXA-DataSource-tp5626400p5626400.html Sent from the Camel - Users mailing list archive at Nabble.com.