On 16 April 2012 11:18, Lionel Cons <span dir="ltr"><<a href="mailto:Lionel.Cons@cern.ch">Lionel.Cons@cern.ch</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US"><div><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Since RabbitMQ does not report any error back to the client and does not record anything in its logs either, it’s hard to find out what really happens. IMHO,
if RabbitMQ thinks something is wrong, it should clearly say so.</span></div></div></blockquote><div><br>Makes sense to me!<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US"><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Back to my test, the protocol used is STOMP 1.0 (RabbitMQ correctly reports it in its CONNECTED frame). There is no escaping defined in STOMP 1.0 so RabbitMQ
should IMHO not perform any (de)escaping.</span></p></div></div></blockquote><div><br>Agreed. I've just gone and checked the 1.1 spec again to see if it did specify the escaping somewhere after all, and lo and behold, it does! Which means I was wrong in my previous message: RabbitMQ is doing exactly the right thing for 1.1 frames. Just not for 1.0 frames, is all, as you note.<br>
<br>(The STOMP spec helpfully includes a formal BNF definition... which is incorrect. The BNF definition omits the specification of the escaping process. Sigh.)<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US"><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If escaping is indeed the source of the problem, could one please consider:<u></u><u></u></span></p>
<p style="margin-left:20.25pt">
<u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Logging errors coming from incorrect escaping<u></u><u></u></span></p>
<p style="margin-left:20.25pt">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman"">
</span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Not performing STOMP 1.1 (de)escaping on STOMP 1.0 connections</span><br></p></div></div></blockquote>
<div>Both these suggestions sound good to me. At this point, we will need to hear from the Rabbit team (specifically, Steve, I imagine?) on how they feel like proceeding.<br><br>Regards,<br> Tony<br clear="all"><br></div>
</div><br>-- <br>Tony Garnock-Jones<br><a href="mailto:tonygarnockjones@gmail.com" target="_blank">tonygarnockjones@gmail.com</a><br><a href="http://homepages.kcbbs.gen.nz/tonyg/" target="_blank">http://homepages.kcbbs.gen.nz/tonyg/</a><br>