camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nettome <>
Subject Re: Not able to define processor in Camel
Date Fri, 25 Jul 2014 07:20:00 GMT
Yes, I'm able to read the file.. 

InputStream in = new FileInputStream(file);
routes = context.loadRoutesDefinition(in);

in the above code, I'm getting my route.xml file defined as below - 
<routes xmlns="">
    <route id="fromFile">
        <from uri="file:/data/inbox?noop=ture"/>
        <to uri = "" />        
        <to uri="cache:default" />

but, my CacheComponentProducer is not invoked.
Also, when I'm doing the same thing in a java program through JAVA DSL, its
working. My CacheComponentProducer is getting called.

where should i look for it...

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message