Posted: Fri Jun 18, 2004 9:45 am Post subject: subscriber.close() hangs during a blocked receive call.
Acolyte
Joined: 19 Apr 2004 Posts: 70
Hi,
I create and pass a Topic subscriber handle to a thread. The thread makes a blocked receive call.
In case when I want to exit the program by making a call to subscriebr.close() and then connection.close() in my main thread the application hangs because of the blocked receive call. I dont get any exception/message. It keeps hanging for more than a hour so I need to perform a abnormal shutdown.
I can make use of receive with a time out value, but I need lot many deployment changes in our system. We need something immediate to resolve this issue.
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