I tried reading the documentation and this forum but I could not find my answer.
The question is: Does CLIENT_ACKNOWLEDGE work when setting up a client to read
messages from a queue? From my testing, it does not work, but I could be doing
something wrong.
Snipped of my code:
...
queueSession = queueConnection.createQueueSession(false, Session.CLIENT_ACKNOWLEDGE);
...
queueReceiver.setMessageListener(textListener);
...
{ textListener implements MessageListener with an onMessage method.
In the onMessage method is where I message.acknowledge or not }
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831569#3831569
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831569
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user