camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [01/12] camel git commit: CAMEL-5958: Bindy ignores bean class type (initial work)
Date Fri, 07 Aug 2015 09:14:27 GMT
Repository: camel
Updated Branches:
  refs/heads/master d7803241b -> 3fc9de754


CAMEL-5958: Bindy ignores bean class type (initial work)


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

Branch: refs/heads/master
Commit: cfb8f920746556a4aadc5b7412c322797224be3e
Parents: ce6bf6e
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Wed Nov 6 22:17:23 2013 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Aug 7 11:05:04 2015 +0200

----------------------------------------------------------------------
 .../dataformat/bindy/csv/BindyComplexCsvUnmarshallTest.java | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/cfb8f920/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyComplexCsvUnmarshallTest.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyComplexCsvUnmarshallTest.java
b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyComplexCsvUnmarshallTest.java
index 72ca66d..59f7ec5 100755
--- a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyComplexCsvUnmarshallTest.java
+++ b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyComplexCsvUnmarshallTest.java
@@ -49,9 +49,12 @@ public class BindyComplexCsvUnmarshallTest extends AbstractJUnit4SpringContextTe
 
     public static class ContextConfig extends RouteBuilder {
         public void configure() {
-            BindyCsvDataFormat camelDataFormat = 
-                new BindyCsvDataFormat(org.apache.camel.dataformat.bindy.model.complex.twoclassesandonelink.Order.class);
-            from("direct:start").unmarshal(camelDataFormat).to("mock:result");
+            Class<?> type =
+                org.apache.camel.dataformat.bindy.model.complex.twoclassesandonelink.Order.class;
+
+            from("direct:start")
+                .unmarshal(new BindyCsvDataFormat(type))
+                .to("mock:result");
         }
     }
 }


Mime
View raw message