activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smith_jor <accept...@gmail.com>
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: http://activemq.2283324.n4.nabble.com/when-Consumer-consume-a-message-using-method-receive-why-the-mesage-does-not-dequeue-from-activeMQ-tp4670089p4670109.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message