MAKS\AmqpAgent\Worker\AbstractWorker::setConnection

Sets the passed connection as the default connection of the worker.