Pass messages for queues as arrays