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 A450DF9EB for ; Fri, 26 Apr 2013 11:26:05 +0000 (UTC) Received: (qmail 17057 invoked by uid 500); 26 Apr 2013 11:26:05 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 17015 invoked by uid 500); 26 Apr 2013 11:26:04 -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 16993 invoked by uid 99); 26 Apr 2013 11:26:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 11:26:04 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.223.171 as permitted sender) Received: from [209.85.223.171] (HELO mail-ie0-f171.google.com) (209.85.223.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 11:25:59 +0000 Received: by mail-ie0-f171.google.com with SMTP id e11so4781699iej.2 for ; Fri, 26 Apr 2013 04:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=b0cqnn1ljxoTtBFBjRlCi1dAm4JPlQE12lSLpkVk7IA=; b=giy/NCcjvVeudONTIqHzSx5aXbHNRQHkdQjIAwIt8sP8o7LK2UWMiEW4JvEP8Xmbyl VKoPdie+35uj8HQNFsRDp+brRcrYnL5WRUwlbXkvvsk+JXFVBc8i8T+ALmTXtF6kCNyi lzAivA3iKgQQ7dLY6TGavRriOMs/j1fQLt1juTJjs0U6yyTNqbBzRbGxwz7CrhY2+QLj D1rsMWLcEyaWGQrQ9Fa/Gh2nCgaZkxj/5un7O/0fqMqqTECEotA6WnzxNElv+rze4Xvu BOUSc/PuvH5s4ZNBa2Dn48eH2kGRlN812XHhR5pdQKWlhPVHNXGWEejAGzZ0lsRwDn65 aL7A== X-Received: by 10.50.100.167 with SMTP id ez7mr1584484igb.3.1366975538346; Fri, 26 Apr 2013 04:25:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.53.232 with HTTP; Fri, 26 Apr 2013 04:25:17 -0700 (PDT) In-Reply-To: <1366974062846-5731608.post@n5.nabble.com> References: <1365433426173-5730513.post@n5.nabble.com> <1366923699331-5731566.post@n5.nabble.com> <1366974062846-5731608.post@n5.nabble.com> From: Claus Ibsen Date: Fri, 26 Apr 2013 13:25:17 +0200 Message-ID: Subject: Re: JMS transaction behavior inside of route To: "users@camel.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Thanks for sharing this. I wrote a blog entry years ago how you can configure Camel to show some details about external redelivered messages from a message broker http://www.davsclaus.com/2012/02/correlating-logs-from-redelivered.html On Fri, Apr 26, 2013 at 1:01 PM, leroykendall wrote: > Hi Claus, > > Yes, you are right about exhausted. > I recognized that when got that code working as expected with redelivery. > > Just in case if this could be helpful for someone other let me write down > changes I've made to above code. > > 1. Moved Camel's JMS component configuration to separate bean with added > cache level (CACHE_CONSUMER): > > class="org.apache.camel.component.jms.JmsComponent"> > > > > class="org.apache.camel.component.jms.JmsConfiguration"> > > > > > > > 2. Added maxConnections property to the JMS pooled connection factory (with > value 8). > > Now the code works excellent with redelivery. > > Thanks. > --Victor > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/JMS-transaction-behavior-inside-of-route-tp5730513p5731608.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cibsen@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen