camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1050647 - /camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatTest.java
Date Sat, 18 Dec 2010 14:59:03 GMT
Author: davsclaus
Date: Sat Dec 18 14:59:03 2010
New Revision: 1050647

URL: http://svn.apache.org/viewvc?rev=1050647&view=rev
Log:
CAMEL-3441: DataFormat now supports Service and CamelContextAware which means its easier to
do custom initialization logic in your data formats. CAMEL-3438: Attempt to use classloader
from CamelContext with JAXB to fix classloading issues in for example OSGi runtimes.

Modified:
    camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatTest.java

Modified: camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatTest.java?rev=1050647&r1=1050646&r2=1050647&view=diff
==============================================================================
--- camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatTest.java
(original)
+++ camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/example/DataFormatTest.java
Sat Dec 18 14:59:03 2010
@@ -89,7 +89,7 @@ public class DataFormatTest extends Came
                         to("direct:marshalled");
 
                 from("direct:marshalled").
-                        unmarshal(example).//.jaxb("org.apache.camel.example").
+                        unmarshal().jaxb("org.apache.camel.example").
                         to("mock:result");
                 
                 from("direct:prettyPrint").



Mime
View raw message