If --queue is specified, switch to using the message queue