The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

rizzi (12) [Avatar] Offline
#1
hi, i purchased the book, i am interested in unmarshalling the csv to a bean using camel-bindy, but the example in book only shows marshalling to csv and also not in brief with a concrete example and the examples in camel web site is difficult to follow, is there an example or some pointers??
thanks
davsclaus (413) [Avatar] Offline
#2
Re: using camel-bindy to unmarshall
You can try looking at the unit tests for the camel-bindy component
https://svn.apache.org/repos/asf/camel/trunk/components/camel-bindy/
davsclaus (413) [Avatar] Offline
#3
Re: using camel-bindy to unmarshall
Its a bit late for adding much to the book, but I have added a note about this. Maybe we can add an example in the source code, and a little TIP in the book.
davsclaus (413) [Avatar] Offline
#4
Re: using camel-bindy to unmarshall
I have updated chapter 3 with a new example for the reverse situation.

The example is in the source code which you can see here
http://code.google.com/p/camelinaction/source/browse/trunk/chapter3/order/src/test/java/camelinaction/bindy/PurchaseOrderUnmarshalBindyTest.java
rizzi (12) [Avatar] Offline
#5
Re: using camel-bindy to unmarshall
Thanks for the reply and code smilie, yes it would be a great idea to include as a tip in the book and pointing to the source code.
Rizzi