We are developing an application and we are facing a problem. I am using using WAS 5.1 and MQ simulator. I am sending email messages using JMS. I have configured the Queue and Queue connection factory as well as Listener port. Most of the time the code works fine but sometime the listener get stopped and we have to start it again.
We do not want to start out Listener again and again to send message. On java ranch you have suggested that exception in code could make Listener port stop working.
My onMessage method is as follows:-
It is using emailutility class for sending message. Here what changed I should do for not stopping Listener port?
[ December 01, 2004: Message edited by: jai deep ]