svn commit: r734727 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/DefaultAggregationCollection.java

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

svn commit: r734727 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/DefaultAggregationCollection.java

jstrachan-2
Author: jstrachan
Date: Thu Jan 15 06:53:28 2009
New Revision: 734727

URL: http://svn.apache.org/viewvc?rev=734727&view=rev
Log:
applied fix for CAMEL-1262

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/DefaultAggregationCollection.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/DefaultAggregationCollection.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/DefaultAggregationCollection.java?rev=734727&r1=734726&r2=734727&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/DefaultAggregationCollection.java (original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/DefaultAggregationCollection.java Thu Jan 15 06:53:28 2009
@@ -56,6 +56,9 @@
     @Override
     public boolean add(Exchange exchange) {
         Object correlationKey = correlationExpression.evaluate(exchange);
+        if (LOG.isDebugEnabled()) {
+            LOG.debug("evaluated expression: " + correlationExpression + " as CorrelationKey: " + correlationKey);
+        }
         Exchange oldExchange = map.get(correlationKey);
         Exchange newExchange = exchange;