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 7818379EE for ; Tue, 9 Aug 2011 12:40:01 +0000 (UTC) Received: (qmail 13871 invoked by uid 500); 9 Aug 2011 12:40:01 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 13719 invoked by uid 500); 9 Aug 2011 12:39:59 -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 13711 invoked by uid 99); 9 Aug 2011 12:39:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 12:39:58 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,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 tabish121@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 12:39:52 +0000 Received: by vws10 with SMTP id 10so2547751vws.2 for ; Tue, 09 Aug 2011 05:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=ZEWE3J4tY4XElG1B8YisRpx3FPIge0VNAZHVzGBrC0g=; b=bY7M2RDzk/7nNGcmF/sUKYNlxeqcS+RA3d79EzK+jREllKkknoufhL1HpSVoxKZ0pU k6X1s1EPTMG1r3fAydT/QqJDOi5bo5/rqnxSYY0ee7qnmM8F80yOx6Ed3WZrGAucKYUR KApJ1MtHy5ihtO/ggheAe/luPbl/pro8ODrDQ= Received: by 10.52.188.6 with SMTP id fw6mr6418658vdc.528.1312893570729; Tue, 09 Aug 2011 05:39:30 -0700 (PDT) Received: from [192.168.2.150] (c-98-231-181-148.hsd1.va.comcast.net [98.231.181.148]) by mx.google.com with ESMTPS id o3sm3053722vca.26.2011.08.09.05.39.29 (version=SSLv3 cipher=OTHER); Tue, 09 Aug 2011 05:39:30 -0700 (PDT) Subject: Re: Message bandwidth/overheads - how to reduce? From: Timothy Bish To: users@activemq.apache.org In-Reply-To: <1312889401295-3729673.post@n4.nabble.com> References: <1312468130869-3718866.post@n4.nabble.com> <1312548580.2675.2.camel@office> <1312552957681-3721276.post@n4.nabble.com> <1312553356.2675.3.camel@office> <1312889401295-3729673.post@n4.nabble.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 09 Aug 2011 08:39:28 -0400 Message-ID: <1312893568.2751.3.camel@office> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 (2.32.3-1.fc14) Content-Transfer-Encoding: 7bit On Tue, 2011-08-09 at 04:30 -0700, Phil White wrote: > Thanks Tim > > The subscriber URI is now: > > activemq:tcp://HUSH7:61616?wireFormat.tightEncodingEnabled=true&transport.useLogging=true > but I don't see any log files. I must be missing something - do I need to > enable something else, or install a logger on the subscriber? > > On the question of the underlying message size, 300+ bytes minimum for an > empty message, do you have any thoughts on that? > > Thanks again- > Take a look at the ITrace and Tracer classes in NMS and the NMSTracer in the NMS Unit tests src, that should give you an idea of what you need to do to direct to logging to whatever source you want, we don't create files since everyone has their own way of logging and storing that data. There is no such thing as an empty message, each message has information in it about the destination its directed to, the connection it came from, and other provider specific properties that allow the broker to route the messages. Regards -- Tim Bish ------------ FuseSource Email: tim.bish@fusesource.com Web: http://fusesource.com Twitter: tabish121 Blog: http://timbish.blogspot.com/