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 2AF974674 for ; Thu, 23 Jun 2011 16:04:28 +0000 (UTC) Received: (qmail 30408 invoked by uid 500); 23 Jun 2011 16:04:27 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 30370 invoked by uid 500); 23 Jun 2011 16:04:27 -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 30362 invoked by uid 99); 23 Jun 2011 16:04:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 16:04:27 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.tully@gmail.com designates 209.85.216.171 as permitted sender) Received: from [209.85.216.171] (HELO mail-qy0-f171.google.com) (209.85.216.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 16:04:22 +0000 Received: by qyl38 with SMTP id 38so4075510qyl.2 for ; Thu, 23 Jun 2011 09:04:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=qQuMgu8sDuX77kbEtSM/bKEEFNclTM3ytsVvGAVAebA=; b=cv+MZtn7fWlqRT1ezdYitGKRDWC71c7UqTM/zgtwfIpPunNM8sysaBZG9d1DwKFXlY 1JQYmPRMXxgnkT0JpYOgmwq91Owk0eziUh+TVkwOIyS+4OhcU1IU2WfCcJnrC0+bAeL3 csp74sJM3PoSWAxYRsD8bdTOksF4yfhBe4aSY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=KemBMdm1GLwjXWdgFxGQgTZOKgPyGVAWcJU1CL8rov7ewsJT2g0QcrzZP6Z6EmvDId DRP+1ii1fQ3Zej1qotT9kXtOzjI/vvDljHqqOFTjjEudg3SUbVWNNiA1ONlIs903tFO3 ewzlPGQ7uN5CzFuMjEt4CwR6nazuvPzV+q/qk= MIME-Version: 1.0 Received: by 10.229.66.25 with SMTP id l25mr1654038qci.265.1308845041267; Thu, 23 Jun 2011 09:04:01 -0700 (PDT) Received: by 10.229.8.20 with HTTP; Thu, 23 Jun 2011 09:04:01 -0700 (PDT) In-Reply-To: <1308076033810-3597378.post@n4.nabble.com> References: <1308065211927-3596907.post@n4.nabble.com> <1308076033810-3597378.post@n4.nabble.com> Date: Thu, 23 Jun 2011 17:04:01 +0100 Message-ID: Subject: Re: unit test with expired advisory From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org there is the expireMessagesPeriod attribute in a destination policy, you can set this via the activemq xml. Have a peek at http://activemq.apache.org/per-destination-policies.html On 14 June 2011 19:27, john wrote: > As a bit more information, I turned on debug for activemq when running my > test. > > Based on the debug logging, it appears that the message I send is not > expired until the "ActiveMQ Scheduler" fires and executes "Expiring > messages. . ." > > This appears to happen somewhere around 30 seconds into my unit test. Is > there a way to configure this scheduler in activemq to fire more frequently > in the unit test? > > -john > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/unit-test-with-expired-advisory-tp3596907p3597378.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- http://fusesource.com http://blog.garytully.com