Priority queue based messaging system.