-
1. Re: Deploying to Fuse?
wsimons Oct 31, 2014 12:29 AM (in response to magick93)http://stackoverflow.com/questions/19912533/managing-deployments-for-nodes-running-camel-routes
I do not think everything is done with switchyard for osgi/karaf
anyway, I hope this helps....
-
2. Re: Deploying to Fuse?
rcernich Oct 31, 2014 2:13 PM (in response to magick93)Hey Anton,
Sorry, we're a bit behind on the documentation. If you're using the SwitchYard Eclipse tooling to create your project, there's a new option in the new project wizard to create the project as an OSGi bundle. This will setup the pom to produce a bundle and will also create a features.xml for your project. As components are configured on the project, the features.xml file will be updated appropriately (e.g. dropping a soap binding onto a service will add the soap component dependency to the pom and will add a feature dependency into the features file). After building your project (mvn install), you can simply install the feature for your project in Karaf, e.g.
features:addurl mvn:com.example.switchyard/switchyard-example/0.0.1-SNAPSHOT/xml/features
features:install switchyard-example
Where the mvn uri is <groupId>/<artifactId>/<version>/xml/features (xml is the type and features is the classifier) and switchyard-example is the artifactId (i.e. the above is appropriate for the defaults in the new project wizard).
Hope that helps,
Rob
-
3. Re: Deploying to Fuse?
rcernich Oct 31, 2014 2:16 PM (in response to rcernich)There's also some good information here on setting up SwitchYard on Karaf or Fuse: SwitchYard on Karaf