add ability to have a queue as a publish target.