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



Reply via email to