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
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
> 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