public function publish(array $message, array $options = [])
{
$fileName = microtime(false);
$fileName = str_replace(' ', '', $fileName);
$path = substr(hash('md5', $fileName), 0, 3);
$fs = new Filesystem();
if (!$fs->exists($this->queuePath . DIRECTORY_SEPARATOR . $path)) {
$fs->mkdir($this->queuePath . DIRECTORY_SEPARATOR . $path);
}
$fs->dumpFile($this->queuePath . DIRECTORY_SEPARATOR . $path . DIRECTORY_SEPARATOR . $fileName . '.json', json_encode($message));
return $fileName;
}