activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: example producer report problem in ActiveMQ 5.1.0
Date Thu, 15 May 2008 16:44:51 GMT
Stat tracking is disabled by default now. (Lowers cpu overhead).

call ActiveMQConnectionFactory.setStatsEnabled(true) or add the
"&jms.statsEnabled=true" option to the connection URI to enable them.

Regards,
Hiram

On Sun, May 11, 2008 at 2:47 PM, jhcha <jhcha@kds.co.kr> wrote:
>
> I tested the example of the new version ActiveMQ 5.1.0
> and I got the below report after running "ant_home/example>ant producer"
>
> ...
>  [java] Sending message: Message: 1996 sent at: Mon May 12 03:11:59
> GMT+09:...
>     [java] Sending message: Message: 1997 sent at: Mon May 12 03:11:59
> GMT+09:...
>     [java] Sending message: Message: 1998 sent at: Mon May 12 03:11:59
> GMT+09:...
>     [java] Sending message: Message: 1999 sent at: Mon May 12 03:11:59
> GMT+09:...
>     [java] Done.
>     [java] connection {
>     [java]   session {
>     [java]     messageCount{ count: 0 unit: count startTime: 1210529514114
> lastSampleTime: 1210529514114 description: Number of messages exchanged }
>     [java]     messageRateTime{ count: 0 maxTime: 0 minTime: 0 totalTime: 0
> averageTime: 0.0 averageTimeExMinMax: 0.0 averagePerSecond: 0.0
> averagePerSecondExMinMax: 0.0 unit: millis startTime: 1210529514114
> lastSampleTime: 1210529514114 description: Time taken to process a message
> (thoughtput rate) }
>     [java]     pendingMessageCount{ count: 0 unit: count startTime:
> 1210529514114 lastSampleTime: 1210529514114 description: Number of pending
> messages }
>     [java]     expiredMessageCount{ count: 0 unit: count startTime:
> 1210529514114 lastSampleTime: 1210529514114 description: Number of expired
> messages }
>     [java]     messageWaitTime{ count: 0 maxTime: 0 minTime: 0 totalTime: 0
> averageTime: 0.0 averageTimeExMinMax: 0.0 averagePerSecond: 0.0
> averagePerSecondExMinMax: 0.0 unit: millis startTime: 1210529514114
> lastSampleTime: 1210529514114 description: Time spent by a message before
> being delivered }
>     [java]     durableSubscriptionCount{ count: 0 unit: count startTime:
> 1210529514114 lastSampleTime: 1210529514114 description: The number of
> durable subscriptions }
>     [java]
>     [java]     producers {
>     [java]       producer queue://TEST.FOO {
>     [java]         messageCount{ count: 0 unit: count startTime:
> 1210529514127 lastSampleTime: 1210529514127 description: Number of messages
> processed }
>     [java]         messageRateTime{ count: 0 maxTime: 0 minTime: 0
> totalTime: 0 averageTime: 0.0 averageTimeExMinMax: 0.0 averagePerSecond: 0.0
> averagePerSecondExMinMax: 0.0 unit: millis startTime: 1210529514127
> lastSampleTime: 1210529514127 description: Time taken to process a message
> (thoughtput rate) }
>     [java]         pendingMessageCount{ count: 0 unit: count startTime:
> 1210529514127 lastSampleTime: 1210529514127 description: Number of pending
> messages }
>     [java]         messageRateTime{ count: 0 maxTime: 0 minTime: 0
> totalTime: 0 averageTime: 0.0 averageTimeExMinMax: 0.0 averagePerSecond: 0.0
> averagePerSecondExMinMax: 0.0 unit: millis startTime: 1210529514127
> lastSampleTime: 1210529514127 description: Time taken to process a message
> (thoughtput rate) }
>     [java]         expiredMessageCount{ count: 0 unit: count startTime:
> 1210529514127 lastSampleTime: 1210529514127 description: Number of expired
> messages }
>     [java]         messageWaitTime{ count: 0 maxTime: 0 minTime: 0
> totalTime: 0 averageTime: 0.0 averageTimeExMinMax: 0.0 averagePerSecond: 0.0
> averagePerSecondExMinMax: 0.0 unit: millis startTime: 1210529514127
> lastSampleTime: 1210529514127 description: Time spent by a message before
> being delivered }
>     [java]       }
>     [java]     }
>     [java]     consumers {
>     [java]     }
>     [java]   }
>     [java] }
>
>
> the above result did not show the correct statstics of how many conunt,
> average per second ...
>
> but ActiveMQ 4.X showed the correct statistics.
>
> Could the developer check the ActiveMQ 5.1.0 logic or build.xml properties ?
>
> Thanks
>
> J. H. Cha
>
> --
> View this message in context: http://www.nabble.com/example-producer-report-problem-in-ActiveMQ-5.1.0-tp17170634s2354p17170634.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Mime
View raw message