81 protected function run()
88 while ($message = $consumer->receive())
90 $result = $processor->process($message);
92 if ($result === Interfaces\Processor::ACK)
94 $consumer->acknowledge($message);
96 else if ($result === Interfaces\Processor::REJECT)
98 $consumer->reject($message);