Hi The deploy folder is not as good to use. So if you want to refresh in specific order, then copy the files in the given order, but make sure to have delay between to give time to pickup the files one by one.
I am not sure if the felix fileinstall sorts the files first or something when it scans the deploy folder. You can ask on karaf mailing list or dive into the codebase to see what the code does. On Tue, Nov 18, 2014 at 4:08 PM, Thomas Weinschenk <thomas.weinsch...@infoserve.endress.com> wrote: > Hi Claus, > > Thank you for your answer. If I add a block it works. But I need the > refresh/restart the context in the correct order. In my example route1, > route2 and then route3. > > This works if I do it manually but I have no glue how this could work > automatically in production. I deploy and update the files dynamically. > > Regards, > Thomas > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/direct-vm-in-OSGI-how-to-handle-context-updates-tp5759259p5759266.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/