Re: JMS subscription issue on MQSI

2002-07-16 Thread James Kingdon
Hello Balaji, You can't call session.close from within onMessage (the spec' for session.close requires it to not return until any call to onMessage has completed, and onMessage can't complete whilst you are calling session.close so you get a deadlock). The solution is to use an inter-thread commu

Re: JMS subscription issue on MQSI

2002-07-16 Thread Amit Gupta
Balaji[SMTP:[EMAIL PROTECTED]] > Reply To: MQSeries List > Sent: Tuesday, July 16, 2002 12:30 AM > To: [EMAIL PROTECTED] > Subject: JMS subscription issue on MQSI > Importance: High > > <> > > We are using JMS to subscribe to topics defined on

JMS subscription issue on MQSI

2002-07-15 Thread Ramaswamy, Balaji
> We are using JMS to subscribe to topics defined on MQSI. The components > which receive > the messages posted on a topic implement the MessageListener interface and > wait for > the jms provider to invoke the onMessage() method. There are situations in > our application > in which we try to clos