Hi,
I have a thread that opens up a connection, sends some messages, then closes
the connection:
class MyThread extends Thread{
public void run(){
Connection conn=... // get connection from ActiveMQConnectionFactory
... // send some JMS messages
conn.close();
}
}
It seems that if MyThread is interrupted (using thread.interrupt), the
'close()' operation aborts with a java.io.InterruptedException.
This behavior is bad for our application. Is there a way to ask ActiveMQ to
ignore the interruption, and make an effort to close the connection anyway ?
Thanks :)
--
View this message in context:
http://www.nabble.com/InterruptedException-at-connetion.close%28%29-tp18846291p18846291.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.