Skip to content

Commit b9404f4

Browse files
committed
Regen
1 parent 5da40d7 commit b9404f4

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/master.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"bridgeErrorHandler": { "index": 0, "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not possible. In other situations we may improve the Camel component to hook into the 3rd party component and make this possible for future releases. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored." },
2828
"autowiredEnabled": { "index": 1, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc." },
2929
"backOffDelay": { "index": 2, "kind": "property", "displayName": "Back Off Delay", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "description": "When the master becomes leader then backoff is in use to repeat starting the consumer until the consumer is successfully started or max attempts reached. This option is the delay in millis between start attempts." },
30-
"backOffMaxAttempts": { "index": 3, "kind": "property", "displayName": "Back Off Max Attempts", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "description": "When the master becomes leader then backoff is in use to repeat starting the consumer until the consumer is successfully started or max attempts reached. This option is the maximum number of attempts to try." },
30+
"backOffMaxAttempts": { "index": 3, "kind": "property", "displayName": "Back Off Max Attempts", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "description": "When the master becomes leader then backoff is in use to repeat starting the consumer until the consumer is successfully started or max attempts reached. This option is the maximum number of attempts to try." },
3131
"service": { "index": 4, "kind": "property", "displayName": "Service", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.cluster.CamelClusterService", "deprecated": false, "autowired": false, "secret": false, "description": "Inject the service to use." },
3232
"serviceSelector": { "index": 5, "kind": "property", "displayName": "Service Selector", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.cluster.CamelClusterService.Selector", "deprecated": false, "autowired": false, "secret": false, "description": "Inject the service selector used to lookup the CamelClusterService to use." }
3333
},

components-starter/camel-master-starter/src/main/docs/master.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
{
3030
"name": "camel.component.master.back-off-max-attempts",
31-
"type": "java.lang.Long",
31+
"type": "java.lang.Integer",
3232
"description": "When the master becomes leader then backoff is in use to repeat starting the consumer until the consumer is successfully started or max attempts reached. This option is the maximum number of attempts to try.",
3333
"sourceType": "org.apache.camel.component.master.springboot.MasterComponentConfiguration"
3434
},

components-starter/camel-master-starter/src/main/java/org/apache/camel/component/master/springboot/MasterComponentConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class MasterComponentConfiguration
7171
* the consumer until the consumer is successfully started or max attempts
7272
* reached. This option is the maximum number of attempts to try.
7373
*/
74-
private Long backOffMaxAttempts;
74+
private Integer backOffMaxAttempts;
7575
/**
7676
* Inject the service to use. The option is a
7777
* org.apache.camel.cluster.CamelClusterService type.
@@ -108,11 +108,11 @@ public void setBackOffDelay(Long backOffDelay) {
108108
this.backOffDelay = backOffDelay;
109109
}
110110

111-
public Long getBackOffMaxAttempts() {
111+
public Integer getBackOffMaxAttempts() {
112112
return backOffMaxAttempts;
113113
}
114114

115-
public void setBackOffMaxAttempts(Long backOffMaxAttempts) {
115+
public void setBackOffMaxAttempts(Integer backOffMaxAttempts) {
116116
this.backOffMaxAttempts = backOffMaxAttempts;
117117
}
118118

0 commit comments

Comments
 (0)