camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reuben Garrett <reubengarr...@gmail.com>
Subject Re: Spring DSL route
Date Tue, 21 Feb 2012 23:51:14 GMT
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_essa24@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message