public IMessageHandler GetMessageHandler(string channelName)
{
if (string.IsNullOrEmpty(channelName))
{
return new ExceptionHandler("Empty channel field in request");
}
if (channelName.StartsWith("/meta/"))
{
return this.GetMetaHandler(channelName);
}
if (channelName.StartsWith("/service/"))
{
return this.swallowHandler;
}
return this.forwardingHandler;
}