aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-01 15:22:00 +0530
committerSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-01 17:02:14 +0530
commiteb17f3f73ab6b43a0531b679d805e9fc0a276ad5 (patch)
tree969a39dc0225d3fe1239a2ac234265079e82a2e5 /src
parente9d61735616b573ce7a2d66dc70dc882b2201017 (diff)
sonar critical for InterruptedException
Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#assignees=__me__%2Csoumendu Location: src/main/java/com/att/nsa/mr/tools/MessageCommand.java Line No-115 Issue-ID: DMAAP-171" Change-Id: I05ddf7afbed8187a18583a2b0c4592877e529c0f Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/nsa/mr/tools/MessageCommand.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/mr/tools/MessageCommand.java b/src/main/java/com/att/nsa/mr/tools/MessageCommand.java
index 97216c4..354dc18 100644
--- a/src/main/java/com/att/nsa/mr/tools/MessageCommand.java
+++ b/src/main/java/com/att/nsa/mr/tools/MessageCommand.java
@@ -116,6 +116,7 @@ public class MessageCommand implements Command<MRCommandContext>
{
out.println ( "Problem sending message: " + e.getMessage() );
logger.error("Problem sending message: ", e);
+ Thread.currentThread().interrupt();
}
if ( left != null && left.size () > 0 )
{