private void CheckMessageListener() { if(this.listener != null) { throw new NMSException("Cannot set Async listeners on Consumers with a prefetch limit of zero"); } }