Fix configuration for messagelistener