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.

Reply via email to