| FUSE ESB 4.2 XML Configuration Reference | ||||||
| SUMMARY: DOCUMENTATION | ELEMENTS | ATTRIBUTES | FRAMES | NO FRAMES | ||||||
http://servicemix.apache.org/eip/1.0)>http://servicemix.apache.org/eip/1.0)
The async bridge pattern is used to bridge an In-Out exchange with two In-Only
(or Robust-In-Only) exchanges. This pattern is the opposite of the {@link Pipeline}.
<br/>
The AsyncBridge uses a correlation identifier to be able to correlate the received
In-Out exchange, the In-Only sent as the request and the In-Only received as the response.
Defaults values are provided to configure those correlation ids. The default behavior
is to use the exchange id of the incoming In-Out exchange as the correlation id and set
it on the request exchange. The same property with the same value should be present on the
response exchange in order for the AsyncBridge to work. ServiceMix components usually take
care of propagating such properties, but failing to propagate it will result in errors.
| Nested Element Summary | |||||||||||||
| sequence |
|
||||||||||||
| Attribute Summary | |
string | endpoint
The name of the endpoint. |
ID | id
|
QName | interfaceName
The qualified name of the interface exposed by the endpoint. |
string | lockManager
The lock manager to use for this endpoint. |
string | requestCorrId
The expression used to compute the correlation id used to correlate the response and the request. |
string | responseCorrId
The expression used to compute the correlation id from the response exchange. |
string | responseCorrIdProperty
Name of the property used by default to compute the correlation id on the response exchange. |
QName | service
The qualified name of the service the endpoint exposes. |
string | store
Configure the store to use. |
string | storeFactory
The store factory to use when creating a store. |
string | target
The target which will be used to send an In-Only or Robust-In-Only exchange to. |
long | timeout
The timeout property controls the amount of time that the async bridge will wait for the response after having sent the request. |
string | timerManager
The timer manager to use for this endpoint. |
boolean | useRobustInOnly
Boolean flag to control if In-Only or Robust-In-Only exchange should be used when sending the request. |
string | wsdlExchangeTarget
An exchange target pointing to a JBI endpoint that will be used to load the WSDL describing this endpoint. |
string | wsdlResource
When specified, this spring resource will be used to load the WSDL that will be exposed as a description for this endpoint. |
| Attribute Detail |
The name of the endpoint.
Defined with global type string
Defined with global type ID
The qualified name of the interface exposed by the endpoint.
Defined with global type QName
The lock manager to use for this endpoint. If none is explicitely specified
a default implementation will be provided.
Defined with global type string
The expression used to compute the correlation id used to correlate the response and
the request. The default behavior is to use the exchange id of the incoming In-Out
exchange as the correlation id.
Defined with global type string
The expression used to compute the correlation id from the response exchange.
The value computed by this expression must match the one from the {@link #setRequestCorrId}
expression. The default value is null, but if no specific expression is configured,
an expression will be created which will extract the response correlation id from the
{@link #setResponseCorrIdProperty(String)} property on the exchange.
Defined with global type string
Name of the property used by default to compute the correlation id on the response
exchange.
Defined with global type string
The qualified name of the service the endpoint exposes.
Defined with global type QName
Configure the store to use. If none is explicitely configured,
the storeFactory will be used to create one.
Defined with global type string
The store factory to use when creating a store. If no factory
is explicitely defined, an in-memory only factory will be created.
Defined with global type string
The target which will be used to send an In-Only or Robust-In-Only exchange to.
When receiving an In-Out exchange, the async bridge will create an In-Only request
and send it to the specified target. It then expects another In-Only exchange to
come back as the response, which will be set as the Out message on the In-Out exchange.
This property is mandatory and must be set to a valid target.
Defined with global type string
The timeout property controls the amount of time that the async bridge will wait for the response
after having sent the request. The default value is 0 which means that no timeout apply. If set
to a non zero value, a timer will be started when after the request is sent. When the timer
expires, the In-Out exchange will be sent back with an error status and a
{@link java.util.concurrent.TimeoutException} as the cause of the error.
The value represents the number of milliseconds to wait.
Defined with global type long
The timer manager to use for this endpoint. If none is explicitely configured,
a default implementation will be provided.
Defined with global type string
Boolean flag to control if In-Only or Robust-In-Only exchange should be used
when sending the request. The default value is <code>false</code> which means
that an In-Only exchange will be used. When using a Robust-In-Only exchange and
when a fault is received, this fault will be sent back to the consumer on the In-Out
exchange and the response exchange (if any) would be discarded.
For both In-Only and Robust-In-Only, if the request exchange comes back with an Error
status, this error will be conveyed back to the consumer in the same way.
Defined with global type boolean
An exchange target pointing to a JBI endpoint that
will be used to load the WSDL describing this endpoint.
This can be used when the endpoint proxies another endpoint
so that the same WSDL definition will be exposed."
Defined with global type string
When specified, this spring resource will be used to load the
WSDL that will be exposed as a description for this endpoint.
This property can be used to explicitely define the WSDL to be
exposed by this endpoint. This property takes precedence over
the wsdlExchangeTarget property.
Defined with global type string
| FUSE ESB 4.2 XML Configuration Reference | ||||||
| SUMMARY: DOCUMENTATION | ELEMENTS | ATTRIBUTES | FRAMES | NO FRAMES | ||||||