activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alistair Young <alistair.yo...@UHI.AC.UK>
Subject dequeue count always 0
Date Wed, 27 Jul 2011 11:03:37 GMT
When I create a new ActiveMQConnectionFactory and use:

javax.jms.Connection connection =  connectionFactory.createConnection()

and set autoacknowledge on the connection session:

javax.jms.Session.AUTO_ACKNOWLEDGE

when using jconsole  the dequeue count is always 0, suggesting the messages are never acknowledged,
even though the message listener processes the messages and returns successfully (which is
when the ack is done)

DequeueCount : 0
DispatchCount: 1000
EnqueueCount: 1000

The topic in question is populated via a Camel route - would that make a difference?

thanks,

Alistair


-- 
mov eax,1
mov ebx,0
int 80h




Mime
View raw message