protected function getOldSoundRabbitMq_PushQueueConsumerService() { $this->services['old_sound_rabbit_mq.push_queue_consumer'] = $instance = new \OldSound\RabbitMqBundle\RabbitMq\Consumer($this->get('old_sound_rabbit_mq.connection.default')); $instance->setExchangeOptions(array('name' => 'push-queue', 'type' => 'direct', 'passive' => false, 'durable' => true, 'auto_delete' => false, 'internal' => false, 'nowait' => false, 'arguments' => NULL, 'ticket' => NULL)); $instance->setQueueOptions(array('name' => 'push-queue', 'passive' => false, 'durable' => true, 'exclusive' => false, 'auto_delete' => false, 'nowait' => false, 'arguments' => NULL, 'ticket' => NULL, 'routing_keys' => array())); $instance->setCallback(array(0 => $this->get('civix_core.rabbit.push_queue'), 1 => 'execute')); return $instance; }
/** * Gets the 'old_sound_rabbit_mq.guardar_registro_consumer' service. * * This service is shared. * This method always returns the same instance of the service. * * @return \OldSound\RabbitMqBundle\RabbitMq\Consumer A OldSound\RabbitMqBundle\RabbitMq\Consumer instance. */ protected function getOldSoundRabbitMq_GuardarRegistroConsumerService() { $this->services['old_sound_rabbit_mq.guardar_registro_consumer'] = $instance = new \OldSound\RabbitMqBundle\RabbitMq\Consumer($this->get('old_sound_rabbit_mq.connection.default')); $instance->setExchangeOptions(array('name' => 'guardar_registro', 'type' => 'direct', 'passive' => false, 'durable' => true, 'auto_delete' => false, 'internal' => false, 'nowait' => false, 'declare' => true, 'arguments' => NULL, 'ticket' => NULL)); $instance->setQueueOptions(array('name' => 'guardar_registro', 'passive' => false, 'durable' => true, 'exclusive' => false, 'auto_delete' => false, 'nowait' => false, 'arguments' => NULL, 'ticket' => NULL, 'routing_keys' => array())); $instance->setCallback(array(0 => $this->get('indicadores.guardar_registro_origen_dato'), 1 => 'execute')); return $instance; }