Hi,

On Wed, May 7, 2008 at 5:04 PM, Badri
<[EMAIL PROTECTED]> wrote:
>
> Hi
>
> We are running the ./query command against Active MQ 4.0.1 version to detect
> slow consumers.
>
> Question 1:
>
> Currently we are setting log level to DEBUG for Active MQ. Is there any
> statement logged to the log file whenever active mq detects a slow consumer
> & publisher is unable to publish data?
>

No.

> Question 2:
>
> Is there anyway we could get some timestamps in the output? We are using
> non-durable topics.

You don't need time stamps.  You just to run the query and record the
DequeueCounter for each destination.  Then wait say 5 seconds and run
the query again.  if the DequeueCounter stays the same then you know
that the queue has moved in the last 5 seconds.  Something similar
should be possible if you can get the dequeue counter for the
subscribers.

> Sometimes we observe a big difference between EnqueueCounter &
> DequeueCounter & lot of messages in PendingQueueSize. We are trying to
> figure out if a timestamp could be added which will indicate that the
> particular consumer started consuming messages slowly from some time like
> 2008-05-07 12:10:32,234 onwards.
>
> destinationName = MarketData.EUR.SEK
> DispatchedQueueSize = 0
> ConnectionId = ID:dcmpdevapp05-41413-1210192881163-0:0
> PrefetchSize = 32768
> DispachedCounter = 2
> destinationType = Topic
> DiscardedCount = 0
> MaximumPendingMessageLimit = 0
> DequeueCounter = 161915
> PendingQueueSize = 4792
> MaximumPendingQueueSize = -1
> consumerId = ID_dcmpdevapp05-41413-1210192881163-0_0_2_1
> SubcriptionId = 1
> Type = Subscription
> NoLocal = false
> Durable = false
> DestinationQueue = false
> DestinationTopic = true
> Retroactive = false
> DestinationName = MarketData.EUR.SEK
> persistentMode = Non-Durable
> Active = true
> DestinationTemporary = false
> BrokerName = localhost
> Exclusive = false
> Priority = 0
> EnqueueCounter = 199473
> clientId = ID_dcmpdevapp05-41413-1210192881163-1_0
> ClientId = ID:dcmpdevapp05-41413-1210192881163-1:0
> SessionId = 2
>
>
> Thanks
> Badri
> --
> View this message in context: 
> http://www.nabble.com/Timestamp-in-output-of-query-command-tp17114732s2354p17114732.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

Reply via email to