예제 #1
0
 protected function configure()
 {
     parent::configure();
     $this->setName('activemq:consume')->addArgument('client-id', InputArgument::REQUIRED, 'Client ID.')->addArgument('destination-uri', InputArgument::REQUIRED, 'The destination URI from which messages will be consumed.');
 }
예제 #2
0
 protected function configure()
 {
     parent::configure();
     $this->setName('activemq:produce')->addArgument('client-id', InputArgument::REQUIRED, 'Client ID.')->addArgument('destination-uri', InputArgument::REQUIRED, 'The destination URI to which the message will be sent.')->addArgument('file', InputArgument::REQUIRED, 'This is a YML file with the message data.');
 }