Re: Loading Camel Context from Spring XML

2014-04-11 Thread Claus Ibsen
Hi You have autoStartup="false"> So the routes is not started out of the box. On Wed, Apr 9, 2014 at 3:51 AM, Pavan Naganna wrote: > Hi , > > I have problems in copying the files from data/inbox to data/outbox using > Camel with Spring DSL . Below are my beans.xml and Java Programs. Also I am

Re: Loading Camel Context from Spring XML

2014-04-10 Thread Pavan Naganna
Hi , I have problems in copying the files from data/inbox to data/outbox using Camel with Spring DSL . Below are my beans.xml and Java Programs. Also I am not seeing processor getting added. Please help me on this. beans.xml http://www.springframework.org/schema/beans"; xmlns:xs

Re: Loading Camel Context from Spring XML

2012-09-10 Thread gsehgal
it worked. You have to specify a "//" after "file:" otherwise it was not able to resolve the path. Thanks for your help. -- View this message in context: http://camel.465427.n5.nabble.com/Loading-Camel-Context-from-Spring-XML-tp5719025p5719032.html Sent from the Camel - Users mailing list arc

Re: Loading Camel Context from Spring XML

2012-09-10 Thread Claus Ibsen
Hi The file component in Camel is configured with a starting directory, as documented (see big green box) http://camel.apache.org/file2 So you route should most likely be Then it will pickup any files you put in the inbox directory. On Mon, Sep 10, 2012 at 1:14 PM, gsehgal wrote: > Hi, >

Re: Loading Camel Context from Spring XML

2012-09-10 Thread gsehgal
Hi, I did that now my XML looks like: Though even now the routes are not started, I am usingCamel version: 2.9.2 and spring version : 3.0.6. That should be fine right? Regards, -- View this message in context:

Re: Loading Camel Context from Spring XML

2012-09-10 Thread Claus Ibsen
Hi You have set autoStartup=false, which means routes wont be started on staring CamelContext. Set the option to true, or remove it (as true is default). On Mon, Sep 10, 2012 at 12:45 PM, Gaurav Sehgal wrote: > Hi, > I have a simple XML file: > > > http://www.springframework.org/schema/bean