Fix/doctrine queue factory