Fix queryconfig : use name instead of id in MQ