I am getting the below error when I try to start the consumer. I have attached the code which I am using. I am using rabbitmq_server-1.5.0 version. <br><br>Exception in thread "main" java.io.IOException<br> at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:121)<br>
at com.rabbitmq.client.impl.ChannelN.basicConsume(ChannelN.java:703)<br> at com.rabbitmq.client.impl.ChannelN.basicConsume(ChannelN.java:661)<br> at com.rabbitmq.client.impl.ChannelN.basicConsume(ChannelN.java:647)<br>
at RabbitMQConsumer.main(RabbitMQConsumer.java:28)<br>Caused by: com.rabbitmq.client.ShutdownSignalException (connection error; reason: {#method<connection.close>(reply-code=541,reply-text=INTERNAL_ERROR,class-id=0,method-id=0),null,""})<br>
at com.rabbitmq.client.impl.AMQConnection.shutdown(AMQConnection.java:606)<br> at com.rabbitmq.client.impl.AMQConnection.handleConnectionClose(AMQConnection.java:561)<br> at com.rabbitmq.client.impl.AMQConnection.processControlCommand(AMQConnection.java:541)<br>
at com.rabbitmq.client.impl.AMQConnection$1.processAsync(AMQConnection.java:84)<br> at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:159)<br> at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:110)<br>
at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:446)<br><br><br>In rabbitmq log we get the following message.<br><br><br>=ERROR REPORT==== 20-Aug-2010::15:33:01 ===<br>connection <0.193.0> (running), channel 1 - error:<br>
{undef,[{ssl_base64,encode,<br> [<<132,105,185,189,207,122,93,248,157,124,89,168,150,171,<br> 226,86>>]},<br> {rabbit_misc,string_guid,1},<br> {rabbit_misc,binstring_guid,1},<br>
{rabbit_channel,handle_method,3},<br> {rabbit_channel,handle_message,2},<br> {buffering_proxy,'-mainloop/4-fun-0-',3},<br> {lists,foldl,3},<br> {buffering_proxy,mainloop,4}]}<br>
<br>=WARNING REPORT==== 20-Aug-2010::15:33:01 ===<br>Non-AMQP exit reason '{undef,<br> [{ssl_base64,encode,<br> [<<132,105,185,189,207,122,93,248,157,124,89,<br>
168,150,171,226,86>>]},<br> {rabbit_misc,string_guid,1},<br> {rabbit_misc,binstring_guid,1},<br> {rabbit_channel,handle_method,3},<br>
{rabbit_channel,handle_message,2},<br> {buffering_proxy,'-mainloop/4-fun-0-',3},<br> {lists,foldl,3},<br> {buffering_proxy,mainloop,4}]}'<br>
<br><br>Can someone identify the reason for this. Thanks in advance.<br><br>regards,<br>ritesh rathi<br>