Could you create a JIRA issue for that please:
http://issues.apache.org/activemq/browse/AMQ
On Wed, Aug 6, 2008 at 4:11 AM, solmyr72 <[EMAIL PROTECTED]> wrote:
>
> 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.
>
>
--
Regards,
Hiram
Blog: http://hiramchirino.com
Open Source SOA
http://open.iona.com