...
Info | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
XBean deployment
You can deploy Service Units containing a file named xbean.xml for activating consumer and provider endpoints.
This xml file should respect the given syntax, though this is a spring based xml configuration file from where all beans of class HttpEndpoint are retrieved.
See a full example here. Note that you have to define the http namespace with
Code Block | ||||
---|---|---|---|---|
| ||||
<beans xmlns:http="http://servicemix.apache.org/http/1.0">
...
</beans> |
Any numbers of endpoints can be specified in the xbean.xml file.
...