Hi,
my doHandleCsvData signiture is :
doHandleCsvData(List<List<String>> csvData)
so you are saying I have to so this :
doHandleCsvData(@Body List<List<String>> csvData,
@Header("CamelFileName") String
fileName)
?
And another question :
how do I write the exchange beck to a csv file ?
Is this the right syntax:
<route>
<from
uri="file://somefile" />
<unmarshal>
<csv />
</unmarshal>
<to
uri="bean:csvReportsHandler?method=doHandleCsvData" />
<marshal>
<csv />
</marshal>
<to uri="file://fileName=teat.csv" />
</route>
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Poller-of-CSV-tp5745296p5745305.html
Sent from the Camel - Users mailing list archive at Nabble.com.