Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 84111 invoked from network); 17 Mar 2006 12:44:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Mar 2006 12:44:07 -0000 Received: (qmail 98195 invoked by uid 500); 17 Mar 2006 12:44:07 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 98086 invoked by uid 500); 17 Mar 2006 12:44:06 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 98071 invoked by uid 99); 17 Mar 2006 12:44:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 04:44:06 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 64.233.182.204 as permitted sender) Received: from [64.233.182.204] (HELO nproxy.gmail.com) (64.233.182.204) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 04:44:05 -0800 Received: by nproxy.gmail.com with SMTP id l37so418077nfc for ; Fri, 17 Mar 2006 04:43:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=k33r3GQ5OLCnOSkpetoSylMbpSvguU+Y7mU004ubKj5krvULAk6CjfAaXce03Jqh3DZfxkR2wgo2wnKISeBSjrTWF5IJF65C8zbwyKUnOQP3Q4dU0lIdfRdea0dud/Y1pGgDeTA81dLdVrgLrP9LDZ4J9MVSKTaVpIGKYNVUPVM= Received: by 10.48.239.5 with SMTP id m5mr1389887nfh; Fri, 17 Mar 2006 04:43:43 -0800 (PST) Received: by 10.48.209.20 with HTTP; Fri, 17 Mar 2006 04:43:43 -0800 (PST) Message-ID: Date: Fri, 17 Mar 2006 12:43:43 +0000 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: porting from JbossMQ In-Reply-To: <1142598475.3725.10.camel@wall.sede-pisa.link.it> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2657_19996103.1142599423477" References: <1142441821.3732.41.camel@wall.sede-pisa.link.it> <1142598475.3725.10.camel@wall.sede-pisa.link.it> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_2657_19996103.1142599423477 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 3/17/06, Andrea Manca wrote: > > Il giorno gio, 16-03-2006 alle 12:38 +0000, James Strachan ha scritto: > > 1) The wiki page descripting the resource adapter properties needed som= e > > work - I've updated it to describe how to configure the redelivery > policy > > > > http://docs.codehaus.org/display/ACTIVEMQ/Resource+Adapter+Properties > > Thanks for the quick response and for your updates. I see in: > > http://jira.activemq.org/jira/browse/AMQ-286 > > that is possible to define a redelivery policy per destination basis > using ActiveMQResourceAdaptor. > Could you please tell me how this can be done? Using Java code you can set the redelivery policy on an ActiveMQConnection or ActiveMQMessageConsumer using the setRedeliveryPolicy() method. Also you can configure it on the ActiveMQResourceAdapter using properties too. We do have some destination specific configuration options that can be used using a handy URI syntax http://activemq.org/Destination+Options Though those currently don't include being able to change the redelivery policy I'm afraid. So to change the redelivery policy on different destinations, I think right now you'll need to use different resource adapters. I don't quite grok how the destination options work yet so am not sure if w= e can add redelivery policy to them; could you raise a JIRA for this as I think it'd be a handy feature if its not too hard to do. -- James ------- http://radio.weblogs.com/0112098/ ------=_Part_2657_19996103.1142599423477--