{
((MuleContextAware) outboundEndpoint).setMuleContext(getMuleContext());
}
if (outboundEndpoint instanceof MessagingExceptionHandlerAware)
{
((MessagingExceptionHandlerAware) outboundEndpoint).setMessagingExceptionHandler(new MessagingExceptionHandlerToSystemAdapter());
}
if (outboundEndpoint instanceof Initialisable)
{
((Initialisable) outboundEndpoint).initialise();
}