activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1373794 - /activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java
Date Thu, 16 Aug 2012 11:30:52 GMT
Author: dejanb
Date: Thu Aug 16 11:30:52 2012
New Revision: 1373794

URL: http://svn.apache.org/viewvc?rev=1373794&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3979 - non-daemon threads in ajax servlet

Modified:
    activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java

Modified: activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java?rev=1373794&r1=1373793&r2=1373794&view=diff
==============================================================================
--- activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java
(original)
+++ activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java
Thu Aug 16 11:30:52 2012
@@ -74,7 +74,7 @@ public class MessageListenerServlet exte
     private long defaultReadTimeout = -1;
     private long maximumReadTimeout = 25000;
     private int maximumMessages = 100;
-    private Timer clientCleanupTimer = new Timer();
+    private Timer clientCleanupTimer = new Timer("ActiveMQ Ajax Client Cleanup Timer", true);
     private HashMap<String,AjaxWebClient> ajaxWebClients = new HashMap<String,AjaxWebClient>();
 
     public void init() throws ServletException {



Mime
View raw message