RabbitMQ报错 Already closed: The AMQP operation was interrupted
C#使用rabbitmq在接收消息事件处理中报错:
Already closed: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=505, text='UNEXPECTED_FRAME - expected content header for class 60, got non content header frame instead', classId=60, methodId=40
解决办法是将接收事件代码里面末尾加个线程休眠“System.Threading.Thread.Sleep(1);”
///
///
/// 外围业务方法
public static void Receive(Func
{
try
{
//如果
RabbitMQ报错 Already closed: The AMQP operation was interrupted最先出现在Python成神之路。
版权声明:
作者:lichengxin
链接:https://www.techfm.club/p/25236.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。
THE END
二维码
共有 0 条评论