You can look at some of the csv data formats and then use a content
based router to route to either good or bad queues.



On Fri, Jun 2, 2017 at 10:28 AM, sakouhi <[email protected]> wrote:
> 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.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to