ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS's setMessageListener method

Post new topic  Reply to topic
 JMS's setMessageListener method « View previous topic :: View next topic » 
Author Message
techno
PostPosted: Tue Dec 16, 2003 9:43 am    Post subject: JMS's setMessageListener method Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

setMessageListener method adds listener to MessageConsumer. How do you remove this MessageListener attached to MessageConsumer?

Similarly, how to remove exceptionListener also?

This is becoming a hurdle while clean up of resources. Pl suggest.

Thanks


Last edited by techno on Thu Mar 24, 2005 10:58 am; edited 1 time in total
Back to top
View user's profile Send private message
sebastiraj
PostPosted: Tue Dec 16, 2003 11:14 am    Post subject: JMS's setMessageListener method Reply with quote

Novice

Joined: 04 Jul 2002
Posts: 11

Setting the message listener to null is the equivalent of unsetting the message listener for the message consumer

Sebasti.,
Back to top
View user's profile Send private message Send e-mail
maxis
PostPosted: Thu Dec 18, 2003 10:26 am    Post subject: Re: JMS's setMessageListener method Reply with quote

Centurion

Joined: 25 Jun 2002
Posts: 144

techno wrote:

This is becoming a hurdle while clean up of resources.


What happens when you clean the mqreceive object ? does the listener object continues to live


M
Back to top
View user's profile Send private message
techno
PostPosted: Fri Dec 19, 2003 8:43 am    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

Yes, It appears so.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS's setMessageListener method
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.