Commits

Alvaro Videla committed f074965

reply fix

  • Participants
  • Parent commits 3290aa4

Comments (0)

Files changed (1)

 
 function process_message($msg) {
     $reply = new AMQPMessage($msg->body, array('content_type' => 'text/plain', 'delivery_mode' => 2));
-    $ch->basic_publish($reply, 'rpc.roundtrip');
+    $msg->delivery_info['channel']->basic_publish($reply, 'rpc.roundtrip');
     echo "replied\n";
 
     $msg->delivery_info['channel']->