<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Tim,<br>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.<br><br>Is there any alternate C++ client which might support or popular for consumer code supporting TTL feature.<br><br>Cheers,<br>Maurya<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Mon, 2 Jul 2012 11:55:02 +0100<br>> From: tim@rabbitmq.com<br>> To: mauryam@live.in<br>> CC: rabbitmq-discuss@lists.rabbitmq.com<br>> Subject: Re: [rabbitmq-discuss] RabbitMQ C++ program for TTL implementation<br>> <br>> On 07/02/2012 11:53 AM, Tim Watson wrote:<br>> >><br>> >> Well, looking at the constructor and declare handling code for <br>> >> AMQPExchange in <br>> >> https://github.com/akalend/amqpcpp/blob/master/src/AMQPExchange.cpp, <br>> >> it doesn't look like this is supported. Instead of initialising the <br>> >> arguments which are passed to the underlying call to <br>> >> amqp_exchange_declare (in rabbitmq-c, which amqpcpp is ostensibly <br>> >> based on), the code sets the arguments to empty/null.<br>> >><br>> >> If you want to support proper declare semantics then, you'll either <br>> >> need to patch amqpcpp, or defer to using rabbitmq-c directly.<br>> ><br>> ><br>> > Sorry - s/exchange/queue<br>> ><br>> <br>> And the link is <br>> https://github.com/akalend/amqpcpp/blob/master/src/AMQPQueue.cpp.<br></div>                                            </div></body>
</html>