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: Camel xstream
Date Fri, 04 Mar 2011 11:54:47 GMT
You need to add camel-xstream JAR to the classpath, and its associated
JARs (eg XStream itself and what it depends upon).

The error message has been improved in future releases of Camel to
better tell you this.


On Fri, Mar 4, 2011 at 9:36 AM, Kovacs Zsolt <zsolt.m.kovacs@gmail.com> wrote:
> Hi,
>
> I tried to marshal to XML a JDBC query like this:
>        from("timer://foo?period=
> 10000")
>          .setBody(constant("SELECT * FROM ..."))
>          .to(testdb)
>          .split(body());
>          .marshal().xstream("UTF-8");
>
>  But Camel fail to create the route on the last line: *because of dataFormat
> must be specified*.
>
> I can't find any help on this issue (I tried without "UTF-8" as well).
>
> Thanks,
> Zsolt
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message