activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r694265 - in /activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web: MessageListenerServlet.java MessageServlet.java MessageServletSupport.java SessionFilter.java
Date Thu, 11 Sep 2008 14:12:08 GMT
Author: dejanb
Date: Thu Sep 11 07:12:04 2008
New Revision: 694265

URL: http://svn.apache.org/viewvc?rev=694265&view=rev
Log:
Cleaning System.err.println() calls (both active and commented ones)

Modified:
    activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java
    activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServlet.java
    activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
    activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/SessionFilter.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=694265&r1=694264&r2=694265&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 Sep 11 07:12:04 2008
@@ -366,7 +366,6 @@
 
             writer.flush();
             String m = swriter.toString();
-            // System.err.println(m);
             response.getWriter().println(m);
         }
 

Modified: activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServlet.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServlet.java?rev=694265&r1=694264&r2=694265&view=diff
==============================================================================
--- activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServlet.java
(original)
+++ activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServlet.java
Thu Sep 11 07:12:04 2008
@@ -208,7 +208,6 @@
                     // send a response for each available message (up to max
                     // messages)
                     while ((maxMessages < 0 || messages < maxMessages) && message
!= null) {
-                        // System.err.println("message["+messages+"]="+message);
                         if (ajax) {
                             writer.print("<response type='object' id='");
                             writer.print(request.getParameter("id"));
@@ -302,7 +301,6 @@
                         // max
                         // messages)
                         while ((maxMessages < 0 || messages < maxMessages) &&
message != null) {
-                            // System.err.println("message["+messages+"]="+message);
                             if (ajax) {
                                 writer.print("<response type='object' id='");
                                 writer.print(request.getParameter("id"));

Modified: activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java?rev=694265&r1=694264&r2=694265&view=diff
==============================================================================
--- activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
(original)
+++ activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
Thu Sep 11 07:12:04 2008
@@ -278,7 +278,7 @@
         }
 
         uri = uri.replace('/', '.');
-        System.err.println("destination uri=" + uri);
+        LOG.debug("destination uri=" + uri);
         return getDestination(client, request, uri);
     }
 
@@ -303,7 +303,7 @@
         if (destinationOptions != null) {
             destinationName += "?" + destinationOptions;
         }
-
+        LOG.debug(destinationName + " (" + (isTopic ? "topic" : "queue") + ")");
         if (isTopic) {
             return client.getSession().createTopic(destinationName);
         } else {

Modified: activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/SessionFilter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/SessionFilter.java?rev=694265&r1=694264&r2=694265&view=diff
==============================================================================
--- activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/SessionFilter.java (original)
+++ activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/SessionFilter.java Thu
Sep 11 07:12:04 2008
@@ -40,9 +40,6 @@
 
     public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
throws IOException, ServletException {
         ((HttpServletRequest)request).getSession(true);
-        // if (session.isNew())
-        // System.err.println("NEW SESSION "+session.getId()+" for
-        // "+((HttpServletRequest)request).getRequestURI());
         chain.doFilter(request, response);
     }
 



Mime
View raw message