src/Keboola/Syrup/Controller/ApiController.php
protected function enqueue($jobId, $queueName = 'default', $otherData = [])
    {
        /** @var QueueService $queue */
        $queue = $this->container->get('syrup.queue_factory')->get($queueName);
        return $queue->enqueue($jobId, $otherData);
    }
protected function enqueue($jobId, $queueName = 'default', $otherData = [])
    {
        /** @var QueueService $queue */
        $queue = $this->container->get('syrup.queue_factory')->get($queueName);
        return $queue->enqueue($jobId, $otherData);
    }
protected function enqueue ( $ jobId , $ queueName = 'default' , $ otherData = [ ] ) { /** @var QueueService $queue */ $ queue = $ this -> container -> get ( 'syrup.queue_factory' ) -> get ( $ queueName ) ; return $ queue -> enqueue ( $ jobId , $ otherData ) ; }
Add JobId to queue
@param        $jobId
@param string $queueName
@param array  $otherData
@return int $messageId
Add JobId to queue