Make message queue configurable