![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/vendor/php-amqplib/rabbitmq-bundle/RabbitMq/ |
<?php namespace OldSound\RabbitMqBundle\RabbitMq; use PhpAmqpLib\Message\AMQPMessage; interface ConsumerInterface { /** * Flag for message ack */ public const MSG_ACK = 1; /** * Flag single for message nack and requeue */ public const MSG_SINGLE_NACK_REQUEUE = 2; /** * Flag for reject and requeue */ public const MSG_REJECT_REQUEUE = 0; /** * Flag for reject and drop */ public const MSG_REJECT = -1; /** * Flag for consumers that wants to handle ACKs on their own */ public const MSG_ACK_SENT = -2; /** * @param AMQPMessage $msg The message * @return int|bool One of ConsumerInterface::MSG_* constants according to callback outcome, or false otherwise. */ public function execute(AMQPMessage $msg); }