Hi All, I'm looking at changing camel-web to support multiple camel contexts. For my purposes this is to support OSGi users with multiple unrelated camel contexts in the same container, but it should be usable outside of OSGi too.
This email is to find out if there is anything I need to know before I get started :) If you use camel-web in production now, how do you set up your routes (via the REST API?)? Do you know of any other way (apart from OSGi) in which support for multiple camel contexts would help? My plan (roughly) is: 1. Change the API so that it supports multiple contexts (i.e. something like 'camelweb/context/route'). 2. Add a public function to allow external code to register contexts with camel-web. 3. Add an OSGi service tracker to track camel context services and register those. Have I missed anything that would stop that from working? Thanks Jim