2011/8/19 Dominic Metzger <span dir="ltr">&lt;<a href="mailto:dominic@rightscale.com">dominic@rightscale.com</a>&gt;</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&#39;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>[&quot;receive&quot;,</div><div> #&lt;AMQP::Frame::Method:0x11d58b24</div><div>  @channel=1,</div><div>  @payload=</div><div>   #&lt;AMQP::Protocol::Basic::Deliver:0x11d58660</div>


<div>    @consumer_tag=&quot;example.com-events--588378867313&quot;,</div><div>    @debug=1,</div><div>    @delivery_tag=7700,</div><div>    @exchange=&quot;events&quot;,</div><div>    @redelivered=true,</div><div>    @routing_key=&quot;&quot;&gt;&gt;]</div>


<div><br></div><div>[&quot;receive&quot;,</div><div> #&lt;AMQP::Frame::Body:0x11aa54f4</div><div>  @channel=1,</div><div>  @payload=</div><div>   &quot;{\&quot;timestamp\&quot;:1313535484445309}&quot;&gt;]</div></div><div>


<br></div><div><br></div><div>thanks &amp; best regards</div></blockquote></div><br>I haven&#39;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 &quot;logging&quot; 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">

<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>