persistent queues and protocols