vendredi 2 mai 2014

Camel Bindy return 0 instead of null (empty)


Vote count:

0




If the input data is null, when marshaling using my Bindy model (elToCSV) and route as follow: @DataField(pos = 7) int nbRoom;



from("direct:start").bean(ELProcessor.class,"myMethod").marshal(elToCSV).to("file:" + outFolder + "?fileName=test.csv");


it sets automatically a 0 and not an empty field into my output.


is there any parameters to define that i've missed ?


thanks



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire