MAKS\AmqpAgent\Worker\AbstractWorkerInterface::setConnection

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