Set callback to process basic.return AMQP server method
public setReturnCallback ( callable $return_callback = null ) | ||
$return_callback | callable | Callback function with all arguments has the following signature: function callback(int $reply_code, string $reply_text, string $exchange, string $routing_key, AMQPBasicProperties $properties, string $body) : bool; and should return boolean false when wait loop should be canceled. |