public void initialise() throws InitialisationException { try { String scheme = getFullScheme(); TransportServiceDescriptor sd; sd = (TransportServiceDescriptor) muleContext.getRegistry().lookupServiceDescriptor(ServiceType.TRANSPORT, scheme, serviceOverrides); if (sd == null) { throw new ServiceException(CoreMessages.noServiceTransportDescriptor(scheme)); } EndpointURIBuilder builder = sd.createEndpointURIBuilder(); EndpointURI built = builder.build(this.uri, muleContext); initialise(built); } catch (Exception e) { throw new InitialisationException(e, this); } }