protected function configure()
 {
     parent::configure();
     $this->setName('rabbitmq:stdin-producer')->addArgument('name', InputArgument::REQUIRED, 'Producer Name')->setDescription('Executes a producer 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);
 }
Exemplo n.º 2
0
 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)->addOption('route', 'r', InputOption::VALUE_OPTIONAL, 'Routing Key', '');
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('rabbitmq:rpc-server')->addArgument('name', InputArgument::REQUIRED, 'Server Name')->addOption('debug', 'd', InputOption::VALUE_OPTIONAL, 'Debug mode', false);
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('rabbitmq:stdin-producer')->addArgument('name', InputArgument::REQUIRED, 'Producer Name')->addOption('debug', 'd', InputOption::VALUE_OPTIONAL, 'Enable Debugging', 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:anon-consumer')->addArgument('name', InputArgument::REQUIRED, 'Consumer Name')->addOption('messages', 'm', InputOption::VALUE_OPTIONAL, 'Messages to consume', 1)->addOption('r_key', 'r', InputOption::VALUE_OPTIONAL, 'Routing Key', '#')->addOption('debug', 'd', InputOption::VALUE_OPTIONAL, 'Debug mode', false);
 }
Exemplo n.º 7
0
 protected function configure()
 {
     parent::configure();
     $this->setName('rabbitmq:consumer')->addArgument('name', InputArgument::REQUIRED, 'Consumer Name')->addOption('messages', 'm', InputOption::VALUE_OPTIONAL, 'Messages to consume', 0)->addOption('debug', 'd', InputOption::VALUE_OPTIONAL, 'Enable Debugging', false);
 }