The only was I’ve seen routes added and removed from a Camel context dynamically is using OGSi and some sort of a service factory - here’s one example ( https://blog.avisi.nl/2014/06/05/creating-camel-routes-on-the-fly-using-osgi/ <https://blog.avisi.nl/2014/06/05/creating-camel-routes-on-the-fly-using-osgi/> )
> On Apr 7, 2017, at 3:28 AM, Fatima Sajjad <fatimasajjad...@gmail.com> wrote: > > yeah i understand this its harder to do this is java. > > with reference to your following statement which is infact true .is there > any standard camel project /sample having done this thing already ? > "Groovy allows scripting so you can have it load some .groovy source > code and compile and run that in an existing JVM." > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/how-to-enable-Scala-Groovy-route-definition-in-camel-web-console-tp5797121p5797135.html > Sent from the Camel - Users mailing list archive at Nabble.com.