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.

Reply via email to