activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liquidd <spambo...@mail.ru>
Subject Re: Subscribe + Client aknowledge problem
Date Mon, 13 Apr 2009 11:31:28 GMT

My code:
QueueConnection s_queueConnection =
s_connectionFactory.createQueueConnection();

Session m_queueSessionConsume = s_queueConnection.createQueueSession(false,
Session.CLIENT_ACKNOWLEDGE);
Queue m_queue = m_queueSessionConsume.createQueue("MyQueue");

m_queueReceiver = m_queueSessionConsume.createConsumer(m_queue);

s_queueConnection.start();

...

m_currMsg = m_queueReceiver.receive();

-- 
View this message in context: http://www.nabble.com/Subscribe-%2B-Client-aknowledge-problem-tp23020938p23021110.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message