XSLT extension gateway
Gateway that is called from extension functions in XSLT transformations.
If an XSLT transformer uses the ezx:call-xslt-extension-gateway(...)
function, the request and response XML messages go through this gateway. This allows users to completely configure the behaviour of the function call, using the messaging components and functionality that are available for "normal" flows.
A typical usage scenario is the case where an XML message need to be transformed and enriched with data obtained from another source. For example, the XML message might contain just a customer number but needs to be enriched with full customer details which can be obtained by calling an (external) web service.
To call this gateway from an XSLT transformer, pass the gateway as an XSLT parameter to the stylesheet and use this parameter to call the ezx:call-xslt-extension-gateway(...)
XSLT function.
To pass the gateway as an XSLT parameter, use the @'component-id'
syntax for the SpEL expression that determines the value of the parameter. For example, if the full id of this gateway is my.flow.receive.xslt-extension-gateway
, the SpEL expression would be @'my.flow.receive.xslt-extension-gateway'
.
Request channel
Channel where request messages should be sent to.
You can select the nullChannel
here to silently drop the request messages.
Required
Reply channel
Channel to consume the reply messages from.
Required
Service interface
The name of the interface which will be exposed by this gateway.
Request timeout
The amount of time (in milliseconds) the dispatcher would wait to send a message. This timeout would only apply if there is a potential to block in the send call, for example if this gateway is hooked up to a queue channel.
Reply timeout
Allows you to specify how long this gateway will wait (in milliseconds) for the reply message before returning null
.
By default it will wait indefinitely.
Error channel
The channel that error messages will be sent to if a failure occurs in this gateway's invocation.
If no error channel is provided (the default), this gateway will propagate exceptions to the caller.
To completely suppress exceptions, provide a reference to the nullChannel here.
Id
Name that uniquely identifies this flow component.
Required