svn commit: r595730 - /activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java

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

svn commit: r595730 - /activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java

jstrachan-2
Author: jstrachan
Date: Fri Nov 16 08:39:28 2007
New Revision: 595730

URL: http://svn.apache.org/viewvc?rev=595730&view=rev
Log:
lowered the logging level if there is no replyTo destination; which is quite common so it shouldn't be a warning

Modified:
    activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java

Modified: activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java?rev=595730&r1=595729&r2=595730&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java (original)
+++ activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java Fri Nov 16 08:39:28 2007
@@ -156,7 +156,9 @@
 
     protected void sendReply(Destination replyDestination, final Message message, final JmsExchange exchange, final JmsMessage out) {
         if (replyDestination == null) {
-            LOG.warn("Cannot send reply message as there is no replyDestination for: " + out);
+            if (LOG.isDebugEnabled()) {
+                LOG.debug("Cannot send reply message as there is no replyDestination for: " + out);
+            }
             return;
         }
         getTemplate().send(replyDestination, new MessageCreator() {