camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r567750 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/bean/BeanProcessor.java
Date Mon, 20 Aug 2007 16:57:16 GMT
Author: jstrachan
Date: Mon Aug 20 09:57:16 2007
New Revision: 567750

URL: http://svn.apache.org/viewvc?rev=567750&view=rev
Log:
BeanProcessor was incorrectly setting the getIn() body not the getOut() body

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/bean/BeanProcessor.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/bean/BeanProcessor.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/bean/BeanProcessor.java?rev=567750&r1=567749&r2=567750&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/bean/BeanProcessor.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/bean/BeanProcessor.java
Mon Aug 20 09:57:16 2007
@@ -101,7 +101,7 @@
         try {
             Object value = invocation.proceed();
             if (value != null) {
-                exchange.getIn().setBody(value);
+                exchange.getOut().setBody(value);
             }
         } catch (InvocationTargetException e) {
             // lets unwrap the exception



Mime
View raw message