C#调用阿里云消息队列服务ONS的.NET SDK发送消息:
try { SendResultONS sendResult = pProducer.send(msg); } catch (ONSClientException e) { Console.WriteLine(e.what()); }
出现错误:
Your producer has been shutdown. See https://github.com/alibaba/ons/issues/4 for further details.
请问如何解决这个问题?
你直接提交工单呀,比从这里来快得多。
然后在选个加急
你是不是send之后shutdown啦??
只有你的程序退出的时候shutdown哦。不是每次send完了,就shutdown