Note that there are some explanatory texts on larger screens.

plurals
  1. POstrange issue with simple rabbitmq erlang message direct queue getter
    primarykey
    data
    text
    <p>A basic RabbitMQ install with user guest/guest.</p> <p>Given the following simple erlang test code for RabbitMQ (erlang client), I am getting the error bellow. The queue TEST_DIRECT_QUEUE exists and has 7 messages in it, and the RabbitMQ server is up and running. </p> <p>If I try to create a new with a declare API command, I <strong>also</strong> get a similar error. <strong>Overall the error appears during any the &lt;&lt; channel:call >> command</strong></p> <p>Any thoughts ? Thanks.</p> <p>=ERROR REPORT==== 16-Feb-2013::10:39:42 ===</p> <p>Connection (&lt;0.38.0>) closing: internal error in channel (&lt;0.50.0>): shutdown</p> <pre><code>** exception exit: {shutdown,{gen_server,call, [&lt;0.50.0&gt;, {call,{'queue.declare',0,"TEST_DIRECT_QUEUE",false,false, false,false,false,[]}, none,&lt;0.31.0&gt;}, infinity]}} in function gen_server:call/3 (gen_server.erl, line 188) in call from test:test_message/0 (test.erl, line 12) </code></pre> <p>==============================================</p> <pre><code>-module(test). -export([test_message/0]). -include_lib("amqp_client/include/amqp_client.hrl"). -record(state, {channel}). test_message() -&gt; {ok, Connection} = amqp_connection:start(#amqp_params_network{}), {ok, Channel} = amqp_connection:open_channel(Connection), Get = #'basic.get'{queue = "TEST_DIRECT_QUEUE"}, {#'basic.get_ok'{}, Content} = amqp_channel:call(Channel, Get), &lt;=== error here #'basic.get_empty'{} = amqp_channel:call(Channel, Get), amqp_channel:call(Channel, #'channel.close'{}). </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload