...
Code Block |
---|
servicemix/ bin/ servicemix.sh # shell scripts to boot up SMX servicemix.bat wrapper/ # Java Service Wrapper binaries system/ # the system defined OSGi bundles (i.e. the stuff shipped in the distro) which generally shouldn't be edited by users deploy/ # where bundles should be put to be hot-deployed - in jar or expanded format (the latter is good to let folks edit spring.xml files etc) etc/ # some config files for describing which OSGi container to use; also a text file to be able to describe the maven repos & mvn bundles to deploy data/ # directory used to store transient data (logs, activemq journal, transaction log, embedded DB, generated bundles) logs/ generated-bundles/ activemq/ |
...
This is great for working with Spring XML files or Camel Routes in a RAD way; so you can edit things in your IDE and the ServiceMix Runtime will automatically redeploy them.
Console
The runtime comes with a shell console that you can use to launch several commands. For a list of available commands, just run help
.
See the Quick Start Guide for an example on how to start applications via the console.
Provisioning through OBR
In addition to the deploy/ folder, you can use OBR (OSGi Bundle Repository) through the shell console to deploy additional bundles.
See OBR for more information.
Download
You can grab a download of the minimum ServiceMix 4 Runtime here.
You can then use OBR to install new bundles via typing this into the console...
Code Block |
---|
obr/start org.apache.servicemix.bundles.jaxb-impl camel-spring camel-example-osgi
|
Source
You can grab the source code here
In particular the core runtime lives here