Oh, I&#39;ve been using npm to install amqp. �Why wouldn&#39;t that version be up to date?...<br><br><div class="gmail_quote">On Sun, Sep 23, 2012 at 1:11 AM, Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Jordan,<br>
<br>
On 23/09/12 02:37, Jordan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;m trying to perform rpc on top of rabbitmq. �However, if a rpc request<br>
sits idle in the queue for 2 seconds, I want the message to be dropped<br>
from the queue and for the client to throw an error.<br>
<br>
To do this, I&#39;ve been playing around with dead letter exchanges.<br>
� However, I keep seeing:<br>
<br>
� � /Users/jordan/agles/web/back/<u></u>node_modules/amqp/amqp.js:350<br>
� � � � � � �throw new Error(&quot;Unknown field value type &quot; +<br>
� � buffer[buffer.read-1]);<br>
� � � � � � � � � �^<br>
� � Error: Unknown field value type 65<br>
</blockquote>
<br>
Looks like you are running into <a href="https://github.com/postwait/node-amqp/issues/86" target="_blank">https://github.com/postwait/<u></u>node-amqp/issues/86</a>, which, afaict, got fixed in <a href="https://github.com/postwait/node-amqp/pull/105" target="_blank">https://github.com/postwait/<u></u>node-amqp/pull/105</a> and merged about a month ago (though for some reason the issue wasn&#39;t closed). So I suggest you grab the latest node-amqp from github.<br>

<br>
Regards,<br>
<br>
Matthias.<br>
</blockquote></div><br>