2012-06-08 242 views
1

讀取使用JMS,讀取來自隊列碼寫的消息後,不會消耗:消息從隊列

QueueReceiver qReceiver = qSession.createReceiver(queue, getIdCorrelation(msgID)); 
qReceiver.receive(timeOut); 

消息沒有得到從隊列讀取後食用。

回答