newbiee, I'm not sure I completely understand your situation, but it sounds more like a dependency/deployment problem than something related to camel itself.
If you're having trouble packaging your application's dependencies, then maybe the Maven Shade plugin would help? http://maven.apache.org/plugins/maven-shade-plugin/ ~ RNPG On Tue, Feb 21, 2012 at 16:15, newbiee <m_ess...@hotmail.com> wrote: > If I define my route using JAVA DSL and then if I want to run my program > from > a different computer where maven does not exist, I can do the following: > > > java -cp dependency/*;chapter1-file-copy-1.0.jar > camelinaction.FileCopierWithCamel > > Here my route is in "FileCopierWithCamel" > > My question is: If my route is defined using Spring DSL i.e. > "camel-context.xml" then how can I execute the route from a different > computer where maven does not exist. > > 1. I will have to copy all the dependencies using the following commmand: > > mvn dependency:copy-dependencies > > 2. Following commad will create JAR file: > > mvn install > > Now what should I do to run the program from a different computer? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Spring-DSL-route-tp5503528p5503528.html > Sent from the Camel - Users mailing list archive at Nabble.com. >