[rabbitmq-discuss] Erlang client: function_clause error

Edwin Fine rabbitmq-discuss_efine at usa.net
Sun Oct 26 17:55:53 GMT 2008


I shut RabbitMQ down while an application still had connections to it (I am
doing various recovery scenarios), and I got this:

** Reason for termination ==
** {function_clause,
       [{amqp_connection,handle_info,
            [{method,
                 {'connection.close',320,
                     <<"CONNECTION_FORCED - broker forced connection closure
with reason 'shutdown'">>,
                     0,0},
                 none},
             {connection_state,<<"xhg">>,<<"xhg">>,"0.0.0.0",
                 #Port<0.230>,<<"/xhg">>,<0.150.0>,<0.151.0>,undefined,0,0,
                 {dict,0,16,16,8,80,48,
                     {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},

{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}}}]},
        {gen_server,handle_msg,5},
        {proc_lib,init_p,5}]}

Should there be a handle_info clause for this in amqp_connection, or is it
something I need to code for somehow?

Regards,
Edwin Fine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20081026/3cfc2628/attachment.htm 


More information about the rabbitmq-discuss mailing list