Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Several parameters can be configured using a JMX console.

Info
titleConfiguration
borderStylesolidbgColor='lighblue'
titleConfiguration

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 simultaneous connections

256

...

Wiki Markup
{snippet:id=consumer|lang=xml|url=servicemix/components/bindings/servicemix-http/trunk/src/test/resources/xbean/xbean.xml}
Consumer endpoint attributes
Info
title
borderStylesolidbgColor='lighblue'
titleConsumer endpoint attributes

Name

Type

Description

Required

service

QName

the service name of the proxied endpoint

yes

endpoint

String

the endpoint name of the proxied endpoint

yes

interfaceName

QName

the interface name of the proxied endpoint

 

targetService

QName

the service name of the target endpoint

no (defaults to the service attribute)

targetEndpoint

String

the endpoint name of the target endpoint

no (defaults to the endpoint attribute)

targetInterfaceName

QName

the interface name of the target 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

defaultOperation

QName

the default operation name to set on the JBI exchange. if not set, it defaults to the QName of the root xml element

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

authMethod

string

HTTP authentication method to use, e.g. basic

no

...

Wiki Markup
{snippet:id=provider|lang=xml|url=servicemix/components/bindings/servicemix-http/trunk/src/test/resources/xbean/xbean.xml}
Provider endpoint attributes
Info
title
borderStylesolidbgColor='lighblue'
titleProvider endpoint attributes

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)

soapAction

String

the SOAPAction header to send when invoking the web service

no (defaults to "")

wsdlResource

Spring resource

if set, the wsdl will be retrieved from the given Spring resource

no

...

Code Block
xml
xml
<http:endpoint service="testBasicAuth:MyConsumerService"
  endpoint="myConsumer"
  role="consumer"
  targetService="..."
  authMethod="basic"
  locationURI="https://localhost:8193/Service/">
</http:endpoint>

Info
titleBasicAuthCredentials attributes
borderStylesolidbgColor='lighblue'
titleBasicAuthCredentials attributes

Name

Type

Description

Required

username

String

Authentication username

 

password

String

Authentication password

 

...

Wiki Markup
{snippet:id=ssl|lang=xml|url=servicemix/components/bindings/servicemix-http/trunk/src/test/resources/org/apache/servicemix/http/spring.xml}
Info
titleSSL attributes
borderStylesolidbgColor='lighblue'
titleSSL attributes

Name

Type

Description

Required

keyPassword

String

key password

Defaults to keyStorePassword

keyStore

URL

url to access the key store

Yes (defaults to system property 'javax.net.ssl.keyStore')

keyStorePassword

String

the password to access the keystore

Yes (defaults to system property 'javax.net.ssl.keyStorePassword')

keyStoreType

String

type of the key store

JKS

trustStore

URL

url to access the trust store

 

trustStorePassword

String

the password to access the trust store

If trustStore is specified, defaults to system property 'javax.net.ssl.trustStorePassword'

trustStoreType

String

type of the trust store

JKS

protocol

String

standard name of the requested secure socket protocol

TLS

algorithm

String

algorithm used for key management

SunX509

wantClientAuth

boolean

configures the socket for consumer endpoints to accept client side authentication

false

needClientAuth

boolean

configures the socket for consumer endpoints to require client side authentication

false

...