private bool HandleMessage(IMessage message, IMessageHandler handler) { try { handler.AsDynamic().Handle(message); return(true); } catch (Exception ex) { handler.AsDynamic().Handle(new ExceptionMessage(ex, message)); return(false); } }