read.message.from.queue had wrong arguments