...
Several SUs are packed into a Service Assambly (SA). An SA is a complete "application" consisting of multiple components (reminder: the "smallest appliactions") interacting with each other and making up the big "application".
Further reading: JSR 208
Creating the
...
main POM and the stubs of the SE, SU, SA
...
Creating the stub of the SE
...
Panel | ||
---|---|---|
|
...
Note: The content of <version> describes not the version of ServiceMix but of the project we create, thus we may choose any desired version (e.g. 3.0-final). Then you have to change it below as wellWe just have to use consitently the same version when we reference this project.
Maven commands
By now, it is already possible to call Maven with the relevant goals.
...
No Format |
---|
mvn jbi:projectDeploy
|
it and we now need to fill the holes.
|
ServiceMix will output this confirmation
No Format |
---|
INFO - ServiceAssemblyLifeCycle      - Starting service assembly: hello-world-SA
|
Adding functionality
 Then you can send an request to ...
Configuring the Service
...
AssemblyÂ
manually editing http://goopen.org/confluence/display/SM/Working+with+Service+Units
manually editing http://www.servicemix.org/site/working-with-service-assemblies.html
use the SU archetype like in http://www.servicemix.org/site/creating-a-protocol-bridge.html
use the SA archetype like in http://www.servicemix.org/site/creating-a-protocol-bridge.html
...
Â
Â
Note | ||
---|---|---|
| ||
it and we now need to fill the holes. Then you can send an request to ... The default implementation of the component accepts InOut MEPs and return the input content as the out message. Using an IDE to add meat to the component. You can either use IDEA or Eclipse, I tried it with Eclipse so I guess I am going to stick it for now. <TODO> This shall already include everything stated at |