camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: unmarshal().xstream() not working
Date Fri, 07 Jun 2013 07:02:35 GMT
There is possible an error in the xstream unarmshal.

You can try force loading the file into memory

from file
  convertBodyTo(String.class)
  unmarshal



On Thu, Jun 6, 2013 at 5:42 PM, mchimirev <mchimirev@gilt.com> wrote:
> I'm trying to unmarshal an xml file with camel.  File is created with xStream
> and simple model.
>
> When I change my route to:
>
> it reads the file and I get this output:
>
>
> But when I try to unmarshal the xml
>
>
> I get nothing, I don't even hit the breakpoint on this line:
>
>
>
> ---------------EXECUTABLE CODE----------------------
>
>
>
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/unmarshal-xstream-not-working-tp5733953.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message