rabbitmq->getProducer('producerCommon'); $msg = serialize(['user_id' => rand(111,999)]); $producer->publish($msg, 'exCommon', 'routeCommon'); } }