public object ExecuteOneWay(IRequest requestContext, object instance, TRequest request) { var msgFactory = AppHost.TryResolve <IMessageFactory>(); if (msgFactory == null) { var task = ExecuteAsync(requestContext, instance, request); return(task.Result); } //Capture and persist this async req on this Services 'In Queue' //for execution after this req has been completed using (var producer = msgFactory.CreateMessageProducer()) { AppHost.PublishMessage(producer, request); } return(WebRequestUtils.GetErrorResponseDtoType(request).CreateInstance()); }