protect against absent legacy refs
move queue consumer count config to environment.propeties