aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2018-04-06 10:49:00 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2018-04-06 10:49:00 +0530
commit9b15d3e20c77b6a88e2441d355fe4c196ec05bd7 (patch)
tree4206d9601e807e73d942e47fe150ac29aca514e7 /src/main/java
parent2b34b699cdb91127f9437b1e2f7763bcdfefe6aa (diff)
Sonar critical issues
Either re-interrupt this method or rethrow the InterruptedException Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRr32hFUzlqc5eI&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-174 Change-Id: Ic9fd4b13bc0fd7c308b704f393b379f27b577391 Issue-ID: DMAAP-390 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java b/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java
index 77d47e8..c234678 100644
--- a/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java
+++ b/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java
@@ -173,6 +173,7 @@ public class MRSimplerBatchPublisher extends MRBaseClient implements MRBatchingP
}
} catch (InterruptedException e) {
getLog().warn("Possible message loss. " + e.getMessage(), e);
+ Thread.currentThread().interrupt();
} catch (IOException e) {
getLog().warn("Possible message loss. " + e.getMessage(), e);
}