Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-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 AFB2DDF83 for ; Tue, 13 Nov 2012 08:30:23 +0000 (UTC) Received: (qmail 19081 invoked by uid 500); 13 Nov 2012 08:30:23 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 18933 invoked by uid 500); 13 Nov 2012 08:30:22 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 18909 invoked by uid 99); 13 Nov 2012 08:30:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2012 08:30:22 +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 torsten@fusesource.com designates 209.85.214.43 as permitted sender) Received: from [209.85.214.43] (HELO mail-bk0-f43.google.com) (209.85.214.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2012 08:30:14 +0000 Received: by mail-bk0-f43.google.com with SMTP id jf20so135243bkc.2 for ; Tue, 13 Nov 2012 00:29:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=naOD6wJpgPRrceZVrnnsgkxW0XOxgphRdh8ujhZ5gP8=; b=bVnMK1wmKM2XrgBvEc7ZDXi1TfNm4+VB+/N5ndb+WkQryu8T2FyB7K7Hmo9VO+uK2l c00jqZIBOgQuo3PJ/PwCcwzvjLLS6kt65VJ8w0u9qI892aCkasVCyjYn/5LEzetmBQCL /uzZHfLNnTo7f2+K9QOGDXySn+pM/bRRyDF6igTa1IfBFECzxCUvHFpnOJYKvLDtu1Pf 4BJzfBDdtpYSetQ0rw4Zqb569m9IMLWpqwhbRIDoBlWL7yPIB5HS+ufB/+0CXecmL1j+ nqBBWJf6IUQjGB+8ilIrUMuDDgb041kqq1b8OqC3/TVdImo2p0qEv+Z3SNSIb/BJzsfU W2JA== Received: by 10.204.7.213 with SMTP id e21mr7678304bke.32.1352795394393; Tue, 13 Nov 2012 00:29:54 -0800 (PST) Received: from mac.fritz.box (p57BD614F.dip0.t-ipconnect.de. [87.189.97.79]) by mx.google.com with ESMTPS id go4sm4361562bkc.15.2012.11.13.00.29.53 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 00:29:53 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1085) Subject: Re: spring dsl sample for redelivery policy From: Torsten Mielke In-Reply-To: <1352787159153-4659223.post@n4.nabble.com> Date: Tue, 13 Nov 2012 09:29:55 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <40EF7D63-E9A8-480D-B8C6-9BAE339D3B7D@fusesource.com> References: <1352787159153-4659223.post@n4.nabble.com> To: users@activemq.apache.org X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQn5BxN5XMdNxPDkmkdUrKlFCQfYq7qHi6aBAcjhKJdR01OwK/JUxSgPjkV/lq8ZINNuOxDw X-Virus-Checked: Checked by ClamAV on apache.org Hello, How about this Spring config?=20 You may want to set the redelivery policy on the = ActiveMQConnectionFactory not on the PooledConnectionFactory. Is this what you are looking for?=20 Hope this helps. Regards, Torsten Mielke torsten@fusesource.com tmielke.blogspot.com On Nov 13, 2012, at 7:12 AM, jiunjiunma wrote: > Hi, > Does anyone have a sample on how to set the redelivery policy in = spring > DSL? The pooled connection factory only takes a delivery policy (not a > delivery policy map) and I got an exception saying destination is not = set > when I set the ref to a RedeliveryPolicy object. According to this doc=20= > http://activemq.apache.org/redelivery-policy.html > , it should take = a > RedeliveryPolicyMap.=20 > A sample file will be really helpful. >=20 > Thanks, > --Jiunjiun >=20 >=20 >=20 > -- > View this message in context: = http://activemq.2283324.n4.nabble.com/spring-dsl-sample-for-redelivery-pol= icy-tp4659223.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.