Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot RabbitMQ';s队列更改它';s状态将自动禁用_Spring Boot_Rabbitmq - Fatal编程技术网

Spring boot RabbitMQ';s队列更改它';s状态将自动禁用

Spring boot RabbitMQ';s队列更改它';s状态将自动禁用,spring-boot,rabbitmq,Spring Boot,Rabbitmq,我目前正在从事SpringBoot和RabbitMQ集成项目 我的Spring Boot项目从RabbitMQ的2个队列接收消息 大概一个小时 当我将项目置于运行状态并让它保持1~2小时 其中一个队列将自动禁用 我不明白为什么会这样 下面是我的spring启动日志 希望有人能告诉我该怎么做 ibin-prematch_1 | 2020-09-17 07:17:28.214 WARN 7 --- [pool-2-thread-7] o.s.a.r.listener.BlockingQueueC

我目前正在从事SpringBoot和RabbitMQ集成项目

我的Spring Boot项目从RabbitMQ的2个队列接收消息

大概一个小时

当我将项目置于运行状态并让它保持1~2小时

其中一个队列将自动禁用

我不明白为什么会这样

下面是我的spring启动日志

希望有人能告诉我该怎么做

ibin-prematch_1  | 2020-09-17 07:17:28.214  WARN 7 --- [pool-2-thread-7] o.s.a.r.listener.BlockingQueueConsumer   : Cancel received for amq.ctag-_TREGekNTlS2Q3DK9yNwEg (_3054_); Consumer@2330e3e0: tags=[[amq.ctag-_TREGekNTlS2Q3DK9yNwEg]], channel=Cached Rabbit Channel: AMQChannel(amqp://username@34.244.168.152:5672/Customers,1), conn: Proxy@57aa341b Shared Rabbit Connection: SimpleConnection@49a71302 [delegate=amqp://username@34.244.168.152:5672/Customers, localPort= 41656], acknowledgeMode=AUTO local queue size=244
ibin-prematch_1  | 2020-09-17 07:17:28.223 ERROR 7 --- [44.168.152:5672] o.s.a.r.c.CachingConnectionFactory       : Channel shutdown: connection error; protocol method: #method<connection.close>(reply-code=320, reply-text=CONNECTION_FORCED - user 'username' is deleted, class-id=0, method-id=0)
ibin-prematch_1  | 2020-09-17 07:17:28.244  INFO 7 --- [ntContainer#0-1] o.s.a.r.c.CachingConnectionFactory       : Attempting to connect to: [prematch-rmq.lsports.eu:5672]
ibin-prematch_1  | 2020-09-17 07:17:28.510  WARN 7 --- [44.168.152:5672] c.r.c.impl.ForgivingExceptionHandler     : An unexpected connection driver error occured (Exception message: Connection reset)
ibin-prematch_1  | 2020-09-17 07:17:29.278  WARN 7 --- [242.92.126:5672] c.r.c.impl.ForgivingExceptionHandler     : An unexpected connection driver error occured (Exception message: Socket closed)
ibin-prematch_1  | 2020-09-17 07:17:29.281  INFO 7 --- [ntContainer#0-1] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer@2330e3e0: tags=[[]], channel=Cached Rabbit Channel: null, conn: Proxy@57aa341b Shared Rabbit Connection: null, acknowledgeMode=AUTO local queue size=244
ibin-prematch_1  | 2020-09-17 07:17:29.283  INFO 7 --- [ntContainer#0-2] o.s.a.r.c.CachingConnectionFactory       : Attempting to connect to: [prematch-rmq.lsports.eu:5672]
ibin-prematch_1  | 2020-09-17 07:17:30.397  WARN 7 --- [242.92.126:5672] c.r.c.impl.ForgivingExceptionHandler     : An unexpected connection driver error occured(Exceptionmessage: Socket closed)
ibin-prematch_1  | 2020-09-17 07:17:30.405 ERROR 7 --- [ntContainer#0-2] o.s.a.r.l.SimpleMessageListenerContainer : Consumer received fatal exception on startup
ibin-prematch|u 1 | 2020-09-17 07:17:28.214警告7---[pool-2-thread-7]o.s.a.r.listener.BlockingQueueConsumer:amq.ctag的取消接收到TREGekNTlS2Q3DK9yNwEg(_3054|);Consumer@2330e3e0:tags=[[amq.ctag-_TREGekNTlS2Q3DK9yNwEg]],channel=Cached Rabbit channel:AMQChannel(amqp://username@34.244.168.152:5672/客户,1),康涅狄格州:Proxy@57aa341b共享兔子连接:SimpleConnection@49a71302[代表=amqp://username@34.244.168.152:5672/客户,本地端口=41656],确认模式=自动本地队列大小=244
ibin-prematch|U 1 | 2020-09-17 07:17:28.223错误7---[44.168.152:5672]o.s.a.r.c.连接工厂:通道关闭:连接错误;协议方法:#方法(回复代码=320,回复文本=CONNECTION_FORCED-删除用户“用户名”,类id=0,方法id=0)
ibin-prematch|U 1 | 2020-09-17 07:17:28.244信息7---[ntContainer|0-1]o.s.a.r.c.CachingConnectionFactory:正在尝试连接到:[prematch rmq.lsports.eu:5672]
ibin-prematch_1 | 2020-09-17 07:17:28.510警告7---[44.168.152:5672]c.r.c.impl.宽恕异常处理程序:发生意外的连接驱动程序错误(异常消息:连接重置)
ibin-prematch_1 | 2020-09-17 07:17:29.278 WARN 7---[242.92.126:5672]c.r.c.impl.宽恕异常处理程序:发生意外的连接驱动程序错误(异常消息:套接字关闭)
ibin-prematch|U 1 | 2020-09-17 07:17:29.281信息7---[ntContainer|0-1]o.s.a.r.l.SimpleMessageListenerContainer:重新启动Consumer@2330e3e0:tags=[[]],channel=Cached兔通道:null,conn:Proxy@57aa341b共享兔子连接:null,acknowledgeMode=自动本地队列大小=244
ibin-prematch|U 1 | 2020-09-17 07:17:29.283信息7---[ntContainer|0-2]o.s.a.r.c.CachingConnectionFactory:正在尝试连接到:[prematch rmq.lsports.eu:5672]
ibin-prematch_1 | 2020-09-17 07:17:30.397警告7---[242.92.126:5672]c.r.c.impl.宽恕异常处理程序:发生意外的连接驱动程序错误(异常消息:套接字关闭)
ibin-prematch_1 | 2020-09-17 07:17:30.405错误7---[ntContainer#0-2]o.s.a.r.l.SimpleMessageListenerContainer:消费者在启动时收到致命异常