activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shamli <sham...@aztecsoft.com>
Subject Re: negative queue size
Date Thu, 05 Oct 2006 06:23:08 GMT

I am sending 30 messages per second for a duration of 30 minutes. The
scenario is i send a message which goes into the queue and gets processed
and i get my response message. The application context xml is as such :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">

<beans>

	<!-- JMS ConnectionFactory -->

	<bean id="jmsConnectionFactory"
class="org.apache.activemq.pool.PooledConnectionFactory"
destroy-method="stop">
		<property name="connectionFactory">
			<bean class="org.apache.activemq.ActiveMQConnectionFactory"
destroy-method="stop">
				<property name="brokerURL"><value>vm://localhost</value></property>
		   </bean>
		</property>
	</bean>
	

	<bean id="gateInQueue" class="org.apache.activemq.command.ActiveMQQueue">
		<property name="physicalName">
			<value>GateIn</value>
		</property>
	</bean>

	<bean id="providerInQueue"
class="org.apache.activemq.command.ActiveMQQueue">
		<property name="physicalName">
			<value>ProviderIn</value>
		</property>
	</bean>
</beans>

In JConsole i see that consumer queue that is 'provider in' queue shows
proper dequeue rate but queue size is negative, that is loss of messages.
The dequeue size + negative consumer queue size = total number of messages
sent.


James.Strachan wrote:
> 
> On 9/29/06, Shamli <shamlib@aztecsoft.com> wrote:
>>
>> I am using ActiveMQ4.0.1 and viewing the queues using JConsole. After the
>> messages are fired and processed, i am getting negative consumer queue
>> size
>> (-989). What does this imply?
> 
> Strange, I've never seen that. Any ideas how to reproduce? It sounds
> like some kinda bug
> 
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: http://www.nabble.com/negative-queue-size-tf2356380.html#a6653221
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message