...
- JBI compliant Binding Component
- Usable in a lightweight mode in servicemix.xml configuration files
- Integrated HTTP server based on Jetty 6
- HTTP Client using Jakarta Commons HTTP Client
- Highly performant and scalable using Jetty 6 continuations
- SOAP 1.1 and 1.2 support
- MIME attachments
- WS-Addressing support
- WSDL based and XBean based deployments
- Support for all MEPs as consumers or providers
...
Info |
---|
title | Configuration |
---|
borderStyle | solidbgColor='lighblue' |
---|
|
Name | Type | Description | Default |
---|
streamingEnabled | boolean | send client side requests using HTTP streaming | false | jettyConnectorClassName | String | Jetty connector class name | org.mortbay.nio.SelectChannelConnector | jettyThreadPoolSize | int | thread pool size for server side requests | 255 | maxConnectionsPerHost | int | max number of simultaneous connections to a given host | 32 | maxTotalConnections | int | max number of total simulatenous connections | 256 |
|
XBean deployment
You can deploy Service Units containing a file named xbean.xml for activating consumer and provider endpoints.
...
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 |
---|
title | Consumer endpoint attributes |
---|
borderStyle | solidbgColor='lighblue' |
---|
|
Name | Type | Description | Required |
---|
service | QName | the service name of the proxied endpoint | | endpoint | String | the endpoint name of the proxied endpoint | | interfaceName | QName | the interface name of the proxied endpoint | | role | String | must be 'consumer' | yes | locationURI | URI | the http url where this proxy endpoint will be exposed | yes | defaultMEP | URI | the default MEP uri to use | no | soap | boolean | if set, the component will parse the soap requests and send the content into the NMR | no (defaults to false) | soapVersion | string | can be set to '1.1' to force the use of SOAP 1.1 messages | no | wsdlResource | Spring resource | if set, the wsdl will be retrieved from the given Spring resource | no |
|
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 |
---|
title | Provider endpoint attributes |
---|
borderStyle | solidbgColor='lighblue' |
---|
|
Name | Type | Description | Required |
---|
service | QName | the service name of the exposed jbi endpoint | yes | endpoint | String | the endpoint name of the exposed jbi endpoint | yes | interfaceName | QName | the interface name of the exposed jbi endpoint | no | role | String | must be 'provider' | yes | locationURI | URI | the http url of the target service | yes | soap | boolean | if set, the component will parse the soap requests and send the content into the NMR | no (defaults to false) | wsdlResource | Spring resource | if set, the wsdl will be retrieved from the given Spring resource | no |
|
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} |