{
  "model": {
    "kind": "model",
    "name": "optimisticLockRetryPolicy",
    "title": "Optimistic Lock Retry Policy",
    "description": "To configure optimistic locking",
    "deprecated": false,
    "label": "configuration",
    "javaType": "org.apache.camel.model.OptimisticLockRetryPolicyDefinition",
    "input": false,
    "output": false
  },
  "properties": {
    "maximumRetries": { "kind": "attribute", "displayName": "Maximum Retries", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "secret": false, "description": "Sets the maximum number of retries" },
    "retryDelay": { "kind": "attribute", "displayName": "Retry Delay", "required": false, "type": "duration", "javaType": "java.lang.String", "deprecated": false, "secret": false, "defaultValue": "50ms", "description": "Sets the delay in millis between retries" },
    "maximumRetryDelay": { "kind": "attribute", "displayName": "Maximum Retry Delay", "required": false, "type": "duration", "javaType": "java.lang.String", "deprecated": false, "secret": false, "defaultValue": "1s", "description": "Sets the upper value of retry in millis between retries, when using exponential or random backoff" },
    "exponentialBackOff": { "kind": "attribute", "displayName": "Exponential Back Off", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "secret": false, "defaultValue": true, "description": "Enable exponential backoff" },
    "randomBackOff": { "kind": "attribute", "displayName": "Random Back Off", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Enables random backoff" }
  }
}
