<div dir="ltr"><div><div><div><div><div>Hi ,<br><br></div>I am new bee to RabbitMQ,<br><br></div>I was trying to read the messages posted on rabbit MQ but i am getting the following error<br><br>=====================<br><br>
CM :com.xaptum.message.api.ConnectionManager@602f892f<br>Inside getConnectionFactory<br>outside getConnectionFactory<br><br>ConnectionFactory :com.rabbitmq.client.ConnectionFactory@5fd1358f<br>Connection Error: java.io.IOException<br>
java.io.IOException<br> at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)<br> at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)<br> at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:360)<br>
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:516)<br> at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533)<br> at com.xaptum.message.api.ConnectionManager.getConnection(ConnectionManager.java:129)<br>
at com.xaptum.message.api.ConnectionManager.createConnection(ConnectionManager.java:64)<br> at com.xaptum.message.api.MainTest.main(MainTest.java:9)<br>Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; reason: java.net.SocketTimeoutException: Timeout during Connection negotiation<br>
at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)<br> at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)<br> at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:343)<br>
at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:313)<br> ... 5 more<br>Caused by: java.net.SocketTimeoutException: Timeout during Connection negotiation<br> at com.rabbitmq.client.impl.AMQConnection.handleSocketTimeout(AMQConnection.java:566)<br>
at com.rabbitmq.client.impl.AMQConnection.access$500(AMQConnection.java:59)<br> at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:541)<br>Secondcom.rabbitmq.client.ConnectionFactory@5fd1358f<br>
Check :false<br>java.lang.NullPointerException<br>Error in closeChannelnull<br> at com.xaptum.message.api.ConnectionManager.readMessage(ConnectionManager.java:83)<br> at com.xaptum.message.api.MainTest.main(MainTest.java:13)<br>
=============<br><br><br></div>Can some one please guide me.<br><br></div>Regards,<br></div>Rahul<br></div>