[rabbitmq-discuss] Dead Letter and Unknown Field?
Jordan Potter
jordannpotter at gmail.com
Sun Sep 23 09:19:08 BST 2012
Oh, I've been using npm to install amqp. Why wouldn't that version be up
to date?...
On Sun, Sep 23, 2012 at 1:11 AM, Matthias Radestock
<matthias at rabbitmq.com>wrote:
> Jordan,
>
> On 23/09/12 02:37, Jordan wrote:
>
>> I'm trying to perform rpc on top of rabbitmq. However, if a rpc request
>> sits idle in the queue for 2 seconds, I want the message to be dropped
>> from the queue and for the client to throw an error.
>>
>> To do this, I've been playing around with dead letter exchanges.
>> However, I keep seeing:
>>
>> /Users/jordan/agles/web/back/**node_modules/amqp/amqp.js:350
>> throw new Error("Unknown field value type " +
>> buffer[buffer.read-1]);
>> ^
>> Error: Unknown field value type 65
>>
>
> Looks like you are running into https://github.com/postwait/**
> node-amqp/issues/86 <https://github.com/postwait/node-amqp/issues/86>,
> which, afaict, got fixed in https://github.com/postwait/**
> node-amqp/pull/105 <https://github.com/postwait/node-amqp/pull/105> 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.
>
> Regards,
>
> Matthias.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120923/1eab1b1a/attachment.htm>
More information about the rabbitmq-discuss
mailing list