Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

File Poller of CSV

$
0
0
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

Viewing all articles
Browse latest Browse all 5648

Trending Articles