Esempio n. 1
0
 public bool Enqueue(TaskQueue.Providers.TaskMessage message)
 {
     return Enqueue(message.GetSendEnvelope());
 }
Esempio n. 2
0
        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;
        }