public function removeRepo(Bundle $bundle)
{
if ($this->bundleUpdateProducer) {
// Create a Message object
$message = array('bundle_id' => $bundle->getId(), 'action' => 'remove');
// RabbitMQ, publish my message!
$this->bundleUpdateProducer->publish(json_encode($message));
return true;
}
return false;
}