A Queue Connection is defined inside your cbq config file using a QueueConnectionDefinition builder component. You can create one of these builder components using the newConnection method.
WorkerPoolDefinition Methods
setName
Sets the name for the Worker Pool. Usually not called directly as the newWorkerPool method requires a name.
The name of a queue to work. The default queue is named default.
Some Providers allow for working a priority of queues, such as the DBProvider. In these cases, you can pass an array of queues, in priority order, using the asterisk (*) as a wildcard character.