コード例 #1
0
ファイル: Consume.php プロジェクト: ironedgesoftware/activemq
 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
ファイル: Produce.php プロジェクト: ironedgesoftware/activemq
 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.');
 }