Unfortunately XmlBeans marshalling didn't quite make it into the 1.2.0
release. The class its looking for:
org.apache.camel.dataformat.converter.XmlBeansDataType doesn't exist.

This is working fine in trunk though - the correct class is
org.apache.camel.converter.xmlbeans.XmlBeansDataFormat

As soon as we release 1.3.0 it'll be working AFAIK.

On 09/11/2007, Jeffery <[EMAIL PROTECTED]> wrote:
>
> I tried with this line of codes:
> ...
> from(PRODUCER_EP_URI).unmarshal().xmlBeans().to(CONSUMER_EP_URI);
> ...
> But exceptions are reported:
>
> java.lang.IllegalArgumentException: The class
> org.apache.camel.dataformat.converter.XmlBeansDataType is not on the
> classpath! Cannot use the dataFormat
> [EMAIL PROTECTED]
>         at
> org.apache.camel.model.dataformat.DataFormatType.createDataFormat(DataFormatType.java:68)
>         at
> org.apache.camel.model.dataformat.DataFormatType.getDataFormat(DataFormatType.java:54)
>         at
> org.apache.camel.model.UnmarshalType.createProcessor(UnmarshalType.java:89)
>         at
> org.apache.camel.model.ProcessorType.makeProcessor(ProcessorType.java:882)
>         at 
> org.apache.camel.model.ProcessorType.addRoutes(ProcessorType.java:87)
>         at org.apache.camel.model.RouteType.addRoutes(RouteType.java:182)
>         at org.apache.camel.model.RouteType.addRoutes(RouteType.java:80)
>         at org.apache.camel.model.RouteType.addRoutes(RouteType.java:71)
>         at
> org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:449)
>         at
> org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:441)
>         at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:51)
>
> Should I configure something somewhere?
>
> Thanks in advance.
>
>
> --
> View this message in context: 
> http://www.nabble.com/How-to-unmarshal-with-XMLBeans--tf4775991s22882.html#a13661850
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>


-- 
James
-------
http://macstrac.blogspot.com/

Open Source SOA
http://open.iona.com

Reply via email to