New servicemix-http endpoints
TODO
Consumer endpoints
Simple examples
<http:consumer service="my:ConsumerService" endpoint="jbi" targetService="t2:ProviderService" targetEndpoint="ep" locationURI="http://0.0.0.0:8192/person/" />
<http:soap-consumer service="my:ConsumerService" endpoint="jbi" targetService="t2:ProviderService" targetEndpoint="ep" locationURI="http://0.0.0.0:8192/person/" wsdl="classpath:myservice.wsdl" />
Tips
Reference
Name |
Type |
Bean |
Description |
Required |
---|---|---|---|---|
service |
QName |
no |
The service name of this endpoint |
yes |
endpoint |
String |
no |
The endpoint name of this endpoint |
yes |
interfaceName |
QName |
no |
The interface name of this endpoint |
no |
|
|
|
|
|
targetService |
QName |
no |
The service name of the target endpoint |
no (defaults to the service attribute) |
targetEndpoint |
String |
no |
The endpoint name of the target endpoint |
no (defaults to the endpoint attribute) |
targetInterface |
QName |
no |
The interface name of the target endpoint |
no |
targetOperation |
QName |
no |
The operation name for the JBI exchange |
no |
targetUri |
String |
no |
The URI of the target endpoint |
no |
|
|
|
|
|
authMethod |
String |
no |
|
no |
locationURI |
String |
no |
|
yes |
ssl |
SslParameters |
yes |
|
no |
marshaler |
HttpConsumerMarshaler |
yes |
|
no |
timeout |
long |
no |
|
no |
defaultMep |
URI |
no |
|
no (defaults to InOut) |
The following additional properties are available for the SOAP consumer endpoint:
Name |
Type |
Bean |
Description |
Required |
---|---|---|---|---|
wsdl |
Resource |
no |
|
yes |
useJbiWrapper |
boolean |
no |
|
no (defaults to true) |
validateWsdl |
boolean |
no |
|
no (defaults to true) |
policies |
Policy[] |
yes |
|
no |
Provider endpoints
Simple examples
<http:provider service="t2:ProviderService" endpoint="ep" locationURI="http://192.168.0.12:8080" />
<http:soap-provider service="t2:ProviderService" endpoint="ep" wsdl="classpath:service.wsdl" />
Tips
Reference
Name |
Type |
Bean |
Description |
Required |
---|---|---|---|---|
service |
QName |
no |
The service name of this endpoint |
yes |
endpoint |
String |
no |
The endpoint name of this endpoint |
yes |
interfaceName |
QName |
no |
The interface name of this endpoint |
no |
|
|
|
|
|
marshaler |
HttpProviderMarshaler |
yes |
|
no |
locationURI |
String |
no |
|
no |
clientSoTimeout |
int |
no |
|
no (defaults to 60000) |
ssl |
SslParameters |
yes |
|
no |
|
|
|
|
|
proxyHost |
String |
no |
|
no |
proxyPort |
int |
no |
|
no (defaults to 80) |
proxyUsername |
String |
no |
|
no |
proxyPassword |
String |
no |
|
no |
The following additional properties are available for the SOAP provider endpoint:
Name |
Type |
Bean |
Description |
Required |
---|---|---|---|---|
wsdl |
Resource |
no |
|
yes |
wsdl |
Resource |
no |
|
yes |
useJbiWrapper |
boolean |
no |
|
no (defaults to true) |
validateWsdl |
boolean |
no |
|
no (defaults to true) |
policies |
Policy[] |
yes |
|
no |
soapAction |
String |
no |
|
no |