activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@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 03:56:08 GMT
2 == Session.CLIENT_ACKNOWLEDGE

Take a quick look here:
http://fusesource.com/docs/esb/4.3.1/amq_tuning/GenTuning-Consumer-Ack.html


On Mon, Aug 5, 2013 at 7:22 PM, smith_jor <acceptany@gmail.com> wrote:

> 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.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message