You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2016/05/17 15:16:22 UTC

camel git commit: CAMEL-9884 : Fix wrong constant name and typo in tests

Repository: camel
Updated Branches:
  refs/heads/master 84af62540 -> 0b7497dec


CAMEL-9884 : Fix wrong constant name and typo in tests


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0b7497de
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0b7497de
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0b7497de

Branch: refs/heads/master
Commit: 0b7497dec2602552663d57acc52db8d9453e8b16
Parents: 84af625
Author: lburgazzoli <lb...@gmail.com>
Authored: Tue May 17 17:15:17 2016 +0200
Committer: lburgazzoli <lb...@gmail.com>
Committed: Tue May 17 17:15:17 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/ehcache/EhcacheConstants.java | 2 +-
 .../aggregate/EhcacheAggregationRepositoryRoutesTest.java         | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0b7497de/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java
----------------------------------------------------------------------
diff --git a/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java b/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java
index 35ee739..5e231e3 100644
--- a/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java
+++ b/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java
@@ -25,7 +25,7 @@ public interface EhcacheConstants {
     String KEYS = "CamelEhcacheKeys";
     String VALUE = "CamelEhcacheValue";
     String OLD_VALUE = "CamelEhcacheOldValue";
-    String EVENT_TYPE = "CamelEhcacheEventValue";
+    String EVENT_TYPE = "CamelEhcacheEventType";
 
     String ACTION_CLEAR = "CLEAR";
     String ACTION_PUT = "PUT";

http://git-wip-us.apache.org/repos/asf/camel/blob/0b7497de/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/processor/aggregate/EhcacheAggregationRepositoryRoutesTest.java
----------------------------------------------------------------------
diff --git a/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/processor/aggregate/EhcacheAggregationRepositoryRoutesTest.java b/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/processor/aggregate/EhcacheAggregationRepositoryRoutesTest.java
index 133af4e..77cd71a 100644
--- a/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/processor/aggregate/EhcacheAggregationRepositoryRoutesTest.java
+++ b/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/processor/aggregate/EhcacheAggregationRepositoryRoutesTest.java
@@ -26,7 +26,6 @@ import org.apache.camel.RoutesBuilder;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.ehcache.EhcacheTestSupport;
 import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.processor.aggregate.AggregationStrategy;
 import org.junit.Test;
 
 
@@ -80,7 +79,7 @@ public class EhcacheAggregationRepositoryRoutesTest extends EhcacheTestSupport {
                     .aggregationRepository(createAggregateRepository())
                     .aggregationStrategy(EhcacheAggregationRepositoryRoutesTest.this::aggregate)
                     .completionSize(VALUES.length)
-                        .to("log:org.apache.camel.component.ehcache.processor.aggregate^level=INFO%showAll=true&mulltiline=true")
+                        .to("log:org.apache.camel.component.ehcache.processor.aggregate?level=INFO&showAll=true&multiline=true")
                         .to(ENDPOINT_MOCK);
             }
         };