Either re-interrupt this method or rethrow the InterruptedException
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#assignees=soumendu|severities=CRITICAL
Location:
src/main/java/com/att/nsa/mr/test/clients/ConsolePublisher.java
Line No-84
Change-Id: Idc03d7bdead85683faf09e10f0281e48a592da63
Issue-ID: DMAAP-174
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
                        catch ( InterruptedException e )
                        {
                             logger.error( "Send on close interrupted." );
+                            Thread.currentThread().interrupt();
                        }
                        for ( message m : leftovers )
                        {