The following table lists the cases in which the parameters are invalid:
|Nesting exception||Exception description|
|consumeThreadMin Out of range [1, 1000]||The number of threads set on the consumer is inappropriate.|
|consumeThreadMax Out of range [1, 1000]||The number of threads set on the consumer is inappropriate.|
|messageListener is null||messageListener is not set.|
|consumerGroup is null||No group ID is set.|
|msg delay time more than 40 day||The delay for a scheduled message exceeds 40 days.|
Perform the following steps:
- Modify the parameter settings on the client according to the exception prompt and ensure that the modified parameter settings are within the valid ranges.
- Restart the application.