...
In order to allow our bundles to work with Camel, execute the following commands to download and install the 'Camel and Spring bundles' :
____ _ __ __ _
/ __| ___ _ ____ _() ___ __| \/ ()_ __
___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
__) | __/ | \ V /| | (| __/ | | | |> <
___/ __
_
_/
_
____
_
_
//_\
ServiceMix (1.0.0)
Type 'help' for more information.
-----------------------------------------------------------------------------------------------------------------------
servicemix> osgi install -s mvn:org.springframework/spring-tx/2.5.5
servicemix> osgi install -s mvn:org.apache.camel/camel-core/1.5.0
servicemix> osgi install -s mvn:org.apache.camel/camel-spring/1.5.0
servicemix> osgi install -s mvn:org.apache.camel/camel-osgi/1.5.0
#Resources
Code Block |
---|
servicemix> osgi install \-s mvn:org.springframework/spring-tx/2.5.5
servicemix> osgi install \-s mvn:org.apache.camel/camel-core/1.5.0
servicemix> osgi install \-s mvn:org.apache.camel/camel-spring/1.5.0
servicemix> osgi install \-s mvn:org.apache.camel/camel-osgi/1.5.0
|
Next, copy the two jar into the folder 'deploy', first the service and next the camel bundle. After a few seconds, you should see on the servicemix log console the following text :
Code Block |
---|
>> call >> MyTransform set body: Mon Dec 01 11:02:28 CET 2008
|
Remarks :
- In case of trouble, use the command : osgi list to see if all the deployed bundles are installed correctly and have their status equals to 'active
- To see the log of ServiceMix, use the command : log d
Spring DM server
TODO
#Resources
-
Attachments patterns .*part-one.zip