问答详情
源自:3-1 RabbitMQ-消息的可靠性投递-实现方案

消息可以接收到,就是接收到之后会出来这两行是怎么回事

2019-07-23 20:32:17.083 ERROR 7696 --- [.168.1.103:5672] o.s.a.r.c.CachingConnectionFactory       : Channel shutdown: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - unknown delivery tag 1, class-id=60, method-id=80)

2019-07-23 20:32:18.085  INFO 7696 --- [cTaskExecutor-4] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer@4fcc529: tags=[{amq.ctag-T5sBN5Clxz67K0S7bAaw_w=order-queue}], channel=Cached Rabbit Channel: AMQChannel(amqp://guest@192.168.1.103:5672/,2), conn: Proxy@3009877e Shared Rabbit Connection: SimpleConnection@28e2ad1 [delegate=amqp://guest@192.168.1.103:5672/, localPort= 49447], acknowledgeMode=AUTO local queue size=0


提问者:xiaoT丶果冻 2019-07-23 20:35

个回答

  • 慕圣6502300
    2020-09-24 14:41:09

    acknowledgeMode=AUTO,消息签收是不是使用的自动?改为手动试试

  • 慕沐3557678
    2020-05-13 15:32:02

    请问,找到原因了吗?我也是出现这个问题,不影响使用但是会有Error日志。