hello Claus, Thanks for the Tip.
I had tried for the point 2) using a eventnotifer class, but the results are quiet confusing or maybe I am handling some other event . But i see the Exchange completed is fired for each message sent. So ite becomes diffcult to know which is the exact exchaneg complete event. I will try with a callback and see if that works fine. Below is MY event notifier code. @Override public void notify(EventObject event) throws Exception { if (event instanceof ExchangeCompletedEvent) { ExchangeCompletedEvent exchangeCompletedEvent = (ExchangeCompletedEvent) event; Exchange exchange = exchangeCompletedEvent.getExchange(); String FileName = (String)exchange.getProperty(Exchange.FILE_NAME_CONSUMED); System.out.println("EXCHANGE COMPLETED "+FileName); }else if(event instanceof ExchangeCreatedEvent){ ExchangeCreatedEvent exchangeCreatedEvent = (ExchangeCreatedEvent) event; Exchange exchange = exchangeCreatedEvent.getExchange(); String FileName = (String) exchange.getProperty(Exchange.FILE_NAME_CONSUMED); System.out.println("EVENTTTTTTTTTTTT "+FileName); }else{ System.out.println("EVENT NOt KNOWN "+event.getClass().getName()); } } protected void doStart() throws Exception { // filter out unwanted events setIgnoreCamelContextEvents(true); setIgnoreServiceEvents(true); setIgnoreRouteEvents(false); setIgnoreExchangeCreatedEvent(false); setIgnoreExchangeCompletedEvent(false); setIgnoreExchangeFailedEvents(false); setIgnoreExchangeRedeliveryEvents(true); setIgnoreExchangeSentEvents(false); } The Results On Console. EVENTTTTTTTTTTTT null 1 CSV Line - printed EXCHANGE COMPLETED null EVENTTTTTTTTTTTT null 2 second CSV line - printed EXCHANGE COMPLETED null EVENT NOt KNOWN org.apache.camel.management.event.ExchangeSendingEvent Updating sequence 0 EVENT NOt KNOWN org.apache.camel.management.event.ExchangeSentEvent EXCHANGE COMPLETED null -- View this message in context: http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5777145.html Sent from the Camel - Users mailing list archive at Nabble.com.