[rabbitmq-discuss] changes to rabbit_amqqueue:declare in trunk

anders conbere aconbere at gmail.com
Mon Sep 15 17:08:35 BST 2008


On Mon, Sep 15, 2008 at 12:45 AM, Ben Hood <0x6e6562 at gmail.com> wrote:
> Anders,
>
> On Mon, Sep 15, 2008 at 8:13 AM, Matthias Radestock <matthias at lshift.net> wrote:
>>> Is there a description somewhere of what the declare function now
>>> expects?
>>
>> There's a type signature near the beginning of rabbit_amqqueue:
>>
>> -spec(declare/4 :: (queue_name(), bool(), bool(), amqp_table()) ->
>>              amqqueue()).
>
> I was coincidentally looking at the latest changes to rabbit_amqqueue
> in another branch and there may be further changes that could affect
> you (though I don't think it will affect the signature of declare/4).
>
> One way to avoid this moving target is to use the Erlang AMQP client
> instead of the native API, if that can provide you with the
> functionality you require.

It's true, I've been using the rabbiter source to pick up on how
rabbitmq works, and Tony's used the native api. Now I think I've got
it pretty much figured out and that api will make a lot more sense.

~ Anders

>
> HTH,
>
> Ben
>




More information about the rabbitmq-discuss mailing list