<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-family: Calibri, sans-serif; "><div style="font-size: 14px; "><div><div>I am trying to add support for queue.declare arguments in the PHP PECL extension. I have managed to get it to work for x-ha-policy, but x-expires is stumping me. When I try to declare a brand new queue with the x-ha-policy, it works: command returns success and I see the queue in the rabbitmqctl list_queues listing:</div></div></div><div><div style="font-size: 14px; "><br></div><div><span style="font-family: Consolas; font-size: 12px;">!dude002:~/src/pecl/amqp/trunk$ sudo /usr/sbin/rabbitmqctl list_queues name arguments</span></div><div><span style="font-family: Consolas; font-size: 12px;">queue1318463573 &nbsp; [{&quot;x-ha-policy&quot;,&lt;&lt;&quot;all&quot;&gt;&gt;}]</span></div></div><div style="font-size: 14px; "><br></div><div style="font-size: 14px; ">However, if I replace x-ha-policy with x-expires in the arguments declaration, the queue declaration succeeds (function response is&nbsp;AMQP_RESPONSE_NORMAL) but the queue does not show up in the broker queue listing. The rabbitmq logs show nothing� well, they show that I connected and then disconnected. Nothing else of interest. I don�t know if this is because I am doing something wrong with passing arguments with int values instead of strings (debugging shows the appropriate struct values, but I could be missing something) or because I am doing some other random thing wrong.&nbsp;</div><div style="font-size: 14px; "><br></div><div style="font-size: 14px; ">How can I debug this behavior? Must I use the Java tools listed here:&nbsp;<a href="http://www.rabbitmq.com/examples.html#tracer">http://www.rabbitmq.com/examples.html#tracer</a></div><div style="font-size: 14px; "><br></div><div style="font-size: 14px; ">Thanks,</div><div style="font-size: 14px; ">Pieter</div></body></html>