You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2007/11/16 17:39:29 UTC
svn commit: r595730 -
/activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java
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() {