Thank you for your response... I upgraded to a newer RabbitMQ and haven't seen these issues since. <div><br></div><div>thanks</div><div><br></div><div>dominic<br><br><div class="gmail_quote">On Thu, Aug 18, 2011 at 9:39 PM, Michael Klishin <span dir="ltr"><<a href="mailto:michael.s.klishin@gmail.com">michael.s.klishin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">2011/8/19 Dominic Metzger <span dir="ltr"><<a href="mailto:dominic@rightscale.com" target="_blank">dominic@rightscale.com</a>></span><br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Is there a valid case when I wouldn't receive a header frame? Does it have something to do with the redelivery of the message? I am seeing this on RabbitMQ version (v1.7.2).</div><div><br>
</div><div>Example:</div><div><br></div><div><div>["receive",</div><div> #<AMQP::Frame::Method:0x11d58b24</div><div> @channel=1,</div><div> @payload=</div><div> #<AMQP::Protocol::Basic::Deliver:0x11d58660</div>
<div> @consumer_tag="example.com-events--588378867313",</div><div> @debug=1,</div><div> @delivery_tag=7700,</div><div> @exchange="events",</div><div> @redelivered=true,</div><div> @routing_key="">>]</div>
<div><br></div><div>["receive",</div><div> #<AMQP::Frame::Body:0x11aa54f4</div><div> @channel=1,</div><div> @payload=</div><div> "{\"timestamp\":1313535484445309}">]</div></div><div>
<br></div><div><br></div><div>thanks & best regards</div></blockquote></div><br></div></div>I haven't read AMQP 0.8 spec (which is what amqp gem before 0.8.0.RCs implements) in a while but I cannot think of a case when the header may be missing. My only suggestion is to not rely on "logging" of various clients because they use different frame class names, framing strategies and so on. Use Wireshark, it will tell you what is really going up and down the wire. And, maybe upgrade to RabbitMQ 2.5.1 that still supports AMQP 0.8 as well as AMQP 0.9.1.<br clear="all">
<font color="#888888">
<br>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
<br>
</font></blockquote></div><br></div>