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 67F54D4EF for ; Sat, 15 Sep 2012 06:18:25 +0000 (UTC) Received: (qmail 32821 invoked by uid 500); 15 Sep 2012 06:18:24 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 32460 invoked by uid 500); 15 Sep 2012 06:18: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 32390 invoked by uid 99); 15 Sep 2012 06:18:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Sep 2012 06:18:19 +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 (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.215.43 as permitted sender) Received: from [209.85.215.43] (HELO mail-lpp01m010-f43.google.com) (209.85.215.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Sep 2012 06:18:15 +0000 Received: by lagm14 with SMTP id m14so3216630lag.2 for ; Fri, 14 Sep 2012 23:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=jtiaOW8KQmjgpG3eyzRyhvquHyULC0g5PTtd2HxNtTE=; b=eBh3lKs7FDftsDgYjYyKWbdGMzqr1sOur0PvJYxeO7vRkmhFvjHYEPu5vojjR/T6Uo xeotigZ4hT9P/61tzrUqDn9LNiaMaC7rtUKI6mA3K69RbDoYLFO50ejZGmLGJ4Lkc7nU TbmkYJ5TfVYms2jxB3JmwhmG2A/yuFdCbbMTUAifVKI8yyB7QvS35JSTGx7BWMA8ILzj ODnsXUExb/tbelsez+Qt30FMDezjYEAj1oz8W2GPjIUxxJO5prw/Gfc3jOVzTPo2+Ihp 4C9fKDTQM8aXrlTJXDLh3FNhVWWYmju8IhVEAAOqfMLwIBimNt4b2pLybdQpFUuGc39g BV0w== Received: by 10.112.26.197 with SMTP id n5mr1938532lbg.18.1347689873441; Fri, 14 Sep 2012 23:17:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.7.230 with HTTP; Fri, 14 Sep 2012 23:17:33 -0700 (PDT) In-Reply-To: References: From: Claus Ibsen Date: Sat, 15 Sep 2012 08:17:33 +0200 Message-ID: Subject: Re: Intermittent delayed delivery To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The redelivery delay values seems high to me. Is this on purpose? 10800000 mills is a high value On Fri, Sep 14, 2012 at 8:03 PM, Ken DeLong wro= te: > We are using ActiveMQ 5.5.1 as an embedded broker in our Spring 3.1.0 app= lication. We have enabled message redelivery. From time to time, we see me= ssages that are sent to the queue, but are never delivered, or are delivere= d hours later. We've gone through the posts on using Spring's JMS Template= with ActiveMQ and think we have the proper settings. > > Our current theory is that perhaps when messages throw a RuntimeException= , and get re-enqueued for later delivery, the consumers are not released an= d the new messages can't be delivered. However, we can't really gather muc= h evidence to support this. > > I'm including the configuration that we are using, in the hopes that som= eone might spot something that we have got wrong. > > brokerName=3D"localhost" dataDirectory=3D"${catalina.home}/data/in= tl2/jms" > start=3D"true"> > > > > " producerFlowContr= ol=3D"false" memoryLimit=3D"1mb" useCache=3D"false"> > > > > > > " producerFlowContr= ol=3D"false" memoryLimit=3D"1mb" useCache=3D"false" queuePrefetch=3D"1"> > > > > > > > > > > checkForCorruptJournalFiles=3D"true" checksumJournal= Files=3D"true" > forceRecoverIndex=3D"true" /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > acknowledge=3D"transacted" > cache=3D"none" > concurrency=3D"5" > destination-resolver=3D"destinationResolver"> > > > > > > > > > -------------------------------------------------------------------------= -------------- > Kenneth DeLong | Director of Architecture, Chief Software Architect > BabyCenter > o: 415.344.7616 > ken.delong@babycenter.com > Twitter: kenwdelong > AIM: kenwdelong > babycenter.com > > like BabyCenter on Facebook > --=20 Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen