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 07270C306 for ; Tue, 7 Aug 2012 17:04:40 +0000 (UTC) Received: (qmail 68778 invoked by uid 500); 7 Aug 2012 17:04:39 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 68750 invoked by uid 500); 7 Aug 2012 17:04:39 -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 68741 invoked by uid 99); 7 Aug 2012 17:04:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 17:04:39 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of lehswe@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 17:04:33 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SynCW-00050K-6v for users@camel.apache.org; Tue, 07 Aug 2012 10:04:12 -0700 Date: Tue, 7 Aug 2012 10:04:12 -0700 (PDT) From: helander To: users@camel.apache.org Message-ID: <1344359052207-5716936.post@n5.nabble.com> Subject: Connection pooling with camel-amqp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have tried to get a working solution for connection pooling/caching with camel-amqp. I found some examples that used the Spring CachingConnectionFactory, but when using that it get an NPE. The first time I do a write to a queue, it works, but subsequent writes causes an NPE. It looks like the NPE is associated with finding and existing/cached destination. Any kind of help on this would be most valuable. Thanks Lars -- View this message in context: http://camel.465427.n5.nabble.com/Connection-pooling-with-camel-amqp-tp5716936.html Sent from the Camel - Users mailing list archive at Nabble.com.