Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 75325 invoked from network); 18 Nov 2009 09:50:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Nov 2009 09:50:24 -0000 Received: (qmail 59065 invoked by uid 500); 18 Nov 2009 09:50:23 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 59003 invoked by uid 500); 18 Nov 2009 09:50:23 -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 58992 invoked by uid 99); 18 Nov 2009 09:50:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2009 09:50:23 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.tully@gmail.com designates 209.85.218.215 as permitted sender) Received: from [209.85.218.215] (HELO mail-bw0-f215.google.com) (209.85.218.215) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2009 09:50:19 +0000 Received: by bwz7 with SMTP id 7so1038238bwz.6 for ; Wed, 18 Nov 2009 01:49:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=FUbpAngMmMV/e7PginOQ8UY89qkFeg2nCI0eWjKJC+E=; b=NX6mY/mx3k14Uh6N65ZeWMnNeew7ECwoQ+ZPlgaj4tQY0mGH++0gEbByy24O4CVAzl gm8kG0+H3Gq2VFUfjY+ru+oZ88o0MOOOUtCtmHYvPPOIj+GP8sduIfRFsgZmbeGCgVim DKCbEDK2lyrNFz2dVyu27VgFd9gq6gaRpxzwU= 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=cieufJsSyJU+Idx5ocAGRNtREth5cMQHPo78xkQTd5RWDRDXxrl3hvkCrTWp/BuTaM ultttZg+j+JNgslFbT7l9sM+eHQh6cdPBofiyPMqBafIVvzLwe+5A8Fw9uErPm0370Xi /0BLXe3SpVqwk5rZfW/dGCtfY2ojW67tMs+kk= MIME-Version: 1.0 Received: by 10.204.29.15 with SMTP id o15mr616782bkc.145.1258537797155; Wed, 18 Nov 2009 01:49:57 -0800 (PST) In-Reply-To: <26392757.post@talk.nabble.com> References: <26392757.post@talk.nabble.com> Date: Wed, 18 Nov 2009 09:49:57 +0000 Message-ID: <3a73c17c0911180149q15eab210kff0a75527fba8746@mail.gmail.com> Subject: Re: Is property JMSActiveMQBrokerInTime really correct in Activemq trunk from svn checkout From: Gary Tully To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=0003255553ae55fce80478a22a41 --0003255553ae55fce80478a22a41 Content-Type: text/plain; charset=ISO-8859-1 jmsTimeStamp is set on the client, by the client connection that does a send. JMSActiveMQBrokerInTime is set by the broker when it receives the message and JMSActiveMQBrokerOutTime is set by the broker when it dispatched (or just before) a message. So if you appear to have not delivered messages, it looks like they have been delivered but not acked, as the broker has dispatched them to a consumer up to its prefetch limit. 2009/11/17 praveen.sharma > > Couple of questions: > > For jmsMessage > (1) What is the relation between jmsTimeStamp, and properties: > JMSActiveMQBrokerInTime, and JMSActiveMQBrokerOutTime? > > (2) Which one is more accurate jmsTimeStamp, and properties: > JMSActiveMQBrokerInTime? Reason for asking this question is that I have > messages in the queue (seen from jconsole) that are not delivered, and yet > JMSActiveMQBrokerInTime = JMSActiveMQBrokerOutTime. However, jmsTimeStamp > gives a different value. > > I extracted these values as > JmsMessage msg = (JmsMessage) exch.getIn(); > msg.getJmsMessage().getJMSTimestamp() > msg.getJmsMessage().getLongProperty("JMSActiveMQBrokerInTime"); > msg.getJmsMessage().getLongProperty("JMSActiveMQBrokerOutTime"); > > > Sample output: > jmsExpiration: 1258474190831 jmsTimeStamp: 1258474189831 jmsPriority: 7 > jmsDeliveryMode: 2 jmsMsgID: ID:padua-44786-1258474186761-0:26:1:1:1 > defaultPriority: 4 defaultTTL: 0 defaultDeliveryMode: 2...........100000 > Latency0.020777777777777777 Jitter 0.010979222222222224 BrokerInTime > 1258474189832 BrokerOutTime 1258474189832 jmsBrokerQueueLatency 0 > ...........100000 > jmsExpiration: 1258474190942 jmsTimeStamp: 1258474189942 jmsPriority: 7 > jmsDeliveryMode: 2 jmsMsgID: ID:padua-44786-1258474186761-0:27:1:1:1 > defaultPriority: 4 defaultTTL: 0 defaultDeliveryMode: 2...........100000 > Latency0.020392857142857143 Jitter 0.009979607142857142 BrokerInTime > 1258474189943 BrokerOutTime 1258474189943 jmsBrokerQueueLatency 0 > > -- > View this message in context: > http://old.nabble.com/Is-property-JMSActiveMQBrokerInTime-really-correct-in-Activemq-trunk-from-svn-checkout-tp26392757p26392757.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com --0003255553ae55fce80478a22a41--