Search in sources :

Example 1 with LegacyConnector

use of org.mule.runtime.core.privileged.transport.LegacyConnector in project mule by mulesoft.

the class AbstractLifecycleManager method doOnConnectException.

protected void doOnConnectException(ConnectException ce) throws LifecycleException {
    MuleContext muleContext = ((LegacyConnector) ce.getFailed()).getMuleContext();
    muleContext.getExceptionListener().handleException(ce);
}
Also used : MuleContext(org.mule.runtime.core.api.MuleContext) LegacyConnector(org.mule.runtime.core.privileged.transport.LegacyConnector)

Aggregations

MuleContext (org.mule.runtime.core.api.MuleContext)1 LegacyConnector (org.mule.runtime.core.privileged.transport.LegacyConnector)1