Oh, I've been using npm to install amqp. Why wouldn'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"><<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>></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'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'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("Unknown field value type " +<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't closed). So I suggest you grab the latest node-amqp from github.<br>
<br>
Regards,<br>
<br>
Matthias.<br>
</blockquote></div><br>