protected function configure() { parent::configure(); $this->setName('rabbitmq:rpc-server')->setDescription('Start an RPC server')->addArgument('name', InputArgument::REQUIRED, 'Server Name')->addOption('messages', 'm', InputOption::VALUE_OPTIONAL, 'Messages to consume', 0)->addOption('debug', 'd', InputOption::VALUE_OPTIONAL, 'Debug mode', false); }
protected function configure() { parent::configure(); $this->addArgument('name', InputArgument::REQUIRED, 'Consumer Name')->addOption('messages', 'm', InputOption::VALUE_OPTIONAL, 'Messages to consume', 0)->addOption('route', 'r', InputOption::VALUE_OPTIONAL, 'Routing Key', '')->addOption('memory-limit', 'l', InputOption::VALUE_OPTIONAL, 'Allowed memory for this process', null)->addOption('debug', 'd', InputOption::VALUE_NONE, 'Enable Debugging')->addOption('without-signals', 'w', InputOption::VALUE_NONE, 'Disable catching of system signals'); }
protected function configure() { parent::configure(); $this->setName('rabbitmq:stdin-producer')->addArgument('name', InputArgument::REQUIRED, 'Producer Name')->setDescription('Executes a consumer that reads data from STDIN')->addOption('route', 'r', InputOption::VALUE_OPTIONAL, 'Routing Key', '')->addOption('format', 'f', InputOption::VALUE_OPTIONAL, 'Payload Format', self::FORMAT_PHP)->addOption('debug', 'd', InputOption::VALUE_OPTIONAL, 'Enable Debugging', false); }