...
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
You can now run your first command. Simply enter help
in the console followed by a carriage return.
Panel | |||||
---|---|---|---|---|---|
| |||||
|
Deploy a sample application
...
The example installed is using Camel to start a timer every 2 seconds and output a message on the console.
Code Block |
---|
>>>> MyTransform set body: Wed Jan 02 23:34:19 CET 2008
>>>> MyTransform set body: Wed Jan 02 23:34:21 CET 2008
|
Stopping and uninstalling the sample application
...
To stop this demo, run the following command:
Code Block |
---|
osgi list
|
In the output, locate the line containing camel-example-osgi
and note the id of the bundle in the first column. Then launch the following command:
Code Block |
---|
osgi stop [id]
|
If you wish, you can start again the sample by using the following command:
Code Block |
---|
osgi start [id]
|
To uninstall the demo, run the following command:
Code Block |
---|
osgi uninstall [id]
|
Summary
This document showed you how simple it is to have Apache ServiceMix up and running. The overall time for getting the server running should be less than five minutes if you have the prerequisite (Java 1.5) already installed. Additionally, this article also showed you how to deploy and test a simple Web Service in less than five minutes.
...