RabbitMQ消费者失去联系

时间:2014-08-01 22:59:04

标签: java spring azure rabbitmq

我们在项目中使用 RabbitMQ 3.3.1 spring-amqp-1.3.1 spring-rabbit-1.3.1 我们正在追踪异常。我们的环境位于 Azure 云中,我们发现 RabbitMQ 服务器正在失去与消费者的连接。一旦我们重新启动 OSGI 使用者捆绑包,它会工作一段时间,然后会出现同样的问题。任何帮助/提示都表示赞赏。

  

[SimpleAsyncTaskExecutor2] | WARN | org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer | 370-弹簧兔1.3.1.RELEASE |消费   引发异常,如果连接工厂,处理可以重启   支持它com.rabbitmq.client.ShutdownSignalException:连接   错误; reason:java.net.SocketException:Connection reset at   com.rabbitmq.client.impl.AMQConnection.startShutdown(AMQConnection.java:715)[367:com.rabbitmq.client:3.2.4]   在   com.rabbitmq.client.impl.AMQConnection.shutdown(AMQConnection.java:705)[367:com.rabbitmq.client:3.2.4]   在   com.rabbitmq.client.impl.AMQConnection $ MainLoop.run(AMQConnection.java:568)[367:com.rabbitmq.client:3.2.4]   引起:java.net.SocketException:连接重置为   java.net.SocketInputStream.read(SocketInputStream.java:196)[:1.7.0_51]   在   java.net.SocketInputStream.read(SocketInputStream.java:122)[:1.7.0_51]   在   sun.security.ssl.InputRecord.readFully(InputRecord.java:442)[:1.7.0_51]   at sun.security.ssl.InputRecord.read(InputRecord.java:480)[:1.7.0_51]   在   sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)[:1.7.0_51]   在   sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:884)[:1.7.0_51]   在   sun.security.ssl.AppInputStream.read(AppInputStream.java:102)[:1.7.0_51]   在   java.io.BufferedInputStream.fill(BufferedInputStream.java:235)[:1.7.0_51]   在   java.io.BufferedInputStream.read(BufferedInputStream.java:254)[:1.7.0_51]   在   java.io.DataInputStream.readUnsignedByte(DataInputStream.java:288)[:1.7.0_51]   在   com.rabbitmq.client.impl.Frame.readFrom(Frame.java:95)[367:com.rabbitmq.client:3.2.4]   在   com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:131 [367:com.rabbitmq.client:3.2.4]   在   com.rabbitmq.client.impl.AMQConnection $ MainLoop.run(AMQConnection.java:533 [367:com.rabbitmq.client:3.2.4]

0 个答案:

没有答案