private final ParametersValidator moveMessagesValidator = new ParametersValidator();
protected AbstractQueueControlHandler(final ParameterValidator messageIdValidator) {
//populate validators
final ParameterValidator filterValidator = new ModelTypeValidator(ModelType.STRING, true, false);
final ParameterValidator queueNameValidator = new StringLengthValidator(1);
final ParameterValidator rejectDuplicatesValidator = new ModelTypeValidator(ModelType.BOOLEAN, true);
final ParameterValidator priorityValidator = new IntRangeValidator(0, 9, false, false);
singleOptionalFilterValidator.registerValidator(FILTER.getName(), filterValidator);
singleMessageIdValidator.registerValidator(MESSAGE_ID, messageIdValidator);
changeMessagePriorityValidator.registerValidator(MESSAGE_ID, messageIdValidator);
changeMessagePriorityValidator.registerValidator(NEW_PRIORITY, priorityValidator);