[rabbitmq-discuss] RabbitMQ C++ program for TTL implementation

Tim Watson tim at rabbitmq.com
Mon Jul 2 11:55:02 BST 2012


On 07/02/2012 11:53 AM, Tim Watson wrote:
>>
>> Well, looking at the constructor and declare handling code for 
>> AMQPExchange in 
>> https://github.com/akalend/amqpcpp/blob/master/src/AMQPExchange.cpp, 
>> it doesn't look like this is supported. Instead of initialising the 
>> arguments which are passed to the underlying call to 
>> amqp_exchange_declare (in rabbitmq-c, which amqpcpp is ostensibly 
>> based on), the code sets the arguments to empty/null.
>>
>> If you want to support proper declare semantics then, you'll either 
>> need to patch amqpcpp, or defer to using rabbitmq-c directly.
>
>
> Sorry - s/exchange/queue
>

And the link is 
https://github.com/akalend/amqpcpp/blob/master/src/AMQPQueue.cpp.


More information about the rabbitmq-discuss mailing list