event.getMessage().setProperty(SOAP_HEADER_INOUT, REQUEST_HEADER_INOUT, PropertyScope.OUTBOUND);
event.getMessage().setProperty(HTTP_HEADER, TEST_MESSAGE, PropertyScope.OUTBOUND);
// A test component is used on the server side to check HTTP headers that are received (inbound properties).
getFunctionalTestComponent("server").setEventCallback(new EventCallback()
{
@Override
public void eventReceived(MuleEventContext context, Object component) throws Exception
{
errorCollector.checkThat(context.getMessage().getInboundProperty(HTTP_HEADER), notNullValue());