From e8305854550397377a1400a00486ebd4d7212c2d Mon Sep 17 00:00:00 2001 From: James Strachan Date: Thu, 30 Mar 2006 10:01:09 +0000 Subject: [PATCH] interupt thread on exception git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@390056 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/transport/stomp/AsyncHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/transport/stomp/AsyncHelper.java b/activemq-core/src/main/java/org/apache/activemq/transport/stomp/AsyncHelper.java index d59d5731bc..cbb4218814 100644 --- a/activemq-core/src/main/java/org/apache/activemq/transport/stomp/AsyncHelper.java +++ b/activemq-core/src/main/java/org/apache/activemq/transport/stomp/AsyncHelper.java @@ -22,7 +22,8 @@ class AsyncHelper { try { return helper.cycle(); } - catch (InterruptedException e) { /* */ + catch (InterruptedException e) { + Thread.currentThread().interrupt(); } } }