Glad it works now. Sometimes its a bit hard when you have the problem and cant find a solution imeddialty. But at the end you discover more about the frameworks and will be in better shape for the future.
BTW: Did you by any chance get any stacktrace or exception because of the missing .jar? Would like to know if there is something we can do to improve this in camel? If I am not mistaking Camel will silenly convert to null or something if it can't convert. But would like to see any stracktrace or the likes. Med venlig hilsen Claus Ibsen ...................................... Silverbullet Skovsgårdsvænget 21 8362 Hørning Tlf. +45 2962 7576 Web: www.silverbullet.dk -----Original Message----- From: dkozic [mailto:[EMAIL PROTECTED] Sent: 21. august 2008 11:01 To: [email protected] Subject: RE: Marshaling jdbc output with xstream I have added custom debugProcessor and turn on debugger. Splitter works fine. It splits ArrayList of HashMap to one HashMap (jdbc returns one row). It is OK. Before marshaling body is HashMap. After marshaling body is byte[0]. Finally I have found solution. I have added wstx-asl-3.2.3.jar to my classpath (I am not using maven ) and everything works fine. In the meantime I found csv marshaler. Very nice. I like Camel more and more every minute :clap: Claus Ibsen wrote: > > Hi > > I will try to simplify my route at first to try to pin point the problem. > > You can also try to use the "trace" feature of Camel > http://activemq.apache.org/camel/tracer.html > as it would show the execution flows. > > However make the route more simpler. Also in your route you send to > "seda:whcLog" twice. And maybe that confuses you. > > What do you expect it to do? = What is the correct solution to your > problem? > > You can also add a .process() where you can add you own java code and use > debugger or system.out to be sure the data you are looking for is there. > > Also make sure the split is doing what it should correctly. Have you tried > to check the result of the split is correct? > > Bottom line: Dig a big more, make it a bit simpler and you will find the > problem. But don't hesitate to ask again here. > > Glad you are trying it out and hopefully will get a solution to it. At > least Camel gives you at the end the power of pure Java where you can do > what ever you want, so you are not stuck in some kind of "limit". > > -- View this message in context: http://www.nabble.com/Marshaling-jdbc-output-with-xstream-tp19065283s22882p19085007.html Sent from the Camel - Users mailing list archive at Nabble.com.
