camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sakouhi <sakouhicha...@gmail.com>
Subject filtering files based on their contents
Date Fri, 02 Jun 2017 08:28:53 GMT
Hi,
I'm trying to configure a camel route that reads from file ( .csv or .xl3). 
An example of file:
ClientA     ClientB     Start-time  End-time     Duration    Status 
35862515 36958452 16/01/217  16/01/2017  10            good
32456988 22583694 16/01/217  16/01/2017  05            good
35968478 36985724 16/01/217  16/01/2017
32456988 22583694 16/01/217  16/01/2017  01            good
 I need to filter the file line by line. If the Duration is Not null, the
event will be send to jms:GoodCall:queue, Otherwise, the event will be send
to another path jms:BadCall:queue. 

Is there an example of camel processors ? 
Thanks



--
View this message in context: http://camel.465427.n5.nabble.com/filtering-files-based-on-their-contents-tp5801678.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message