Hi ,
I want to do File Poller of CSV, then unmarshaling.like this:
<route>
<from
uri="file:///some/path/to/pickup/csvfiles?delete=true橪;consumer.delay=10000"
/>
<unmarshal><csv /></unmarshal>
<to uri="bean:myCsvHandler?method=doHandleCsvData" />
</route>
But I also want to get *also *the *file name* in my bean.
How do I do this ?
Thx
I want to do File Poller of CSV, then unmarshaling.like this:
<route>
<from
uri="file:///some/path/to/pickup/csvfiles?delete=true橪;consumer.delay=10000"
/>
<unmarshal><csv /></unmarshal>
<to uri="bean:myCsvHandler?method=doHandleCsvData" />
</route>
But I also want to get *also *the *file name* in my bean.
How do I do this ?
Thx