Quantcast

question about amqp_queue_declare

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

question about amqp_queue_declare

singledon
when i called amqp_queue_declare with arguments, it return some error message like "received bad AMQP data
, -6", i have no idea what's wrong.please help..

queue durable
exchange durable
arguments in c++:
    amqp_table_t  arg;
    arg = (amqp_table_t) {0};
    amqp_table_entry_t entries = {0};
    entries.key = amqp_cstring_bytes("x-ha-policy");
    entries.value.kind = AMQP_FIELD_KIND_UTF8;
    entries.value.value.bytes = amqp_cstring_bytes("all");
    arg.num_entries = 1;
    arg.entries = &entries;
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: question about amqp_queue_declare

Michael Klishin-4
On 9 September 2014 at 08:35:38, singledon ([hidden email]) wrote:
> > when i called amqp_queue_declare with arguments, it return  
> some error message
> like "received bad AMQP data
> , -6", i have no idea what's wrong.please help..

 What's the exact message? What is in RabbitMQ log?

Also, this list has moved to rabbitmq-users:
https://groups.google.com/forum/#!forum/rabbitmq-users

Please start new discussions there.
--  
MK  

Staff Software Engineer, Pivotal/RabbitMQ
_______________________________________________
rabbitmq-discuss mailing list has moved to https://groups.google.com/forum/#!forum/rabbitmq-users,
please subscribe to the new list!

[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Loading...