component = event.getFlowConstruct().getName();
}
EndpointURI endpointUri = event.getEndpoint().getEndpointURI();
// Create an ExceptionMessage which contains the original payload, the exception, and some additional context info.
ExceptionMessage msg = new ExceptionMessage(event, t, component, endpointUri);
MuleMessage exceptionMessage = new DefaultMuleMessage(msg, event.getMessage(), muleContext);
// Create an outbound router with all endpoints configured on the exception strategy
MulticastingRouter router = new MulticastingRouter()
{