activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smith_jor <>
Subject Re: when Consumer consume a message using method receive(), why the mesage does not dequeue from activeMQ?
Date Tue, 06 Aug 2013 02:22:20 GMT
I used 
"session = connection.createSession(false,2);"

to create a session. when I changto 

"session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);"

Consumer can successfully dequeue message from MQ.

It works!!! 

but which scenario "create.Session(false, 2)" can use?

when and who dequeue message from activemq?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message