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

Maurya M mauryam at live.in
Mon Jul 2 12:30:36 BST 2012


Tim,
You are right in pointing that existing code - AMQCPP library does not support Map arguments as describe in the Java client examples, for TTL implementation.

Is there any alternate C++ client which might support or popular for consumer code supporting TTL feature.

Cheers,
Maurya

> Date: Mon, 2 Jul 2012 11:55:02 +0100
> From: tim at rabbitmq.com
> To: mauryam at live.in
> CC: rabbitmq-discuss at lists.rabbitmq.com
> Subject: Re: [rabbitmq-discuss] RabbitMQ C++ program for TTL implementation
> 
> 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.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120702/641a2a18/attachment.htm>


More information about the rabbitmq-discuss mailing list