1. Alvaro Videla
  2. webandphp

Commits

Alvaro Videla  committed c3bea8c

removes msg ack

  • Participants
  • Parent commits f83c6c6
  • Branches master

Comments (0)

Files changed (1)

File rogue_consumer.php

View file
  • Ignore whitespace
 $ch->queue_bind($queue, $exchange);
 
 function process_message($msg) {
-    $msg->delivery_info['channel']->
-        basic_ack($msg->delivery_info['delivery_tag']);
 }
 
 $ch->basic_consume($queue, '', false, true, false, false, 'process_message');