servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r481527 - /incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/XPathPredicate.java
Date Sat, 02 Dec 2006 09:29:19 GMT
Author: gnodet
Date: Sat Dec  2 01:29:17 2006
New Revision: 481527

URL: http://svn.apache.org/viewvc?view=rev&rev=481527
Log:
SM-763: XPathPredicate should not copy the in message before processing it.
The message should have been copied by the caller if needed.

Modified:
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/XPathPredicate.java

Modified: incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/XPathPredicate.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/XPathPredicate.java?view=diff&rev=481527&r1=481526&r2=481527
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/XPathPredicate.java
(original)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/XPathPredicate.java
Sat Dec  2 01:29:17 2006
@@ -22,7 +22,6 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.servicemix.expression.JAXPBooleanXPathExpression;
-import org.apache.servicemix.jbi.util.MessageUtil;
 
 /**
  * @author gnodet
@@ -45,7 +44,7 @@
      */
     public boolean matches(MessageExchange exchange) {
         try {
-            NormalizedMessage in = MessageUtil.copyIn(exchange);
+            NormalizedMessage in = exchange.getMessage("in");
             Boolean match = (Boolean) evaluate(exchange, in);
             return Boolean.TRUE.equals(match);
         } catch (Exception e) {



Mime
View raw message