dcsimg
setMessageListener() in 2.1.3
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Andrew_McConnell
Posted On:   Thursday, April 25, 2002 10:01 AM

I am trying to use the Session.setMessageListener() capability under SwiftMQ 2.1.3 .

I have seen posts on the forum indicating that the functionality is implemented, but when I try it, I get the following error:



			
javax.jms.JMSException: setMessageListener is not supported yet!
at com.swiftmq.jms.SessionImpl.setMessageListener(SessionImpl.java:589)



So, is it supported or not?

Re: setMessageListener() in 2.1.3

Posted By:   Andrew_McConnell  
Posted On:   Thursday, April 25, 2002 10:49 AM

Oops! I was looking at the wrong class. I needed to use the QueueReceiver.setMessageListener().

This seems to work great.
About | Sitemap | Contact