reta commented on a change in pull request #603: [CXF-8161] fix memory leak and 
thread leak in JMSDestination
URL: https://github.com/apache/cxf/pull/603#discussion_r349884416
 
 

 ##########
 File path: 
rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/util/PollingMessageListenerContainer.java
 ##########
 @@ -210,6 +210,8 @@ protected void handleException(Throwable e) {
             wrapped.addSuppressed(e);
         }
         this.exceptionListener.onException(wrapped);
+        // stop the executor and the current thread after handling of the 
exception.
 
 Review comment:
   :+1: , should be a bit simpler overall I think, thanks!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to