...
Note that when using ant tasks, the component is not started, you will have to
start it manually using ant tasks or a console.
...
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.
...
A consumer endpoint is a server-side http endpoint that will consumer plain HTTP, or HTTP+SOAP requests and
send them into the NMR to a given JBI endpoint, which is called the proxied endpoint.
Following is an example of an http consumer endpoint.
Wiki Markup |
---|
{snippet:id=consumer|lang=xml|url=http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-http/src/test/resources/xbean/xbean.xml} |
Info | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
|
Provider endpoint
A provider endpoint is a client-side jbi endpoint which can receive requests from the NMR and send them
to a given url where the service is provided.
Here is an example of an http provider endpoint:
Wiki Markup |
---|
{snippet:id=provider|lang=xml|url=http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-http/src/test/resources/xbean/xbean.xml} |
Info | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
|
Lightweight mode
Wiki Markup |
---|
{snippet:id=lightweight|lang=xml|url=http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-http/src/test/resources/org/apache/servicemix/http/addressing.xml} |