public MuleEvent process(MuleEvent event) throws MuleException
{
AbstractConnector connector = (AbstractConnector) endpoint.getConnector();
if (connector.isEnableMessageEvents())
{
connector.fireNotification(new EndpointMessageNotification(event.getMessage(), endpoint,
event.getFlowConstruct().getName(), EndpointMessageNotification.MESSAGE_RECEIVED));
}
return event;
}