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 66689404A for ; Mon, 27 Jun 2011 13:42:51 +0000 (UTC) Received: (qmail 42577 invoked by uid 500); 27 Jun 2011 13:42:50 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 42526 invoked by uid 500); 27 Jun 2011 13:42:50 -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 42518 invoked by uid 99); 27 Jun 2011 13:42:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 13:42:50 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.tully@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-qy0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 13:42:46 +0000 Received: by qyk27 with SMTP id 27so3193451qyk.2 for ; Mon, 27 Jun 2011 06:42:25 -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:content-transfer-encoding; bh=GYl1wV9tQIRzldGusrpMZGNy7Nqsqv6qHmXZ6kf+CEM=; b=wqYd57rbYNAltLCXEI11ZNtbmnjNd+ekhoWZY9TW66f4Zl5cOPLCNWsRQT/ug7s2XX aZbV6I7sRDY5EoV1a0pZI96+2Sl17xbYlXXwZVasYklDNP6s2UcrnwERKdqai/f+vJti fO/xaWdtyVEg0IeMKaWJavT6mdsXcgkWhxA0Y= 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:content-transfer-encoding; b=tt4Xkd/6EgsbrDMRwjQmQr2Rwrl9welFrfijntIa640HCxZ3AxVgMvmXHP0mORX6ft 4SUMgN1gPpwTbncRUnCkZBzML6J1mQpZlvL4M9nNJfGppNwTiIqHEPWrX22g89W+ufqW 81TkaK7IoQCMGea8babl6MQIv5/PEKj8C5Bck= MIME-Version: 1.0 Received: by 10.229.105.95 with SMTP id s31mr4523226qco.228.1309182145201; Mon, 27 Jun 2011 06:42:25 -0700 (PDT) Received: by 10.229.8.20 with HTTP; Mon, 27 Jun 2011 06:42:25 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Jun 2011 14:42:25 +0100 Message-ID: Subject: Re: Tracing Broker to Producer Acks From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable That is a response to the send request with responseRequired=3Dtrue, note the correlationId =3D 13 which corresponds to the RECEIVED commandId=3D13. So it confirms the receipt/store of the message. A producerAck, used for flow control would be a separate request. Is that what you are interested in, producer flow control ? On 27 June 2011 14:24, Ozan Seymen wrote: > Thanks for this Gary. > > Is it possible to quickly confirm whether the line starting with "SENDING= " is the ack returned from broker to the producer please? > > 2011-06-27 14:15:33,352 | DEBUG | RECEIVED: ActiveMQTextMessage {commandI= d =3D 13, responseRequired =3D true, messageId =3D ID:HAM-NB-073-58760-6344= 47809330389070-1:0:1:1:10, > > 2011-06-27 14:15:33,354 | DEBUG | DB.DC1 toPageIn: 200, Inflight: 0, page= dInMessages.size 0, enqueueCount: 20, dequeueCount: 0 | org.apache.activemq= .broker.region.Queue | Queue:DB.DC1 > > 2011-06-27 14:15:33,356 | DEBUG | SI.DC1 toPageIn: 200, Inflight: 0, page= dInMessages.size 0, enqueueCount: 20, dequeueCount: 0 | org.apache.activemq= .broker.region.Queue | Queue:SI.DC1 > > 2011-06-27 14:15:33,359 | DEBUG | Q.OUT.ToDC2.DC1 toPageIn: 190, Inflight= : 0, pagedInMessages.size 0, enqueueCount: 20, dequeueCount: 0 | org.apache= .activemq.broker.region.Queue | Queue:Q.OUT.ToDC2.DC1 > > 2011-06-27 14:15:33,359 | DEBUG | SENDING: Response {commandId =3D 0, res= ponseRequired =3D false, correlationId =3D 13} | org.apache.activemq.transp= ort.TransportLogger.Connection:2 | ActiveMQ Transport: tcp:///0:0:0:0:0:0:0= :1:58759 > > > -----Original Message----- > From: Gary Tully [mailto:gary.tully@gmail.com] > Sent: 23 June 2011 17:45 > To: users@activemq.apache.org > Subject: Re: Tracing Broker to Producer Acks > > use trace=3Dtrue on the brokerURL to see all commands, including the prod= ucerAck from the broker. > see: http://activemq.apache.org/tcp-transport-reference.html > > On 17 June 2011 11:35, Ozan Seymen wrote: >> Hi, >> >> Is there any way for me to trace acks sent from broker to producer? Are = there any configuration settings that I can set in log4j.properties? >> >> Regards, >> Ozan >> >> ________________________________ >> This e-mail and any attached files are intended for the named addressee = only. It contains information which may be confidential and legally privile= ged and also protected by copyright. Unless you are the named addressee (or= authorised to receive for the addressee) you may not copy or use it or dis= close it to anyone else. If you received it in error please notify the send= er immediately and then delete it from your system. >> >> Please be advised that the views and opinions expressed in this e-mail m= ay not reflect the views and opinions of The Digital Property Group Limited= or any of its subsidiary companies. >> >> We make every effort to keep our network free from viruses. However, you= do need to check this e-mail and any attachments to it for viruses as we c= an take no responsibility for any computer virus which may be transferred b= y way of this e-mail. We reserve the right to monitor all e-mail communicat= ions. >> >> The Digital Property Group Limited is a Daily Mail and General Trust plc= company. >> Registered Office: Northcliffe House, 2 Derry Street, London, W8 5TT. >> Registered in England & Wales No: 02290527 VAT no. 243571174 >> >> ______________________________________________________________________ >> This email has been scanned by the MessageLabs Email Security System. >> For more information please visit http://www.messagelabs.com/email >> ______________________________________________________________________ > > > > -- > http://fusesource.com > http://blog.garytully.com > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email ______= ________________________________________________________________ > > This e-mail and any attached files are intended for the named addressee o= nly. It contains information which may be confidential and legally privileg= ed and also protected by copyright. Unless you are the named addressee (or = authorised to receive for the addressee) you may not copy or use it or disc= lose it to anyone else. If you received it in error please notify the sende= r immediately and then delete it from your system. > > Please be advised that the views and opinions expressed in this e-mail ma= y not reflect the views and opinions of The Digital Property Group Limited = or any of its subsidiary companies. > > We make every effort to keep our network free from viruses. However, you = do need to check this e-mail and any attachments to it for viruses as we ca= n take no responsibility for any computer virus which may be transferred by= way of this e-mail. We reserve the right to monitor all e-mail communicati= ons. > > The Digital Property Group Limited is a Daily Mail and General Trust plc = company. > Registered Office: Northcliffe House, 2 Derry Street, London, W8 5TT. > Registered in England & Wales No: 02290527 =A0VAT no. 243571174 > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > --=20 http://fusesource.com http://blog.garytully.com