<div dir="ltr">You can set the content_type for a AMQPMessage<br><br>public function foo(AMQPMessage &$response)<br>{<br>        $response->set('content_type', 'application/json');<br>        /* ... */<br>}<br><br>Le mercredi 9 avril 2014 17:09:48 UTC+2, aaron kenny a écrit :<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">I'm struggling to find out how to set the content_type='text/json'. ive seen it set before via th basic_publish() function but not for PHP. Any ideas.</div></blockquote></div>