svn commit: r667435 - in /activemq/camel/trunk/components: camel-http/src/test/java/org/apache/camel/component/http/ camel-jms/src/main/java/org/apache/camel/component/jms/requestor/ camel-spring-integration/src/main/java/org/apache/camel/component/spr...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r667435 - in /activemq/camel/trunk/components: camel-http/src/test/java/org/apache/camel/component/http/ camel-jms/src/main/java/org/apache/camel/component/jms/requestor/ camel-spring-integration/src/main/java/org/apache/camel/component/spr...

davsclaus-2
Author: davsclaus
Date: Fri Jun 13 02:18:38 2008
New Revision: 667435

URL: http://svn.apache.org/viewvc?rev=667435&view=rev
Log:
CAMEL-608: Removed system.out

Modified:
    activemq/camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpPostWithBodyTest.java
    activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/requestor/DeferredRequestReplyMap.java
    activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/requestor/Requestor.java
    activemq/camel/trunk/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/converter/SpringIntegrationConverter.java
    activemq/camel/trunk/components/camel-testng/src/main/java/org/apache/camel/testng/SpringRunner.java

Modified: activemq/camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpPostWithBodyTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpPostWithBodyTest.java?rev=667435&r1=667434&r2=667435&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpPostWithBodyTest.java (original)
+++ activemq/camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpPostWithBodyTest.java Fri Jun 13 02:18:38 2008
@@ -50,7 +50,6 @@
         assertTrue("Should be more than one header but was: " + headers, headers.size() > 0);
 
         String body = in.getBody(String.class);
-        System.out.println(body);
         log.debug("Body: " + body);
         assertNotNull("Should have a body!", body);
         assertTrue("body should contain: " + expectedText, body.contains(expectedText));

Modified: activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/requestor/DeferredRequestReplyMap.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/requestor/DeferredRequestReplyMap.java?rev=667435&r1=667434&r2=667435&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/requestor/DeferredRequestReplyMap.java (original)
+++ activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/requestor/DeferredRequestReplyMap.java Fri Jun 13 02:18:38 2008
@@ -130,7 +130,6 @@
                 }
                 deferredRequestMap.remove(transitionalID);
                 String correlationID = outMessage.getJMSMessageID();
-                // System.out.println("DeferredRequestReplyMap.processDeferredReplies: sent messageID = " + correlationID);
                 Object in = deferredReplyMap.get(correlationID);
 
                 if (in != null && in instanceof Message) {

Modified: activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/requestor/Requestor.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/requestor/Requestor.java?rev=667435&r1=667434&r2=667435&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/requestor/Requestor.java (original)
+++ activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/requestor/Requestor.java Fri Jun 13 02:18:38 2008
@@ -142,7 +142,9 @@
     public void onMessage(Message message) {
         try {
             String correlationID = message.getJMSCorrelationID();
-            // System.out.println("Requestor.onMessage: correlationID " + correlationID);
+            if (LOG.isDebugEnabled()) {
+                LOG.debug("Message correlationID: " + correlationID);
+            }
             if (correlationID == null) {
                 LOG.warn("Ignoring message with no correlationID! " + message);
                 return;

Modified: activemq/camel/trunk/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/converter/SpringIntegrationConverter.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/converter/SpringIntegrationConverter.java?rev=667435&r1=667434&r2=667435&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/converter/SpringIntegrationConverter.java (original)
+++ activemq/camel/trunk/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/converter/SpringIntegrationConverter.java Fri Jun 13 02:18:38 2008
@@ -27,7 +27,6 @@
  *
  * @version $Revision$
  */
-
 @Converter
 public final class SpringIntegrationConverter {
 
@@ -46,7 +45,6 @@
             throw new IllegalArgumentException("The MessageChannel is null");
         }
         Endpoint answer = new SpringIntegrationEndpoint("URL", channel, null);
-        System.out.println("call the toEndpoint method");
         // check the channel
         return answer;
     }

Modified: activemq/camel/trunk/components/camel-testng/src/main/java/org/apache/camel/testng/SpringRunner.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-testng/src/main/java/org/apache/camel/testng/SpringRunner.java?rev=667435&r1=667434&r2=667435&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-testng/src/main/java/org/apache/camel/testng/SpringRunner.java (original)
+++ activemq/camel/trunk/components/camel-testng/src/main/java/org/apache/camel/testng/SpringRunner.java Fri Jun 13 02:18:38 2008
@@ -71,7 +71,6 @@
     @BeforeTest
     protected void setUp() {
         oldSystemProperties = new Properties(System.getProperties());
-        System.out.println("Setup!");
     }
 
     @AfterTest
@@ -80,6 +79,6 @@
             applicationContext.close();
         }
         System.setProperties(oldSystemProperties);
-        System.out.println("Tearning down!");
     }
+
 }
\ No newline at end of file