camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject camel git commit: CAMEL-8453 clean up the code of AvroMarshalAndUnmarshallTest
Date Sat, 07 Mar 2015 01:16:00 GMT
Repository: camel
Updated Branches:
  refs/heads/master 2aa61492b -> aa9e14945


CAMEL-8453 clean up the code of AvroMarshalAndUnmarshallTest


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

Branch: refs/heads/master
Commit: aa9e14945be6c9d604e906d5c383a7d56835f773
Parents: 2aa6149
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Sat Mar 7 09:15:40 2015 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Sat Mar 7 09:15:40 2015 +0800

----------------------------------------------------------------------
 .../avro/AvroMarshalAndUnmarshalSpringTest.java           | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/aa9e1494/components/camel-avro/src/test/java/org/apache/camel/dataformat/avro/AvroMarshalAndUnmarshalSpringTest.java
----------------------------------------------------------------------
diff --git a/components/camel-avro/src/test/java/org/apache/camel/dataformat/avro/AvroMarshalAndUnmarshalSpringTest.java
b/components/camel-avro/src/test/java/org/apache/camel/dataformat/avro/AvroMarshalAndUnmarshalSpringTest.java
index 2744504..ba64e90 100644
--- a/components/camel-avro/src/test/java/org/apache/camel/dataformat/avro/AvroMarshalAndUnmarshalSpringTest.java
+++ b/components/camel-avro/src/test/java/org/apache/camel/dataformat/avro/AvroMarshalAndUnmarshalSpringTest.java
@@ -18,7 +18,6 @@ package org.apache.camel.dataformat.avro;
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.spring.SpringCamelContext;
-import org.apache.camel.builder.RouteBuilder;
 
 import org.springframework.context.support.AbstractXmlApplicationContext;
 import org.springframework.context.support.ClassPathXmlApplicationContext;
@@ -32,13 +31,8 @@ public class AvroMarshalAndUnmarshalSpringTest extends AvroMarshalAndUnmarshallT
         return SpringCamelContext.springCamelContext(applicationContext);
     }
 
-    @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
-        return new RouteBuilder() {
-            @Override
-            public void configure() throws Exception {
-            }
-        };
+    public boolean isUseRouteBuilder() {
+        return false;
     }
 
 }


Mime
View raw message