This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 6cf6c061a69 Regen 6cf6c061a69 is described below commit 6cf6c061a6908363038abcd54404613fc8e8cbf7 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Jun 15 21:50:16 2022 +0200 Regen --- .../catalog/components/google-calendar-stream.json | 4 +- .../camel/catalog/components/google-calendar.json | 4 +- .../org/apache/camel/catalog/components/sjms.json | 1 + .../org/apache/camel/catalog/components/sjms2.json | 1 + .../apache/camel/catalog/schemas/camel-spring.xsd | 19 ++--- .../component/sjms/SjmsComponentConfigurer.java | 6 ++ .../org/apache/camel/component/sjms/sjms.json | 1 + .../org/apache/camel/component/sjms2/sjms2.json | 1 + .../dsl/GoogleCalendarComponentBuilderFactory.java | 33 ++++---- ...oogleCalendarStreamComponentBuilderFactory.java | 33 ++++---- .../dsl/Sjms2ComponentBuilderFactory.java | 18 +++++ .../component/dsl/SjmsComponentBuilderFactory.java | 18 +++++ .../dsl/GoogleCalendarEndpointBuilderFactory.java | 92 +++++++++++----------- ...GoogleCalendarStreamEndpointBuilderFactory.java | 31 ++++---- 14 files changed, 154 insertions(+), 108 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-calendar-stream.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-calendar-stream.json index ffa43465484..df5901a5fc7 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-calendar-stream.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-calendar-stream.json @@ -39,9 +39,9 @@ "accessToken": { "kind": "property", "displayName": "Access Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "OAuth 2 access token. This typically expires after an hour so refreshToken is recommende [...] "clientSecret": { "kind": "property", "displayName": "Client Secret", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "Client secret of the calendar application" }, "emailAddress": { "kind": "property", "displayName": "Email Address", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "The emailAddress of the Google Service Account." }, - "keyResource": { "kind": "property", "displayName": "Key Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "Sets .json file with credentials for Service account" }, "p12FileName": { "kind": "property", "displayName": "P12 File Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "The name of the p12 file which has the private key to use with the Google Service Account." }, "refreshToken": { "kind": "property", "displayName": "Refresh Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new acce [...] + "serviceAccountKey": { "kind": "property", "displayName": "Service Account Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "Service account key in json format to authenticate an application as a ser [...] "user": { "kind": "property", "displayName": "User", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "The email address of the user the application is trying to impersonate in the service account flow." } }, "headers": { @@ -81,9 +81,9 @@ "accessToken": { "kind": "parameter", "displayName": "Access Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "OAuth 2 access token. This typically expires after an hour so refreshToken is recommend [...] "clientSecret": { "kind": "parameter", "displayName": "Client Secret", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "Client secret of the calendar application" }, "emailAddress": { "kind": "parameter", "displayName": "Email Address", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "The emailAddress of the Google Service Account." }, - "keyResource": { "kind": "parameter", "displayName": "Key Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "Sets .json file with credentials for Service account" }, "p12FileName": { "kind": "parameter", "displayName": "P12 File Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "The name of the p12 file which has the private key to use with the Google Service Acco [...] "refreshToken": { "kind": "parameter", "displayName": "Refresh Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new acc [...] + "serviceAccountKey": { "kind": "parameter", "displayName": "Service Account Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "Service account key in json format to authenticate an application as a se [...] "user": { "kind": "parameter", "displayName": "User", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "The email address of the user the application is trying to impersonate in the service account flow." } } } diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-calendar.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-calendar.json index 9367a363c80..3a30ea0b2dd 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-calendar.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-calendar.json @@ -35,9 +35,9 @@ "accessToken": { "kind": "property", "displayName": "Access Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long te [...] "clientSecret": { "kind": "property", "displayName": "Client Secret", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "Client secret of the calendar application" }, "emailAddress": { "kind": "property", "displayName": "Email Address", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "The emailAddress of the Google Service Account." }, - "keyResource": { "kind": "property", "displayName": "Key Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "Sets .json file with credentials for Service account" }, "p12FileName": { "kind": "property", "displayName": "P12 File Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "The name of the p12 file which has the private key to use with the Google Service Account." }, "refreshToken": { "kind": "property", "displayName": "Refresh Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whene [...] + "serviceAccountKey": { "kind": "property", "displayName": "Service Account Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "Service account key in json format to authenticate an application as a service account. [...] "user": { "kind": "property", "displayName": "User", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "The email address of the user the application is trying to impersonate in the service account flow" } }, "properties": { @@ -71,9 +71,9 @@ "accessToken": { "kind": "parameter", "displayName": "Access Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long t [...] "clientSecret": { "kind": "parameter", "displayName": "Client Secret", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "Client secret of the calendar application" }, "emailAddress": { "kind": "parameter", "displayName": "Email Address", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "The emailAddress of the Google Service Account." }, - "keyResource": { "kind": "parameter", "displayName": "Key Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "Sets .json file with credentials for Service account" }, "p12FileName": { "kind": "parameter", "displayName": "P12 File Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "The name of the p12 file which has the private key to use with the Google Service Account." }, "refreshToken": { "kind": "parameter", "displayName": "Refresh Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken when [...] + "serviceAccountKey": { "kind": "parameter", "displayName": "Service Account Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "Service account key in json format to authenticate an application as a service account [...] "user": { "kind": "parameter", "displayName": "User", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "The email address of the user the application is trying to impersonate in the service account flow" } }, "apis": { diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms.json index 9a5b71a3a1b..7cbe7fbfc0a 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms.json @@ -27,6 +27,7 @@ "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] "autowiredEnabled": { "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 t [...] "destinationCreationStrategy": { "kind": "property", "displayName": "Destination Creation Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.DestinationCreationStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom DestinationCreationStrategy." }, + "exceptionListener": { "kind": "property", "displayName": "Exception Listener", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "javax.jms.ExceptionListener", "deprecated": false, "autowired": false, "secret": false, "description": "Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions." }, "jmsKeyFormatStrategy": { "kind": "property", "displayName": "Jms Key Format Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification. Camel provides one implementation out of the box: default. The defau [...] "messageCreatedStrategy": { "kind": "property", "displayName": "Message Created Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.MessageCreatedStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use the given MessageCreatedStrategy which are invoked when Camel creates new instances of javax.jms.Message objects when Camel is sending a JMS message." }, "recoveryInterval": { "kind": "property", "displayName": "Recovery Interval", "group": "advanced", "label": "advanced", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "description": "Specifies the interval between recovery attempts, i.e. when a connection is being refreshed, in milliseconds. The default is 5000 ms, that is, 5 seconds." }, diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms2.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms2.json index d8b42dd8e3d..c4b81f96f94 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms2.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms2.json @@ -27,6 +27,7 @@ "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] "autowiredEnabled": { "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 t [...] "destinationCreationStrategy": { "kind": "property", "displayName": "Destination Creation Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.DestinationCreationStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom DestinationCreationStrategy." }, + "exceptionListener": { "kind": "property", "displayName": "Exception Listener", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "javax.jms.ExceptionListener", "deprecated": false, "autowired": false, "secret": false, "description": "Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions." }, "jmsKeyFormatStrategy": { "kind": "property", "displayName": "Jms Key Format Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification. Camel provides one implementation out of the box: default. The defau [...] "messageCreatedStrategy": { "kind": "property", "displayName": "Message Created Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.MessageCreatedStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use the given MessageCreatedStrategy which are invoked when Camel creates new instances of javax.jms.Message objects when Camel is sending a JMS message." }, "recoveryInterval": { "kind": "property", "displayName": "Recovery Interval", "group": "advanced", "label": "advanced", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "description": "Specifies the interval between recovery attempts, i.e. when a connection is being refreshed, in milliseconds. The default is 5000 ms, that is, 5 seconds." }, diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd index 492505b696c..7148e8b0b05 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd @@ -3904,7 +3904,7 @@ the branch that matched. Default value: false <xs:attribute name="configuration" type="xs:string"> <xs:annotation> <xs:documentation xml:lang="en"><![CDATA[ -Refers to a circuit breaker configuration (such as resillience4j, or +Refers to a circuit breaker configuration (such as hystrix, resillience4j, or microprofile-fault-tolerance) to use for configuring the circuit breaker EIP. ]]></xs:documentation> </xs:annotation> @@ -9607,10 +9607,11 @@ Default value: false <xs:annotation> <xs:documentation xml:lang="en"><![CDATA[ Whether the fallback goes over the network. If the fallback will go over the -network it is another possible point of failure. It is important to execute the -fallback command on a separate thread-pool, otherwise if the main command were -to become latent and fill the thread-pool this would prevent the fallback from -running if the two commands share the same pool. Default value: false +network it is another possible point of failure and so it also needs to be +wrapped by a HystrixCommand. It is important to execute the fallback command on +a separate thread-pool, otherwise if the main command were to become latent and +fill the thread-pool this would prevent the fallback from running if the two +commands share the same pool. Default value: false ]]></xs:documentation> </xs:annotation> </xs:attribute> @@ -10514,14 +10515,6 @@ Sets the resume strategy to use. ]]></xs:documentation> </xs:annotation> </xs:attribute> - <xs:attribute name="intermittent" type="xs:string"> - <xs:annotation> - <xs:documentation xml:lang="en"><![CDATA[ -Sets whether the offsets will be intermittently present or whether they must be -present in every exchange. Default value: false - ]]></xs:documentation> - </xs:annotation> - </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> diff --git a/components/camel-sjms/src/generated/java/org/apache/camel/component/sjms/SjmsComponentConfigurer.java b/components/camel-sjms/src/generated/java/org/apache/camel/component/sjms/SjmsComponentConfigurer.java index ba8c37901dc..818f17c14c3 100644 --- a/components/camel-sjms/src/generated/java/org/apache/camel/component/sjms/SjmsComponentConfigurer.java +++ b/components/camel-sjms/src/generated/java/org/apache/camel/component/sjms/SjmsComponentConfigurer.java @@ -29,6 +29,8 @@ public class SjmsComponentConfigurer extends PropertyConfigurerSupport implement case "connectionFactory": target.setConnectionFactory(property(camelContext, javax.jms.ConnectionFactory.class, value)); return true; case "destinationcreationstrategy": case "destinationCreationStrategy": target.setDestinationCreationStrategy(property(camelContext, org.apache.camel.component.sjms.jms.DestinationCreationStrategy.class, value)); return true; + case "exceptionlistener": + case "exceptionListener": target.setExceptionListener(property(camelContext, javax.jms.ExceptionListener.class, value)); return true; case "headerfilterstrategy": case "headerFilterStrategy": target.setHeaderFilterStrategy(property(camelContext, org.apache.camel.spi.HeaderFilterStrategy.class, value)); return true; case "jmskeyformatstrategy": @@ -63,6 +65,8 @@ public class SjmsComponentConfigurer extends PropertyConfigurerSupport implement case "connectionFactory": return javax.jms.ConnectionFactory.class; case "destinationcreationstrategy": case "destinationCreationStrategy": return org.apache.camel.component.sjms.jms.DestinationCreationStrategy.class; + case "exceptionlistener": + case "exceptionListener": return javax.jms.ExceptionListener.class; case "headerfilterstrategy": case "headerFilterStrategy": return org.apache.camel.spi.HeaderFilterStrategy.class; case "jmskeyformatstrategy": @@ -93,6 +97,8 @@ public class SjmsComponentConfigurer extends PropertyConfigurerSupport implement case "connectionFactory": return target.getConnectionFactory(); case "destinationcreationstrategy": case "destinationCreationStrategy": return target.getDestinationCreationStrategy(); + case "exceptionlistener": + case "exceptionListener": return target.getExceptionListener(); case "headerfilterstrategy": case "headerFilterStrategy": return target.getHeaderFilterStrategy(); case "jmskeyformatstrategy": diff --git a/components/camel-sjms/src/generated/resources/org/apache/camel/component/sjms/sjms.json b/components/camel-sjms/src/generated/resources/org/apache/camel/component/sjms/sjms.json index 9a5b71a3a1b..7cbe7fbfc0a 100644 --- a/components/camel-sjms/src/generated/resources/org/apache/camel/component/sjms/sjms.json +++ b/components/camel-sjms/src/generated/resources/org/apache/camel/component/sjms/sjms.json @@ -27,6 +27,7 @@ "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] "autowiredEnabled": { "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 t [...] "destinationCreationStrategy": { "kind": "property", "displayName": "Destination Creation Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.DestinationCreationStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom DestinationCreationStrategy." }, + "exceptionListener": { "kind": "property", "displayName": "Exception Listener", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "javax.jms.ExceptionListener", "deprecated": false, "autowired": false, "secret": false, "description": "Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions." }, "jmsKeyFormatStrategy": { "kind": "property", "displayName": "Jms Key Format Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification. Camel provides one implementation out of the box: default. The defau [...] "messageCreatedStrategy": { "kind": "property", "displayName": "Message Created Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.MessageCreatedStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use the given MessageCreatedStrategy which are invoked when Camel creates new instances of javax.jms.Message objects when Camel is sending a JMS message." }, "recoveryInterval": { "kind": "property", "displayName": "Recovery Interval", "group": "advanced", "label": "advanced", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "description": "Specifies the interval between recovery attempts, i.e. when a connection is being refreshed, in milliseconds. The default is 5000 ms, that is, 5 seconds." }, diff --git a/components/camel-sjms2/src/generated/resources/org/apache/camel/component/sjms2/sjms2.json b/components/camel-sjms2/src/generated/resources/org/apache/camel/component/sjms2/sjms2.json index d8b42dd8e3d..c4b81f96f94 100644 --- a/components/camel-sjms2/src/generated/resources/org/apache/camel/component/sjms2/sjms2.json +++ b/components/camel-sjms2/src/generated/resources/org/apache/camel/component/sjms2/sjms2.json @@ -27,6 +27,7 @@ "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] "autowiredEnabled": { "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 t [...] "destinationCreationStrategy": { "kind": "property", "displayName": "Destination Creation Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.DestinationCreationStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom DestinationCreationStrategy." }, + "exceptionListener": { "kind": "property", "displayName": "Exception Listener", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "javax.jms.ExceptionListener", "deprecated": false, "autowired": false, "secret": false, "description": "Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions." }, "jmsKeyFormatStrategy": { "kind": "property", "displayName": "Jms Key Format Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification. Camel provides one implementation out of the box: default. The defau [...] "messageCreatedStrategy": { "kind": "property", "displayName": "Message Created Strategy", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.sjms.jms.MessageCreatedStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use the given MessageCreatedStrategy which are invoked when Camel creates new instances of javax.jms.Message objects when Camel is sending a JMS message." }, "recoveryInterval": { "kind": "property", "displayName": "Recovery Interval", "group": "advanced", "label": "advanced", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "description": "Specifies the interval between recovery attempts, i.e. when a connection is being refreshed, in milliseconds. The default is 5000 ms, that is, 5 seconds." }, diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarComponentBuilderFactory.java index 70863dc01b7..3f563626975 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarComponentBuilderFactory.java @@ -262,21 +262,6 @@ public interface GoogleCalendarComponentBuilderFactory { doSetProperty("emailAddress", emailAddress); return this; } - /** - * Sets .json file with credentials for Service account. - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: security - * - * @param keyResource the value to set - * @return the dsl builder - */ - default GoogleCalendarComponentBuilder keyResource( - java.lang.String keyResource) { - doSetProperty("keyResource", keyResource); - return this; - } /** * The name of the p12 file which has the private key to use with the * Google Service Account. @@ -310,6 +295,22 @@ public interface GoogleCalendarComponentBuilderFactory { doSetProperty("refreshToken", refreshToken); return this; } + /** + * Service account key in json format to authenticate an application as + * a service account. Accept base64 adding the prefix base64:. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: security + * + * @param serviceAccountKey the value to set + * @return the dsl builder + */ + default GoogleCalendarComponentBuilder serviceAccountKey( + java.lang.String serviceAccountKey) { + doSetProperty("serviceAccountKey", serviceAccountKey); + return this; + } /** * The email address of the user the application is trying to * impersonate in the service account flow. @@ -361,9 +362,9 @@ public interface GoogleCalendarComponentBuilderFactory { case "accessToken": getOrCreateConfiguration((GoogleCalendarComponent) component).setAccessToken((java.lang.String) value); return true; case "clientSecret": getOrCreateConfiguration((GoogleCalendarComponent) component).setClientSecret((java.lang.String) value); return true; case "emailAddress": getOrCreateConfiguration((GoogleCalendarComponent) component).setEmailAddress((java.lang.String) value); return true; - case "keyResource": getOrCreateConfiguration((GoogleCalendarComponent) component).setKeyResource((java.lang.String) value); return true; case "p12FileName": getOrCreateConfiguration((GoogleCalendarComponent) component).setP12FileName((java.lang.String) value); return true; case "refreshToken": getOrCreateConfiguration((GoogleCalendarComponent) component).setRefreshToken((java.lang.String) value); return true; + case "serviceAccountKey": getOrCreateConfiguration((GoogleCalendarComponent) component).setServiceAccountKey((java.lang.String) value); return true; case "user": getOrCreateConfiguration((GoogleCalendarComponent) component).setUser((java.lang.String) value); return true; default: return false; } diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java index d781077b47e..80b738c8ef2 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java @@ -330,21 +330,6 @@ public interface GoogleCalendarStreamComponentBuilderFactory { doSetProperty("emailAddress", emailAddress); return this; } - /** - * Sets .json file with credentials for Service account. - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: security - * - * @param keyResource the value to set - * @return the dsl builder - */ - default GoogleCalendarStreamComponentBuilder keyResource( - java.lang.String keyResource) { - doSetProperty("keyResource", keyResource); - return this; - } /** * The name of the p12 file which has the private key to use with the * Google Service Account. @@ -378,6 +363,22 @@ public interface GoogleCalendarStreamComponentBuilderFactory { doSetProperty("refreshToken", refreshToken); return this; } + /** + * Service account key in json format to authenticate an application as + * a service account. Accept base64 adding the prefix base64:. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: security + * + * @param serviceAccountKey the value to set + * @return the dsl builder + */ + default GoogleCalendarStreamComponentBuilder serviceAccountKey( + java.lang.String serviceAccountKey) { + doSetProperty("serviceAccountKey", serviceAccountKey); + return this; + } /** * The email address of the user the application is trying to * impersonate in the service account flow. @@ -434,9 +435,9 @@ public interface GoogleCalendarStreamComponentBuilderFactory { case "accessToken": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setAccessToken((java.lang.String) value); return true; case "clientSecret": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setClientSecret((java.lang.String) value); return true; case "emailAddress": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setEmailAddress((java.lang.String) value); return true; - case "keyResource": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setKeyResource((java.lang.String) value); return true; case "p12FileName": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setP12FileName((java.lang.String) value); return true; case "refreshToken": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setRefreshToken((java.lang.String) value); return true; + case "serviceAccountKey": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setServiceAccountKey((java.lang.String) value); return true; case "user": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setUser((java.lang.String) value); return true; default: return false; } diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Sjms2ComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Sjms2ComponentBuilderFactory.java index f9e8a93fcc0..5f834eedb88 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Sjms2ComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Sjms2ComponentBuilderFactory.java @@ -149,6 +149,23 @@ public interface Sjms2ComponentBuilderFactory { doSetProperty("destinationCreationStrategy", destinationCreationStrategy); return this; } + /** + * Specifies the JMS Exception Listener that is to be notified of any + * underlying JMS exceptions. + * + * The option is a: <code>javax.jms.ExceptionListener</code> + * type. + * + * Group: advanced + * + * @param exceptionListener the value to set + * @return the dsl builder + */ + default Sjms2ComponentBuilder exceptionListener( + javax.jms.ExceptionListener exceptionListener) { + doSetProperty("exceptionListener", exceptionListener); + return this; + } /** * Pluggable strategy for encoding and decoding JMS keys so they can be * compliant with the JMS specification. Camel provides one @@ -284,6 +301,7 @@ public interface Sjms2ComponentBuilderFactory { case "lazyStartProducer": ((Sjms2Component) component).setLazyStartProducer((boolean) value); return true; case "autowiredEnabled": ((Sjms2Component) component).setAutowiredEnabled((boolean) value); return true; case "destinationCreationStrategy": ((Sjms2Component) component).setDestinationCreationStrategy((org.apache.camel.component.sjms.jms.DestinationCreationStrategy) value); return true; + case "exceptionListener": ((Sjms2Component) component).setExceptionListener((javax.jms.ExceptionListener) value); return true; case "jmsKeyFormatStrategy": ((Sjms2Component) component).setJmsKeyFormatStrategy((org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy) value); return true; case "messageCreatedStrategy": ((Sjms2Component) component).setMessageCreatedStrategy((org.apache.camel.component.sjms.jms.MessageCreatedStrategy) value); return true; case "recoveryInterval": ((Sjms2Component) component).setRecoveryInterval((long) value); return true; diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SjmsComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SjmsComponentBuilderFactory.java index a9e1d5999ed..aeec7d8cdb8 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SjmsComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SjmsComponentBuilderFactory.java @@ -148,6 +148,23 @@ public interface SjmsComponentBuilderFactory { doSetProperty("destinationCreationStrategy", destinationCreationStrategy); return this; } + /** + * Specifies the JMS Exception Listener that is to be notified of any + * underlying JMS exceptions. + * + * The option is a: <code>javax.jms.ExceptionListener</code> + * type. + * + * Group: advanced + * + * @param exceptionListener the value to set + * @return the dsl builder + */ + default SjmsComponentBuilder exceptionListener( + javax.jms.ExceptionListener exceptionListener) { + doSetProperty("exceptionListener", exceptionListener); + return this; + } /** * Pluggable strategy for encoding and decoding JMS keys so they can be * compliant with the JMS specification. Camel provides one @@ -283,6 +300,7 @@ public interface SjmsComponentBuilderFactory { case "lazyStartProducer": ((SjmsComponent) component).setLazyStartProducer((boolean) value); return true; case "autowiredEnabled": ((SjmsComponent) component).setAutowiredEnabled((boolean) value); return true; case "destinationCreationStrategy": ((SjmsComponent) component).setDestinationCreationStrategy((org.apache.camel.component.sjms.jms.DestinationCreationStrategy) value); return true; + case "exceptionListener": ((SjmsComponent) component).setExceptionListener((javax.jms.ExceptionListener) value); return true; case "jmsKeyFormatStrategy": ((SjmsComponent) component).setJmsKeyFormatStrategy((org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy) value); return true; case "messageCreatedStrategy": ((SjmsComponent) component).setMessageCreatedStrategy((org.apache.camel.component.sjms.jms.MessageCreatedStrategy) value); return true; case "recoveryInterval": ((SjmsComponent) component).setRecoveryInterval((long) value); return true; diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java index d75dab36992..5ce854ecef1 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java @@ -749,21 +749,6 @@ public interface GoogleCalendarEndpointBuilderFactory { doSetProperty("emailAddress", emailAddress); return this; } - /** - * Sets .json file with credentials for Service account. - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: security - * - * @param keyResource the value to set - * @return the dsl builder - */ - default GoogleCalendarEndpointConsumerBuilder keyResource( - String keyResource) { - doSetProperty("keyResource", keyResource); - return this; - } /** * The name of the p12 file which has the private key to use with the * Google Service Account. @@ -797,6 +782,22 @@ public interface GoogleCalendarEndpointBuilderFactory { doSetProperty("refreshToken", refreshToken); return this; } + /** + * Service account key in json format to authenticate an application as + * a service account. Accept base64 adding the prefix base64:. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: security + * + * @param serviceAccountKey the value to set + * @return the dsl builder + */ + default GoogleCalendarEndpointConsumerBuilder serviceAccountKey( + String serviceAccountKey) { + doSetProperty("serviceAccountKey", serviceAccountKey); + return this; + } /** * The email address of the user the application is trying to * impersonate in the service account flow. @@ -1135,21 +1136,6 @@ public interface GoogleCalendarEndpointBuilderFactory { doSetProperty("emailAddress", emailAddress); return this; } - /** - * Sets .json file with credentials for Service account. - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: security - * - * @param keyResource the value to set - * @return the dsl builder - */ - default GoogleCalendarEndpointProducerBuilder keyResource( - String keyResource) { - doSetProperty("keyResource", keyResource); - return this; - } /** * The name of the p12 file which has the private key to use with the * Google Service Account. @@ -1183,6 +1169,22 @@ public interface GoogleCalendarEndpointBuilderFactory { doSetProperty("refreshToken", refreshToken); return this; } + /** + * Service account key in json format to authenticate an application as + * a service account. Accept base64 adding the prefix base64:. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: security + * + * @param serviceAccountKey the value to set + * @return the dsl builder + */ + default GoogleCalendarEndpointProducerBuilder serviceAccountKey( + String serviceAccountKey) { + doSetProperty("serviceAccountKey", serviceAccountKey); + return this; + } /** * The email address of the user the application is trying to * impersonate in the service account flow. @@ -1362,20 +1364,6 @@ public interface GoogleCalendarEndpointBuilderFactory { doSetProperty("emailAddress", emailAddress); return this; } - /** - * Sets .json file with credentials for Service account. - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: security - * - * @param keyResource the value to set - * @return the dsl builder - */ - default GoogleCalendarEndpointBuilder keyResource(String keyResource) { - doSetProperty("keyResource", keyResource); - return this; - } /** * The name of the p12 file which has the private key to use with the * Google Service Account. @@ -1407,6 +1395,22 @@ public interface GoogleCalendarEndpointBuilderFactory { doSetProperty("refreshToken", refreshToken); return this; } + /** + * Service account key in json format to authenticate an application as + * a service account. Accept base64 adding the prefix base64:. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: security + * + * @param serviceAccountKey the value to set + * @return the dsl builder + */ + default GoogleCalendarEndpointBuilder serviceAccountKey( + String serviceAccountKey) { + doSetProperty("serviceAccountKey", serviceAccountKey); + return this; + } /** * The email address of the user the application is trying to * impersonate in the service account flow. diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java index b043a02442e..41be2635109 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java @@ -890,21 +890,6 @@ public interface GoogleCalendarStreamEndpointBuilderFactory { doSetProperty("emailAddress", emailAddress); return this; } - /** - * Sets .json file with credentials for Service account. - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: security - * - * @param keyResource the value to set - * @return the dsl builder - */ - default GoogleCalendarStreamEndpointBuilder keyResource( - String keyResource) { - doSetProperty("keyResource", keyResource); - return this; - } /** * The name of the p12 file which has the private key to use with the * Google Service Account. @@ -938,6 +923,22 @@ public interface GoogleCalendarStreamEndpointBuilderFactory { doSetProperty("refreshToken", refreshToken); return this; } + /** + * Service account key in json format to authenticate an application as + * a service account. Accept base64 adding the prefix base64:. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: security + * + * @param serviceAccountKey the value to set + * @return the dsl builder + */ + default GoogleCalendarStreamEndpointBuilder serviceAccountKey( + String serviceAccountKey) { + doSetProperty("serviceAccountKey", serviceAccountKey); + return this; + } /** * The email address of the user the application is trying to * impersonate in the service account flow.