<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>&gt; Date: Mon, 2 Jul 2012 11:55:02 +0100<br>&gt; From: tim@rabbitmq.com<br>&gt; To: mauryam@live.in<br>&gt; CC: rabbitmq-discuss@lists.rabbitmq.com<br>&gt; Subject: Re: [rabbitmq-discuss] RabbitMQ C++ program for TTL implementation<br>&gt; <br>&gt; On 07/02/2012 11:53 AM, Tim Watson wrote:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Well, looking at the constructor and declare handling code for <br>&gt; &gt;&gt; AMQPExchange in <br>&gt; &gt;&gt; https://github.com/akalend/amqpcpp/blob/master/src/AMQPExchange.cpp, <br>&gt; &gt;&gt; it doesn't look like this is supported. Instead of initialising the <br>&gt; &gt;&gt; arguments which are passed to the underlying call to <br>&gt; &gt;&gt; amqp_exchange_declare (in rabbitmq-c, which amqpcpp is ostensibly <br>&gt; &gt;&gt; based on), the code sets the arguments to empty/null.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; If you want to support proper declare semantics then, you'll either <br>&gt; &gt;&gt; need to patch amqpcpp, or defer to using rabbitmq-c directly.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Sorry - s/exchange/queue<br>&gt; &gt;<br>&gt; <br>&gt; And the link is <br>&gt; https://github.com/akalend/amqpcpp/blob/master/src/AMQPQueue.cpp.<br></div>                                               </div></body>
</html>