[rabbitmq-discuss] Stomp Connector not working in tip against 1.5.5

Gavin M. Roy gmr at myyearbook.com
Wed Jun 3 23:13:13 BST 2009


Hello,

I've been working on troubleshooting Stomp connectivity with RabbitMQ.
 All of my R&D was on 1.5.3 with rabbitmq-stomp tag rabbitmq_v1_5_3
and it worked just fine.  I went to setup a production test with
RabbitMQ 1.5.5 and rabbitmq-stomp tip and it stopped working.

Here's the error output:

=ERROR REPORT==== 3-Jun-2009::18:06:44 ===
STOMP error frame sent:
Message: "Processing error"
Detail: "Processing error\n"
Server private detail: {undef,
                           [{rabbit_channel,start_link,
                                [rabbit_stomp,<0.176.0>,<0.176.0>,<<"guest">>,
                                 <<"/">>]},
                            {rabbit_stomp,do_login,4},
                            {rabbit_stomp,process_frame,3},
                            {rabbit_stomp,process_received_bytes,2},
                            {rabbit_stomp,init,1},
                            {proc_lib,init_p_do_apply,3}]}

If you have any suggestions on how to fix this that would be helpful.
In addition, I would like to change the default auto-delete from true
to false:

[root at mq07 src]# hg diff
diff -r 8216e71f106c src/rabbit_stomp.erl
--- a/src/rabbit_stomp.erl	Mon Mar 09 13:47:54 2009 +0000
+++ b/src/rabbit_stomp.erl	Wed Jun 03 18:12:34 2009 -0400
@@ -534,7 +534,7 @@
                            passive     = BoolH("passive", false),
                            durable     = BoolH("durable", false),
                            exclusive   = BoolH("exclusive", false),
-                           auto_delete = BoolH("auto-delete", true),
+                           auto_delete = BoolH("auto-delete", false),
                            nowait      = true,
                            arguments   = [longstr_field(K, V) ||
                                              {"X-Q-" ++ K, V} <- Headers]},

But I wasn't sure if this could cause any problems.  Thoughts?

TIA,

Gavin




More information about the rabbitmq-discuss mailing list