camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r675475 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
Date Thu, 10 Jul 2008 08:22:04 GMT
Author: ningjiang
Date: Thu Jul 10 01:22:04 2008
New Revision: 675475

URL: http://svn.apache.org/viewvc?rev=675475&view=rev
Log:
Added some comments in the BeanExpression

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java?rev=675475&r1=675474&r2=675475&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
Thu Jul 10 01:22:04 2008
@@ -52,7 +52,8 @@
         }
         try {
             Exchange newExchange = exchange.copy();
-            // check the exchange pattern
+            // The BeanExperession always has a result regardless of the ExchangePattern,
+            // so I add a checker here to make sure we can get the result .
             if (!newExchange.getPattern().isOutCapable()) {
                 newExchange.setPattern(ExchangePattern.InOut);
             }



Mime
View raw message