}
public MuleMessage send(String url, MuleMessage message, long timeout) throws MuleException
{
OutboundEndpoint endpoint = endpointCache.getOutboundEndpoint(url, MessageExchangePattern.REQUEST_RESPONSE, timeout);
return returnMessage(endpoint.process(createMuleEvent(message, endpoint)));
}
public void dispatch(String url, MuleMessage message) throws MuleException
{
OutboundEndpoint endpoint = endpointCache.getOutboundEndpoint(url, MessageExchangePattern.ONE_WAY, null);