Message-queuing system API: