Instead of managing default value in the code of the CDK, we should exploit the default value from the CDK JBI Schema.
JAXB will do that for us, check for constraints such as > 0 or >=0.
It means deployment will fail in case of errors in the jbi.xml of a component (before the default values were used), see PETALSCDK-165)
This means:
- making all needed CDK configuration required in a component jbi.xml
- adding positive or zero type for parameters
The following changes to the parameters will also be made:
- acceptor-stop-max-wait > 0 (instead of just a long)
This only concerns parameters for acceptor, processor, properties file and monitoring sampling rate.