> In our project we pack Camel with maven-shade-plugin into uber-jar and launch 
> it under nohup java -jar.
> I do not have an access to wiki, but I can send you pom.xml and custom 
> Main.java, or publish it here for reference.

It would be great, thanks.

> The replace part could be tricky depending on your requirements. If you 
> started a slightly different copy of the route, you may get duplicates or 
> other undesirable behavior. But route definition should be tested before 
> production somewhere else, so you can probably just shutdown old stuff before 
> staring new one.

The main reason behind this requirement is to preserve ability of simple and 
quick modifications
of integration code as present in shell scripts, so the workflow is:

   $ ssh server
   $ vim ./MyRoutes.scala
   ... edit edit edit ...
   $ some-ctl-script submit-routes ./MyRoutes.scala
   Compiling routes...    [OK]
   Shutdown old routes... [OK]
   Starting new routes... [OK]
   

Reply via email to