public bool Enqueue(TaskQueue.Providers.TaskMessage message) { return Enqueue(message.GetSendEnvelope()); }
public bool Enqueue(TaskQueue.Providers.TaskMessage message) { ApiResult result = ApiEnqueue(message.GetSendEnvelope()); if (result != ApiResult.OK) throw new Exception("Message rejected. Check platform configuration, perhaps message type doesn't have any channel"); return true; }