This is the latest release in the 6.x.x family. For EI 7.0.0, click here.

All docs This doc
Skip to end of metadata
Go to start of metadata

Syntax of Relay Module Policy.

<wsp:Policy wsu:Id="MessageRelayPolicy" xmlns:wsp=""
                    <wsmr:includeHiddenServices>false | false</wsmr:includeHiddenServices>
                        <wsmr:service>Name of the service</wsmr:service>*
                        <wsmr:messageBuilder contentType="content type of the message" class="message builder implementation class" class="message formatter implementation class"/>

These are the assertions:

  • includeHiddenServices - If this is true message going to the services with hiddenService parameter will be built.
  • wsmr:services - Messages going to these services will be built.
  • wsmr:service - Name of the service.
  • wsmr:builders - Message builders to be used for building the message.
  • wsmr:builder - A message builder to be used for a content type.


After changing the policy, the user has to restart the ESB profile of WSO2 EI for the changes to take effect.


If the Message Relay is enabled for particular content type, there cannot be any services with security enabled for that content type.

  • No labels