The Builder Mediator can be used to build the actual SOAP message from a message coming in to WSO2 Enterprise Integrator (WSO2 EI) through the Binary Relay. One usage is to use this before trying to log the actual message in case of an error. Also with the Builder Mediator WSO2 EI can be configured to build some of the messages while passing the others along.
Info |
---|
In order to use the Builder mediator, |
By default, Builder Mediator uses the axis2
default Message builders for the content types. User can override those by using the optional messageBuilder
configuration. For more information, see Working with Message Builders and Formatters.
Like in axis2.xml
user has to specify the content type and the implementation class of the messageBuilder
. Also user can specify the message formatter
for this content type. This is used by the ExpandingMessageFormatter
to format the message before sending to the destination.
Syntax
Code Block |
---|
<syn:builder xmlns:syn="http://ws.apache.org/ns/synapse"><builder> <syn:messageBuilder<messageBuilder contentType="" class="" [formatterClass=""]/> </syn:builder> |
Excerpt | ||
---|---|---|
| ||
Description of the Builder Mediator in WSO2 EI. |