You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/02/05 09:39:49 UTC
[camel] 01/02: Regen
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 1b5fc37935e91a166a5104509722e61b65fea919
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 5 10:38:17 2020 +0100
Regen
---
.../services/org/apache/camel/component.properties | 2 +-
.../services/org/apache/camel/component.properties | 2 +-
.../services/org/apache/camel/component.properties | 2 +-
.../org/apache/camel/dataformat.properties | 2 +-
.../services/org/apache/camel/component.properties | 2 +-
.../services/org/apache/camel/component.properties | 2 +-
.../services/org/apache/camel/component.properties | 2 +-
.../services/org/apache/camel/component.properties | 2 +-
.../component/fhir/FhirComponentConfigurer.java | 36 ++--
.../component/fhir/FhirEndpointConfigurer.java | 194 +++++++++------------
.../file/watch/FileWatchComponentConfigurer.java | 49 ++----
.../file/watch/FileWatchEndpointConfigurer.java | 74 +++-----
.../services/org/apache/camel/component.properties | 2 +-
.../GoogleBigQueryComponentConfigurer.java | 41 ++---
.../bigquery/GoogleBigQueryEndpointConfigurer.java | 40 ++---
.../sql/GoogleBigQuerySQLComponentConfigurer.java | 37 ++--
.../sql/GoogleBigQuerySQLEndpointConfigurer.java | 36 ++--
.../services/org/apache/camel/component.properties | 2 +-
.../GoogleCalendarComponentConfigurer.java | 40 ++---
.../calendar/GoogleCalendarEndpointConfigurer.java | 143 +++++++--------
.../GoogleCalendarStreamComponentConfigurer.java | 36 ++--
.../GoogleCalendarStreamEndpointConfigurer.java | 143 +++++++--------
.../google/mail/GoogleMailComponentConfigurer.java | 40 ++---
.../google/mail/GoogleMailEndpointConfigurer.java | 129 ++++++--------
.../GoogleMailStreamComponentConfigurer.java | 36 ++--
.../stream/GoogleMailStreamEndpointConfigurer.java | 135 ++++++--------
.../pubsub/GooglePubsubComponentConfigurer.java | 37 ++--
.../pubsub/GooglePubsubEndpointConfigurer.java | 64 +++----
.../sheets/GoogleSheetsComponentConfigurer.java | 40 ++---
.../sheets/GoogleSheetsEndpointConfigurer.java | 129 ++++++--------
.../GoogleSheetsStreamComponentConfigurer.java | 36 ++--
.../GoogleSheetsStreamEndpointConfigurer.java | 151 +++++++---------
.../services/org/apache/camel/component.properties | 2 +-
.../eventbus/GuavaEventBusComponentConfigurer.java | 41 ++---
.../eventbus/GuavaEventBusEndpointConfigurer.java | 52 ++----
.../HazelcastAtomicnumberComponentConfigurer.java | 37 ++--
.../HazelcastAtomicnumberEndpointConfigurer.java | 44 ++---
.../HazelcastInstanceComponentConfigurer.java | 37 ++--
.../HazelcastInstanceEndpointConfigurer.java | 52 ++----
.../list/HazelcastListComponentConfigurer.java | 41 ++---
.../list/HazelcastListEndpointConfigurer.java | 56 +++---
.../map/HazelcastMapComponentConfigurer.java | 41 ++---
.../map/HazelcastMapEndpointConfigurer.java | 56 +++---
.../HazelcastMultimapComponentConfigurer.java | 41 ++---
.../HazelcastMultimapEndpointConfigurer.java | 56 +++---
.../queue/HazelcastQueueComponentConfigurer.java | 41 ++---
.../queue/HazelcastQueueEndpointConfigurer.java | 68 +++-----
.../HazelcastReplicatedmapComponentConfigurer.java | 41 ++---
.../HazelcastReplicatedmapEndpointConfigurer.java | 56 +++---
.../HazelcastRingbufferComponentConfigurer.java | 37 ++--
.../HazelcastRingbufferEndpointConfigurer.java | 44 ++---
.../seda/HazelcastSedaComponentConfigurer.java | 41 ++---
.../seda/HazelcastSedaEndpointConfigurer.java | 75 ++++----
.../set/HazelcastSetComponentConfigurer.java | 41 ++---
.../set/HazelcastSetEndpointConfigurer.java | 56 +++---
.../topic/HazelcastTopicComponentConfigurer.java | 41 ++---
.../topic/HazelcastTopicEndpointConfigurer.java | 59 +++----
.../services/org/apache/camel/component.properties | 2 +-
.../services/org/apache/camel/component.properties | 2 +-
.../iec60870/client/ClientComponentConfigurer.java | 37 ++--
.../iec60870/client/ClientEndpointConfigurer.java | 105 +++++------
.../iec60870/server/ServerComponentConfigurer.java | 37 ++--
.../iec60870/server/ServerEndpointConfigurer.java | 109 +++++-------
.../services/org/apache/camel/component.properties | 2 +-
.../services/org/apache/camel/component.properties | 2 +-
.../raft/JGroupsRaftComponentConfigurer.java | 49 ++----
.../raft/JGroupsRaftEndpointConfigurer.java | 48 ++---
.../services/org/apache/camel/component.properties | 2 +-
.../services/org/apache/camel/component.properties | 2 +-
.../MicroProfileMetricsComponentConfigurer.java | 33 ++--
.../MicroProfileMetricsEndpointConfigurer.java | 71 +++-----
.../milo/client/MiloClientComponentConfigurer.java | 53 +++---
.../milo/client/MiloClientEndpointConfigurer.java | 134 +++++++-------
.../milo/server/MiloServerComponentConfigurer.java | 108 +++++-------
.../milo/server/MiloServerEndpointConfigurer.java | 44 ++---
.../services/org/apache/camel/component.properties | 2 +-
.../cinder/CinderComponentConfigurer.java | 29 +--
.../openstack/cinder/CinderEndpointConfigurer.java | 57 ++----
.../glance/GlanceComponentConfigurer.java | 29 +--
.../openstack/glance/GlanceEndpointConfigurer.java | 54 ++----
.../keystone/KeystoneComponentConfigurer.java | 29 +--
.../keystone/KeystoneEndpointConfigurer.java | 53 ++----
.../neutron/NeutronComponentConfigurer.java | 29 +--
.../neutron/NeutronEndpointConfigurer.java | 57 ++----
.../openstack/nova/NovaComponentConfigurer.java | 29 +--
.../openstack/nova/NovaEndpointConfigurer.java | 57 ++----
.../openstack/swift/SwiftComponentConfigurer.java | 29 +--
.../openstack/swift/SwiftEndpointConfigurer.java | 57 ++----
.../services/org/apache/camel/component.properties | 2 +-
.../slot/PgReplicationSlotComponentConfigurer.java | 29 +--
.../slot/PgReplicationSlotEndpointConfigurer.java | 119 ++++++-------
.../http/PlatformHttpComponentConfigurer.java | 29 +--
.../http/PlatformHttpEndpointConfigurer.java | 62 +++----
.../ReactiveStreamsComponentConfigurer.java | 45 ++---
.../streams/ReactiveStreamsEndpointConfigurer.java | 68 +++-----
.../openapi/RestOpenApiComponentConfigurer.java | 58 +++---
.../openapi/RestOpenApiEndpointConfigurer.java | 49 ++----
.../servicenow/ServiceNowComponentConfigurer.java | 79 ++++-----
.../servicenow/ServiceNowEndpointConfigurer.java | 194 +++++++++------------
.../services/org/apache/camel/component.properties | 2 +-
.../services/org/apache/camel/component.properties | 2 +-
.../component/SoroushBotComponentConfigurer.java | 37 ++--
.../component/SoroushBotEndpointConfigurer.java | 108 +++++-------
.../batch/SpringBatchComponentConfigurer.java | 37 ++--
.../batch/SpringBatchEndpointConfigurer.java | 44 ++---
.../services/org/apache/camel/component.properties | 2 +-
.../TwitterDirectMessageComponentConfigurer.java | 65 +++----
.../TwitterDirectMessageEndpointConfigurer.java | 186 +++++++++-----------
.../search/TwitterSearchComponentConfigurer.java | 65 +++----
.../search/TwitterSearchEndpointConfigurer.java | 186 +++++++++-----------
.../TwitterTimelineComponentConfigurer.java | 65 +++----
.../TwitterTimelineEndpointConfigurer.java | 189 +++++++++-----------
.../services/org/apache/camel/component.properties | 2 +-
.../org/apache/camel/dataformat.properties | 2 +-
114 files changed, 2273 insertions(+), 3646 deletions(-)
diff --git a/components/camel-ahc-ws/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-ahc-ws/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index a191bd7..ccce457 100644
--- a/components/camel-ahc-ws/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-ahc-ws/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=ahc-wss ahc-ws
+components=ahc-ws ahc-wss
groupId=org.apache.camel
artifactId=camel-ahc-ws
version=3.1.0-SNAPSHOT
diff --git a/components/camel-atomix/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-atomix/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 951d964..0b26220 100644
--- a/components/camel-atomix/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-atomix/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=atomix-multimap atomix-queue atomix-map atomix-value atomix-set atomix-messaging
+components=atomix-map atomix-messaging atomix-multimap atomix-queue atomix-set atomix-value
groupId=org.apache.camel
artifactId=camel-atomix
version=3.1.0-SNAPSHOT
diff --git a/components/camel-azure/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-azure/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 7d4a106..0011330 100644
--- a/components/camel-azure/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-azure/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=azure-queue azure-blob
+components=azure-blob azure-queue
groupId=org.apache.camel
artifactId=camel-azure
version=3.1.0-SNAPSHOT
diff --git a/components/camel-bindy/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties b/components/camel-bindy/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties
index edf7add..f2fa996 100644
--- a/components/camel-bindy/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties
+++ b/components/camel-bindy/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-dataFormats=bindy-fixed bindy-csv bindy-kvp
+dataFormats=bindy-csv bindy-fixed bindy-kvp
groupId=org.apache.camel
artifactId=camel-bindy
version=3.1.0-SNAPSHOT
diff --git a/components/camel-caffeine/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-caffeine/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index e524dc8..85da2f6 100644
--- a/components/camel-caffeine/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-caffeine/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=caffeine-loadcache caffeine-cache
+components=caffeine-cache caffeine-loadcache
groupId=org.apache.camel
artifactId=camel-caffeine
version=3.1.0-SNAPSHOT
diff --git a/components/camel-coap/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-coap/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index ee2df76..9aa7436 100644
--- a/components/camel-coap/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-coap/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=coaps coap+tcp coaps+tcp coap
+components=coap coap+tcp coaps coaps+tcp
groupId=org.apache.camel
artifactId=camel-coap
version=3.1.0-SNAPSHOT
diff --git a/components/camel-cxf/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-cxf/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 436654a..8a267e7 100644
--- a/components/camel-cxf/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-cxf/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=cxfrs cxf
+components=cxf cxfrs
groupId=org.apache.camel
artifactId=camel-cxf
version=3.1.0-SNAPSHOT
diff --git a/components/camel-disruptor/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-disruptor/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 028e5f0..772bc93 100644
--- a/components/camel-disruptor/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-disruptor/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=disruptor-vm disruptor
+components=disruptor disruptor-vm
groupId=org.apache.camel
artifactId=camel-disruptor
version=3.1.0-SNAPSHOT
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirComponentConfigurer.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirComponentConfigurer.java
index 22d2c5e..8075b209 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirComponentConfigurer.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirComponentConfigurer.java
@@ -12,31 +12,17 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class FhirComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "configuration": ((FhirComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.fhir.FhirConfiguration.class, value)); return true;
- case "basicPropertyBinding": ((FhirComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((FhirComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((FhirComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "configuration": ((FhirComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.fhir.FhirConfiguration.class, value)); return true;
- case "basicpropertybinding": ((FhirComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((FhirComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((FhirComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ FhirComponent target = (FhirComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "configuration": target.setConfiguration(property(camelContext, org.apache.camel.component.fhir.FhirConfiguration.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirEndpointConfigurer.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirEndpointConfigurer.java
index 9f938cb..cde65a6 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirEndpointConfigurer.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirEndpointConfigurer.java
@@ -12,115 +12,91 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class FhirEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "encoding": ((FhirEndpoint) target).getConfiguration().setEncoding(property(camelContext, java.lang.String.class, value)); return true;
- case "fhirVersion": ((FhirEndpoint) target).getConfiguration().setFhirVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "inBody": ((FhirEndpoint) target).setInBody(property(camelContext, java.lang.String.class, value)); return true;
- case "log": ((FhirEndpoint) target).getConfiguration().setLog(property(camelContext, boolean.class, value)); return true;
- case "prettyPrint": ((FhirEndpoint) target).getConfiguration().setPrettyPrint(property(camelContext, boolean.class, value)); return true;
- case "serverUrl": ((FhirEndpoint) target).getConfiguration().setServerUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((FhirEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendEmptyMessageWhenIdle": ((FhirEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((FhirEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((FhirEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollStrategy": ((FhirEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "lazyStartProducer": ((FhirEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((FhirEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "client": ((FhirEndpoint) target).getConfiguration().setClient(property(camelContext, ca.uhn.fhir.rest.client.api.IGenericClient.class, value)); return true;
- case "clientFactory": ((FhirEndpoint) target).getConfiguration().setClientFactory(property(camelContext, ca.uhn.fhir.rest.client.api.IRestfulClientFactory.class, value)); return true;
- case "compress": ((FhirEndpoint) target).getConfiguration().setCompress(property(camelContext, boolean.class, value)); return true;
- case "connectionTimeout": ((FhirEndpoint) target).getConfiguration().setConnectionTimeout(property(camelContext, java.lang.Integer.class, value)); return true;
- case "deferModelScanning": ((FhirEndpoint) target).getConfiguration().setDeferModelScanning(property(camelContext, boolean.class, value)); return true;
- case "fhirContext": ((FhirEndpoint) target).getConfiguration().setFhirContext(property(camelContext, ca.uhn.fhir.context.FhirContext.class, value)); return true;
- case "forceConformanceCheck": ((FhirEndpoint) target).getConfiguration().setForceConformanceCheck(property(camelContext, boolean.class, value)); return true;
- case "sessionCookie": ((FhirEndpoint) target).getConfiguration().setSessionCookie(property(camelContext, java.lang.String.class, value)); return true;
- case "socketTimeout": ((FhirEndpoint) target).getConfiguration().setSocketTimeout(property(camelContext, java.lang.Integer.class, value)); return true;
- case "summary": ((FhirEndpoint) target).getConfiguration().setSummary(property(camelContext, java.lang.String.class, value)); return true;
- case "synchronous": ((FhirEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "validationMode": ((FhirEndpoint) target).getConfiguration().setValidationMode(property(camelContext, java.lang.String.class, value)); return true;
- case "backoffErrorThreshold": ((FhirEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffIdleThreshold": ((FhirEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffMultiplier": ((FhirEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((FhirEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((FhirEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialDelay": ((FhirEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatCount": ((FhirEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runLoggingLevel": ((FhirEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledExecutorService": ((FhirEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((FhirEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerProperties": ((FhirEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startScheduler": ((FhirEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeUnit": ((FhirEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "useFixedDelay": ((FhirEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- case "proxyHost": ((FhirEndpoint) target).getConfiguration().setProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyPassword": ((FhirEndpoint) target).getConfiguration().setProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyPort": ((FhirEndpoint) target).getConfiguration().setProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "proxyUser": ((FhirEndpoint) target).getConfiguration().setProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "accessToken": ((FhirEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((FhirEndpoint) target).getConfiguration().setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((FhirEndpoint) target).getConfiguration().setUsername(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "encoding": ((FhirEndpoint) target).getConfiguration().setEncoding(property(camelContext, java.lang.String.class, value)); return true;
- case "fhirversion": ((FhirEndpoint) target).getConfiguration().setFhirVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "inbody": ((FhirEndpoint) target).setInBody(property(camelContext, java.lang.String.class, value)); return true;
- case "log": ((FhirEndpoint) target).getConfiguration().setLog(property(camelContext, boolean.class, value)); return true;
- case "prettyprint": ((FhirEndpoint) target).getConfiguration().setPrettyPrint(property(camelContext, boolean.class, value)); return true;
- case "serverurl": ((FhirEndpoint) target).getConfiguration().setServerUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((FhirEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendemptymessagewhenidle": ((FhirEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((FhirEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((FhirEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollstrategy": ((FhirEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "lazystartproducer": ((FhirEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((FhirEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "client": ((FhirEndpoint) target).getConfiguration().setClient(property(camelContext, ca.uhn.fhir.rest.client.api.IGenericClient.class, value)); return true;
- case "clientfactory": ((FhirEndpoint) target).getConfiguration().setClientFactory(property(camelContext, ca.uhn.fhir.rest.client.api.IRestfulClientFactory.class, value)); return true;
- case "compress": ((FhirEndpoint) target).getConfiguration().setCompress(property(camelContext, boolean.class, value)); return true;
- case "connectiontimeout": ((FhirEndpoint) target).getConfiguration().setConnectionTimeout(property(camelContext, java.lang.Integer.class, value)); return true;
- case "defermodelscanning": ((FhirEndpoint) target).getConfiguration().setDeferModelScanning(property(camelContext, boolean.class, value)); return true;
- case "fhircontext": ((FhirEndpoint) target).getConfiguration().setFhirContext(property(camelContext, ca.uhn.fhir.context.FhirContext.class, value)); return true;
- case "forceconformancecheck": ((FhirEndpoint) target).getConfiguration().setForceConformanceCheck(property(camelContext, boolean.class, value)); return true;
- case "sessioncookie": ((FhirEndpoint) target).getConfiguration().setSessionCookie(property(camelContext, java.lang.String.class, value)); return true;
- case "sockettimeout": ((FhirEndpoint) target).getConfiguration().setSocketTimeout(property(camelContext, java.lang.Integer.class, value)); return true;
- case "summary": ((FhirEndpoint) target).getConfiguration().setSummary(property(camelContext, java.lang.String.class, value)); return true;
- case "synchronous": ((FhirEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "validationmode": ((FhirEndpoint) target).getConfiguration().setValidationMode(property(camelContext, java.lang.String.class, value)); return true;
- case "backofferrorthreshold": ((FhirEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffidlethreshold": ((FhirEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffmultiplier": ((FhirEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((FhirEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((FhirEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialdelay": ((FhirEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatcount": ((FhirEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runlogginglevel": ((FhirEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledexecutorservice": ((FhirEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((FhirEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerproperties": ((FhirEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startscheduler": ((FhirEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeunit": ((FhirEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "usefixeddelay": ((FhirEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- case "proxyhost": ((FhirEndpoint) target).getConfiguration().setProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "proxypassword": ((FhirEndpoint) target).getConfiguration().setProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyport": ((FhirEndpoint) target).getConfiguration().setProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "proxyuser": ((FhirEndpoint) target).getConfiguration().setProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "accesstoken": ((FhirEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((FhirEndpoint) target).getConfiguration().setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((FhirEndpoint) target).getConfiguration().setUsername(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ FhirEndpoint target = (FhirEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "encoding": target.getConfiguration().setEncoding(property(camelContext, java.lang.String.class, value)); return true;
+ case "fhirversion":
+ case "fhirVersion": target.getConfiguration().setFhirVersion(property(camelContext, java.lang.String.class, value)); return true;
+ case "inbody":
+ case "inBody": target.setInBody(property(camelContext, java.lang.String.class, value)); return true;
+ case "log": target.getConfiguration().setLog(property(camelContext, boolean.class, value)); return true;
+ case "prettyprint":
+ case "prettyPrint": target.getConfiguration().setPrettyPrint(property(camelContext, boolean.class, value)); return true;
+ case "serverurl":
+ case "serverUrl": target.getConfiguration().setServerUrl(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "sendemptymessagewhenidle":
+ case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "pollstrategy":
+ case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "client": target.getConfiguration().setClient(property(camelContext, ca.uhn.fhir.rest.client.api.IGenericClient.class, value)); return true;
+ case "clientfactory":
+ case "clientFactory": target.getConfiguration().setClientFactory(property(camelContext, ca.uhn.fhir.rest.client.api.IRestfulClientFactory.class, value)); return true;
+ case "compress": target.getConfiguration().setCompress(property(camelContext, boolean.class, value)); return true;
+ case "connectiontimeout":
+ case "connectionTimeout": target.getConfiguration().setConnectionTimeout(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "defermodelscanning":
+ case "deferModelScanning": target.getConfiguration().setDeferModelScanning(property(camelContext, boolean.class, value)); return true;
+ case "fhircontext":
+ case "fhirContext": target.getConfiguration().setFhirContext(property(camelContext, ca.uhn.fhir.context.FhirContext.class, value)); return true;
+ case "forceconformancecheck":
+ case "forceConformanceCheck": target.getConfiguration().setForceConformanceCheck(property(camelContext, boolean.class, value)); return true;
+ case "sessioncookie":
+ case "sessionCookie": target.getConfiguration().setSessionCookie(property(camelContext, java.lang.String.class, value)); return true;
+ case "sockettimeout":
+ case "socketTimeout": target.getConfiguration().setSocketTimeout(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "summary": target.getConfiguration().setSummary(property(camelContext, java.lang.String.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "validationmode":
+ case "validationMode": target.getConfiguration().setValidationMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "backofferrorthreshold":
+ case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffidlethreshold":
+ case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffmultiplier":
+ case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true;
+ case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
+ case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true;
+ case "initialdelay":
+ case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true;
+ case "repeatcount":
+ case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true;
+ case "runlogginglevel":
+ case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
+ case "scheduledexecutorservice":
+ case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
+ case "scheduler": target.setScheduler(property(camelContext, java.lang.String.class, value)); return true;
+ case "schedulerproperties":
+ case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
+ case "startscheduler":
+ case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true;
+ case "timeunit":
+ case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
+ case "usefixeddelay":
+ case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
+ case "proxyhost":
+ case "proxyHost": target.getConfiguration().setProxyHost(property(camelContext, java.lang.String.class, value)); return true;
+ case "proxypassword":
+ case "proxyPassword": target.getConfiguration().setProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "proxyport":
+ case "proxyPort": target.getConfiguration().setProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "proxyuser":
+ case "proxyUser": target.getConfiguration().setProxyUser(property(camelContext, java.lang.String.class, value)); return true;
+ case "accesstoken":
+ case "accessToken": target.getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "password": target.getConfiguration().setPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "username": target.getConfiguration().setUsername(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-file-watch/src/generated/java/org/apache/camel/component/file/watch/FileWatchComponentConfigurer.java b/components/camel-file-watch/src/generated/java/org/apache/camel/component/file/watch/FileWatchComponentConfigurer.java
index 241adf5..adc1d31 100644
--- a/components/camel-file-watch/src/generated/java/org/apache/camel/component/file/watch/FileWatchComponentConfigurer.java
+++ b/components/camel-file-watch/src/generated/java/org/apache/camel/component/file/watch/FileWatchComponentConfigurer.java
@@ -12,37 +12,24 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class FileWatchComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "concurrentConsumers": ((FileWatchComponent) target).setConcurrentConsumers(property(camelContext, int.class, value)); return true;
- case "queueSize": ((FileWatchComponent) target).setQueueSize(property(camelContext, int.class, value)); return true;
- case "pollThreads": ((FileWatchComponent) target).setPollThreads(property(camelContext, int.class, value)); return true;
- case "fileHasher": ((FileWatchComponent) target).setFileHasher(property(camelContext, io.methvin.watcher.hashing.FileHasher.class, value)); return true;
- case "useFileHashing": ((FileWatchComponent) target).setUseFileHashing(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((FileWatchComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((FileWatchComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "concurrentconsumers": ((FileWatchComponent) target).setConcurrentConsumers(property(camelContext, int.class, value)); return true;
- case "queuesize": ((FileWatchComponent) target).setQueueSize(property(camelContext, int.class, value)); return true;
- case "pollthreads": ((FileWatchComponent) target).setPollThreads(property(camelContext, int.class, value)); return true;
- case "filehasher": ((FileWatchComponent) target).setFileHasher(property(camelContext, io.methvin.watcher.hashing.FileHasher.class, value)); return true;
- case "usefilehashing": ((FileWatchComponent) target).setUseFileHashing(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((FileWatchComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((FileWatchComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ FileWatchComponent target = (FileWatchComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "concurrentconsumers":
+ case "concurrentConsumers": target.setConcurrentConsumers(property(camelContext, int.class, value)); return true;
+ case "queuesize":
+ case "queueSize": target.setQueueSize(property(camelContext, int.class, value)); return true;
+ case "pollthreads":
+ case "pollThreads": target.setPollThreads(property(camelContext, int.class, value)); return true;
+ case "filehasher":
+ case "fileHasher": target.setFileHasher(property(camelContext, io.methvin.watcher.hashing.FileHasher.class, value)); return true;
+ case "usefilehashing":
+ case "useFileHashing": target.setUseFileHashing(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-file-watch/src/generated/java/org/apache/camel/component/file/watch/FileWatchEndpointConfigurer.java b/components/camel-file-watch/src/generated/java/org/apache/camel/component/file/watch/FileWatchEndpointConfigurer.java
index a5f7d58..778534e 100644
--- a/components/camel-file-watch/src/generated/java/org/apache/camel/component/file/watch/FileWatchEndpointConfigurer.java
+++ b/components/camel-file-watch/src/generated/java/org/apache/camel/component/file/watch/FileWatchEndpointConfigurer.java
@@ -12,51 +12,35 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class FileWatchEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "antInclude": ((FileWatchEndpoint) target).setAntInclude(property(camelContext, java.lang.String.class, value)); return true;
- case "autoCreate": ((FileWatchEndpoint) target).setAutoCreate(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((FileWatchEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "concurrentConsumers": ((FileWatchEndpoint) target).setConcurrentConsumers(property(camelContext, int.class, value)); return true;
- case "events": ((FileWatchEndpoint) target).setEvents(property(camelContext, java.util.Set.class, value)); return true;
- case "fileHasher": ((FileWatchEndpoint) target).setFileHasher(property(camelContext, io.methvin.watcher.hashing.FileHasher.class, value)); return true;
- case "pollThreads": ((FileWatchEndpoint) target).setPollThreads(property(camelContext, int.class, value)); return true;
- case "queueSize": ((FileWatchEndpoint) target).setQueueSize(property(camelContext, int.class, value)); return true;
- case "recursive": ((FileWatchEndpoint) target).setRecursive(property(camelContext, boolean.class, value)); return true;
- case "useFileHashing": ((FileWatchEndpoint) target).setUseFileHashing(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((FileWatchEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((FileWatchEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "basicPropertyBinding": ((FileWatchEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((FileWatchEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "antinclude": ((FileWatchEndpoint) target).setAntInclude(property(camelContext, java.lang.String.class, value)); return true;
- case "autocreate": ((FileWatchEndpoint) target).setAutoCreate(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((FileWatchEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "concurrentconsumers": ((FileWatchEndpoint) target).setConcurrentConsumers(property(camelContext, int.class, value)); return true;
- case "events": ((FileWatchEndpoint) target).setEvents(property(camelContext, java.util.Set.class, value)); return true;
- case "filehasher": ((FileWatchEndpoint) target).setFileHasher(property(camelContext, io.methvin.watcher.hashing.FileHasher.class, value)); return true;
- case "pollthreads": ((FileWatchEndpoint) target).setPollThreads(property(camelContext, int.class, value)); return true;
- case "queuesize": ((FileWatchEndpoint) target).setQueueSize(property(camelContext, int.class, value)); return true;
- case "recursive": ((FileWatchEndpoint) target).setRecursive(property(camelContext, boolean.class, value)); return true;
- case "usefilehashing": ((FileWatchEndpoint) target).setUseFileHashing(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((FileWatchEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((FileWatchEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "basicpropertybinding": ((FileWatchEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((FileWatchEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ FileWatchEndpoint target = (FileWatchEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "antinclude":
+ case "antInclude": target.setAntInclude(property(camelContext, java.lang.String.class, value)); return true;
+ case "autocreate":
+ case "autoCreate": target.setAutoCreate(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "concurrentconsumers":
+ case "concurrentConsumers": target.setConcurrentConsumers(property(camelContext, int.class, value)); return true;
+ case "events": target.setEvents(property(camelContext, java.util.Set.class, value)); return true;
+ case "filehasher":
+ case "fileHasher": target.setFileHasher(property(camelContext, io.methvin.watcher.hashing.FileHasher.class, value)); return true;
+ case "pollthreads":
+ case "pollThreads": target.setPollThreads(property(camelContext, int.class, value)); return true;
+ case "queuesize":
+ case "queueSize": target.setQueueSize(property(camelContext, int.class, value)); return true;
+ case "recursive": target.setRecursive(property(camelContext, boolean.class, value)); return true;
+ case "usefilehashing":
+ case "useFileHashing": target.setUseFileHashing(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-ftp/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-ftp/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 0f8c3ec..a48199e 100644
--- a/components/camel-ftp/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-ftp/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=ftps ftp sftp
+components=ftp ftps sftp
groupId=org.apache.camel
artifactId=camel-ftp
version=3.1.0-SNAPSHOT
diff --git a/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/GoogleBigQueryComponentConfigurer.java b/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/GoogleBigQueryComponentConfigurer.java
index 8f14e35..4955193 100644
--- a/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/GoogleBigQueryComponentConfigurer.java
+++ b/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/GoogleBigQueryComponentConfigurer.java
@@ -12,33 +12,20 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleBigQueryComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "projectId": ((GoogleBigQueryComponent) target).setProjectId(property(camelContext, java.lang.String.class, value)); return true;
- case "datasetId": ((GoogleBigQueryComponent) target).setDatasetId(property(camelContext, java.lang.String.class, value)); return true;
- case "connectionFactory": ((GoogleBigQueryComponent) target).setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
- case "basicPropertyBinding": ((GoogleBigQueryComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((GoogleBigQueryComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "projectid": ((GoogleBigQueryComponent) target).setProjectId(property(camelContext, java.lang.String.class, value)); return true;
- case "datasetid": ((GoogleBigQueryComponent) target).setDatasetId(property(camelContext, java.lang.String.class, value)); return true;
- case "connectionfactory": ((GoogleBigQueryComponent) target).setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
- case "basicpropertybinding": ((GoogleBigQueryComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((GoogleBigQueryComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleBigQueryComponent target = (GoogleBigQueryComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "projectid":
+ case "projectId": target.setProjectId(property(camelContext, java.lang.String.class, value)); return true;
+ case "datasetid":
+ case "datasetId": target.setDatasetId(property(camelContext, java.lang.String.class, value)); return true;
+ case "connectionfactory":
+ case "connectionFactory": target.setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpointConfigurer.java b/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpointConfigurer.java
index 2f8e7e2..22f9295 100644
--- a/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpointConfigurer.java
+++ b/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpointConfigurer.java
@@ -12,33 +12,19 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleBigQueryEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "connectionFactory": ((GoogleBigQueryEndpoint) target).getConfiguration().setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
- case "lazyStartProducer": ((GoogleBigQueryEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "useAsInsertId": ((GoogleBigQueryEndpoint) target).getConfiguration().setUseAsInsertId(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((GoogleBigQueryEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleBigQueryEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "connectionfactory": ((GoogleBigQueryEndpoint) target).getConfiguration().setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
- case "lazystartproducer": ((GoogleBigQueryEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "useasinsertid": ((GoogleBigQueryEndpoint) target).getConfiguration().setUseAsInsertId(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((GoogleBigQueryEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleBigQueryEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleBigQueryEndpoint target = (GoogleBigQueryEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "connectionfactory":
+ case "connectionFactory": target.getConfiguration().setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "useasinsertid":
+ case "useAsInsertId": target.getConfiguration().setUseAsInsertId(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/sql/GoogleBigQuerySQLComponentConfigurer.java b/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/sql/GoogleBigQuerySQLComponentConfigurer.java
index 0ee5379..d3a3476 100644
--- a/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/sql/GoogleBigQuerySQLComponentConfigurer.java
+++ b/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/sql/GoogleBigQuerySQLComponentConfigurer.java
@@ -12,31 +12,18 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleBigQuerySQLComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "projectId": ((GoogleBigQuerySQLComponent) target).setProjectId(property(camelContext, java.lang.String.class, value)); return true;
- case "connectionFactory": ((GoogleBigQuerySQLComponent) target).setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
- case "basicPropertyBinding": ((GoogleBigQuerySQLComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((GoogleBigQuerySQLComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "projectid": ((GoogleBigQuerySQLComponent) target).setProjectId(property(camelContext, java.lang.String.class, value)); return true;
- case "connectionfactory": ((GoogleBigQuerySQLComponent) target).setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
- case "basicpropertybinding": ((GoogleBigQuerySQLComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((GoogleBigQuerySQLComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleBigQuerySQLComponent target = (GoogleBigQuerySQLComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "projectid":
+ case "projectId": target.setProjectId(property(camelContext, java.lang.String.class, value)); return true;
+ case "connectionfactory":
+ case "connectionFactory": target.setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/sql/GoogleBigQuerySQLEndpointConfigurer.java b/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/sql/GoogleBigQuerySQLEndpointConfigurer.java
index 8ee5419..89256c7 100644
--- a/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/sql/GoogleBigQuerySQLEndpointConfigurer.java
+++ b/components/camel-google-bigquery/src/generated/java/org/apache/camel/component/google/bigquery/sql/GoogleBigQuerySQLEndpointConfigurer.java
@@ -12,31 +12,17 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleBigQuerySQLEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "connectionFactory": ((GoogleBigQuerySQLEndpoint) target).getConfiguration().setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
- case "lazyStartProducer": ((GoogleBigQuerySQLEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((GoogleBigQuerySQLEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleBigQuerySQLEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "connectionfactory": ((GoogleBigQuerySQLEndpoint) target).getConfiguration().setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
- case "lazystartproducer": ((GoogleBigQuerySQLEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((GoogleBigQuerySQLEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleBigQuerySQLEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleBigQuerySQLEndpoint target = (GoogleBigQuerySQLEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "connectionfactory":
+ case "connectionFactory": target.getConfiguration().setConnectionFactory(property(camelContext, org.apache.camel.component.google.bigquery.GoogleBigQueryConnectionFactory.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-bigquery/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-google-bigquery/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 2f720f4..5fbe018 100644
--- a/components/camel-google-bigquery/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-google-bigquery/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=google-bigquery-sql google-bigquery
+components=google-bigquery google-bigquery-sql
groupId=org.apache.camel
artifactId=camel-google-bigquery
version=3.1.0-SNAPSHOT
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java
index f3bf773..c9fc74c 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java
@@ -12,33 +12,19 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleCalendarComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "configuration": ((GoogleCalendarComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.calendar.GoogleCalendarConfiguration.class, value)); return true;
- case "clientFactory": ((GoogleCalendarComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.calendar.GoogleCalendarClientFactory.class, value)); return true;
- case "basicPropertyBinding": ((GoogleCalendarComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((GoogleCalendarComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleCalendarComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "configuration": ((GoogleCalendarComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.calendar.GoogleCalendarConfiguration.class, value)); return true;
- case "clientfactory": ((GoogleCalendarComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.calendar.GoogleCalendarClientFactory.class, value)); return true;
- case "basicpropertybinding": ((GoogleCalendarComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((GoogleCalendarComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleCalendarComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleCalendarComponent target = (GoogleCalendarComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "configuration": target.setConfiguration(property(camelContext, org.apache.camel.component.google.calendar.GoogleCalendarConfiguration.class, value)); return true;
+ case "clientfactory":
+ case "clientFactory": target.setClientFactory(property(camelContext, org.apache.camel.component.google.calendar.GoogleCalendarClientFactory.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java
index dbaf4ef..aeeaad8 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java
@@ -12,87 +12,68 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleCalendarEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "accessToken": ((GoogleCalendarEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationName": ((GoogleCalendarEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "clientId": ((GoogleCalendarEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientSecret": ((GoogleCalendarEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "emailAddress": ((GoogleCalendarEndpoint) target).getConfiguration().setEmailAddress(property(camelContext, java.lang.String.class, value)); return true;
- case "inBody": ((GoogleCalendarEndpoint) target).setInBody(property(camelContext, java.lang.String.class, value)); return true;
- case "p12FileName": ((GoogleCalendarEndpoint) target).getConfiguration().setP12FileName(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshToken": ((GoogleCalendarEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "scopes": ((GoogleCalendarEndpoint) target).getConfiguration().setScopes(property(camelContext, java.lang.String.class, value)); return true;
- case "user": ((GoogleCalendarEndpoint) target).getConfiguration().setUser(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleCalendarEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendEmptyMessageWhenIdle": ((GoogleCalendarEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((GoogleCalendarEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((GoogleCalendarEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollStrategy": ((GoogleCalendarEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "lazyStartProducer": ((GoogleCalendarEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((GoogleCalendarEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleCalendarEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backoffErrorThreshold": ((GoogleCalendarEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffIdleThreshold": ((GoogleCalendarEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffMultiplier": ((GoogleCalendarEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleCalendarEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleCalendarEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialDelay": ((GoogleCalendarEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatCount": ((GoogleCalendarEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runLoggingLevel": ((GoogleCalendarEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledExecutorService": ((GoogleCalendarEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleCalendarEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerProperties": ((GoogleCalendarEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startScheduler": ((GoogleCalendarEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeUnit": ((GoogleCalendarEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "useFixedDelay": ((GoogleCalendarEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "accesstoken": ((GoogleCalendarEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationname": ((GoogleCalendarEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "clientid": ((GoogleCalendarEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientsecret": ((GoogleCalendarEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "emailaddress": ((GoogleCalendarEndpoint) target).getConfiguration().setEmailAddress(property(camelContext, java.lang.String.class, value)); return true;
- case "inbody": ((GoogleCalendarEndpoint) target).setInBody(property(camelContext, java.lang.String.class, value)); return true;
- case "p12filename": ((GoogleCalendarEndpoint) target).getConfiguration().setP12FileName(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshtoken": ((GoogleCalendarEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "scopes": ((GoogleCalendarEndpoint) target).getConfiguration().setScopes(property(camelContext, java.lang.String.class, value)); return true;
- case "user": ((GoogleCalendarEndpoint) target).getConfiguration().setUser(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleCalendarEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendemptymessagewhenidle": ((GoogleCalendarEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((GoogleCalendarEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((GoogleCalendarEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollstrategy": ((GoogleCalendarEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "lazystartproducer": ((GoogleCalendarEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((GoogleCalendarEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleCalendarEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backofferrorthreshold": ((GoogleCalendarEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffidlethreshold": ((GoogleCalendarEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffmultiplier": ((GoogleCalendarEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleCalendarEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleCalendarEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialdelay": ((GoogleCalendarEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatcount": ((GoogleCalendarEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runlogginglevel": ((GoogleCalendarEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledexecutorservice": ((GoogleCalendarEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleCalendarEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerproperties": ((GoogleCalendarEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startscheduler": ((GoogleCalendarEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeunit": ((GoogleCalendarEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "usefixeddelay": ((GoogleCalendarEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleCalendarEndpoint target = (GoogleCalendarEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstoken":
+ case "accessToken": target.getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "applicationname":
+ case "applicationName": target.getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "clientId": target.getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "clientSecret": target.getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "emailaddress":
+ case "emailAddress": target.getConfiguration().setEmailAddress(property(camelContext, java.lang.String.class, value)); return true;
+ case "inbody":
+ case "inBody": target.setInBody(property(camelContext, java.lang.String.class, value)); return true;
+ case "p12filename":
+ case "p12FileName": target.getConfiguration().setP12FileName(property(camelContext, java.lang.String.class, value)); return true;
+ case "refreshtoken":
+ case "refreshToken": target.getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "scopes": target.getConfiguration().setScopes(property(camelContext, java.lang.String.class, value)); return true;
+ case "user": target.getConfiguration().setUser(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "sendemptymessagewhenidle":
+ case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "pollstrategy":
+ case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "backofferrorthreshold":
+ case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffidlethreshold":
+ case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffmultiplier":
+ case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true;
+ case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
+ case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true;
+ case "initialdelay":
+ case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true;
+ case "repeatcount":
+ case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true;
+ case "runlogginglevel":
+ case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
+ case "scheduledexecutorservice":
+ case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
+ case "scheduler": target.setScheduler(property(camelContext, java.lang.String.class, value)); return true;
+ case "schedulerproperties":
+ case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
+ case "startscheduler":
+ case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true;
+ case "timeunit":
+ case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
+ case "usefixeddelay":
+ case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamComponentConfigurer.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamComponentConfigurer.java
index 8bdcbaf..4ab5e7a 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamComponentConfigurer.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamComponentConfigurer.java
@@ -12,31 +12,17 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleCalendarStreamComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "configuration": ((GoogleCalendarStreamComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration.class, value)); return true;
- case "clientFactory": ((GoogleCalendarStreamComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.calendar.GoogleCalendarClientFactory.class, value)); return true;
- case "basicPropertyBinding": ((GoogleCalendarStreamComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleCalendarStreamComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "configuration": ((GoogleCalendarStreamComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration.class, value)); return true;
- case "clientfactory": ((GoogleCalendarStreamComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.calendar.GoogleCalendarClientFactory.class, value)); return true;
- case "basicpropertybinding": ((GoogleCalendarStreamComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleCalendarStreamComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleCalendarStreamComponent target = (GoogleCalendarStreamComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "configuration": target.setConfiguration(property(camelContext, org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration.class, value)); return true;
+ case "clientfactory":
+ case "clientFactory": target.setClientFactory(property(camelContext, org.apache.camel.component.google.calendar.GoogleCalendarClientFactory.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointConfigurer.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointConfigurer.java
index 73c600b..e6a6dd5 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointConfigurer.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointConfigurer.java
@@ -12,87 +12,68 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleCalendarStreamEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "accessToken": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationName": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleCalendarStreamEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "calendarId": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setCalendarId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientId": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientSecret": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "considerLastUpdate": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setConsiderLastUpdate(property(camelContext, boolean.class, value)); return true;
- case "consumeFromNow": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setConsumeFromNow(property(camelContext, boolean.class, value)); return true;
- case "maxResults": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setMaxResults(property(camelContext, int.class, value)); return true;
- case "query": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setQuery(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshToken": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "scopes": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setScopes(property(camelContext, java.util.List.class, value)); return true;
- case "sendEmptyMessageWhenIdle": ((GoogleCalendarStreamEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((GoogleCalendarStreamEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((GoogleCalendarStreamEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollStrategy": ((GoogleCalendarStreamEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "basicPropertyBinding": ((GoogleCalendarStreamEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleCalendarStreamEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backoffErrorThreshold": ((GoogleCalendarStreamEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffIdleThreshold": ((GoogleCalendarStreamEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffMultiplier": ((GoogleCalendarStreamEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleCalendarStreamEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleCalendarStreamEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialDelay": ((GoogleCalendarStreamEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatCount": ((GoogleCalendarStreamEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runLoggingLevel": ((GoogleCalendarStreamEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledExecutorService": ((GoogleCalendarStreamEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleCalendarStreamEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerProperties": ((GoogleCalendarStreamEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startScheduler": ((GoogleCalendarStreamEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeUnit": ((GoogleCalendarStreamEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "useFixedDelay": ((GoogleCalendarStreamEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "accesstoken": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationname": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleCalendarStreamEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "calendarid": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setCalendarId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientid": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientsecret": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "considerlastupdate": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setConsiderLastUpdate(property(camelContext, boolean.class, value)); return true;
- case "consumefromnow": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setConsumeFromNow(property(camelContext, boolean.class, value)); return true;
- case "maxresults": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setMaxResults(property(camelContext, int.class, value)); return true;
- case "query": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setQuery(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshtoken": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "scopes": ((GoogleCalendarStreamEndpoint) target).getConfiguration().setScopes(property(camelContext, java.util.List.class, value)); return true;
- case "sendemptymessagewhenidle": ((GoogleCalendarStreamEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((GoogleCalendarStreamEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((GoogleCalendarStreamEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollstrategy": ((GoogleCalendarStreamEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "basicpropertybinding": ((GoogleCalendarStreamEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleCalendarStreamEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backofferrorthreshold": ((GoogleCalendarStreamEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffidlethreshold": ((GoogleCalendarStreamEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffmultiplier": ((GoogleCalendarStreamEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleCalendarStreamEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleCalendarStreamEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialdelay": ((GoogleCalendarStreamEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatcount": ((GoogleCalendarStreamEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runlogginglevel": ((GoogleCalendarStreamEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledexecutorservice": ((GoogleCalendarStreamEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleCalendarStreamEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerproperties": ((GoogleCalendarStreamEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startscheduler": ((GoogleCalendarStreamEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeunit": ((GoogleCalendarStreamEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "usefixeddelay": ((GoogleCalendarStreamEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleCalendarStreamEndpoint target = (GoogleCalendarStreamEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstoken":
+ case "accessToken": target.getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "applicationname":
+ case "applicationName": target.getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "calendarid":
+ case "calendarId": target.getConfiguration().setCalendarId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "clientId": target.getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "clientSecret": target.getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "considerlastupdate":
+ case "considerLastUpdate": target.getConfiguration().setConsiderLastUpdate(property(camelContext, boolean.class, value)); return true;
+ case "consumefromnow":
+ case "consumeFromNow": target.getConfiguration().setConsumeFromNow(property(camelContext, boolean.class, value)); return true;
+ case "maxresults":
+ case "maxResults": target.getConfiguration().setMaxResults(property(camelContext, int.class, value)); return true;
+ case "query": target.getConfiguration().setQuery(property(camelContext, java.lang.String.class, value)); return true;
+ case "refreshtoken":
+ case "refreshToken": target.getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "scopes": target.getConfiguration().setScopes(property(camelContext, java.util.List.class, value)); return true;
+ case "sendemptymessagewhenidle":
+ case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "pollstrategy":
+ case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "backofferrorthreshold":
+ case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffidlethreshold":
+ case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffmultiplier":
+ case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true;
+ case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
+ case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true;
+ case "initialdelay":
+ case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true;
+ case "repeatcount":
+ case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true;
+ case "runlogginglevel":
+ case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
+ case "scheduledexecutorservice":
+ case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
+ case "scheduler": target.setScheduler(property(camelContext, java.lang.String.class, value)); return true;
+ case "schedulerproperties":
+ case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
+ case "startscheduler":
+ case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true;
+ case "timeunit":
+ case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
+ case "usefixeddelay":
+ case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailComponentConfigurer.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailComponentConfigurer.java
index 8dae732..82a7886 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailComponentConfigurer.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailComponentConfigurer.java
@@ -12,33 +12,19 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleMailComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "configuration": ((GoogleMailComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.mail.GoogleMailConfiguration.class, value)); return true;
- case "clientFactory": ((GoogleMailComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.mail.GoogleMailClientFactory.class, value)); return true;
- case "basicPropertyBinding": ((GoogleMailComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((GoogleMailComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleMailComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "configuration": ((GoogleMailComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.mail.GoogleMailConfiguration.class, value)); return true;
- case "clientfactory": ((GoogleMailComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.mail.GoogleMailClientFactory.class, value)); return true;
- case "basicpropertybinding": ((GoogleMailComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((GoogleMailComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleMailComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleMailComponent target = (GoogleMailComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "configuration": target.setConfiguration(property(camelContext, org.apache.camel.component.google.mail.GoogleMailConfiguration.class, value)); return true;
+ case "clientfactory":
+ case "clientFactory": target.setClientFactory(property(camelContext, org.apache.camel.component.google.mail.GoogleMailClientFactory.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailEndpointConfigurer.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailEndpointConfigurer.java
index bb6f93d..58a4143 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailEndpointConfigurer.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailEndpointConfigurer.java
@@ -12,79 +12,62 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleMailEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "accessToken": ((GoogleMailEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationName": ((GoogleMailEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "clientId": ((GoogleMailEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientSecret": ((GoogleMailEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "inBody": ((GoogleMailEndpoint) target).setInBody(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshToken": ((GoogleMailEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleMailEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendEmptyMessageWhenIdle": ((GoogleMailEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((GoogleMailEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((GoogleMailEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollStrategy": ((GoogleMailEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "lazyStartProducer": ((GoogleMailEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((GoogleMailEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleMailEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backoffErrorThreshold": ((GoogleMailEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffIdleThreshold": ((GoogleMailEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffMultiplier": ((GoogleMailEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleMailEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleMailEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialDelay": ((GoogleMailEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatCount": ((GoogleMailEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runLoggingLevel": ((GoogleMailEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledExecutorService": ((GoogleMailEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleMailEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerProperties": ((GoogleMailEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startScheduler": ((GoogleMailEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeUnit": ((GoogleMailEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "useFixedDelay": ((GoogleMailEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "accesstoken": ((GoogleMailEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationname": ((GoogleMailEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "clientid": ((GoogleMailEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientsecret": ((GoogleMailEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "inbody": ((GoogleMailEndpoint) target).setInBody(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshtoken": ((GoogleMailEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleMailEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendemptymessagewhenidle": ((GoogleMailEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((GoogleMailEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((GoogleMailEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollstrategy": ((GoogleMailEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "lazystartproducer": ((GoogleMailEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((GoogleMailEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleMailEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backofferrorthreshold": ((GoogleMailEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffidlethreshold": ((GoogleMailEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffmultiplier": ((GoogleMailEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleMailEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleMailEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialdelay": ((GoogleMailEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatcount": ((GoogleMailEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runlogginglevel": ((GoogleMailEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledexecutorservice": ((GoogleMailEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleMailEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerproperties": ((GoogleMailEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startscheduler": ((GoogleMailEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeunit": ((GoogleMailEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "usefixeddelay": ((GoogleMailEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleMailEndpoint target = (GoogleMailEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstoken":
+ case "accessToken": target.getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "applicationname":
+ case "applicationName": target.getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "clientId": target.getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "clientSecret": target.getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "inbody":
+ case "inBody": target.setInBody(property(camelContext, java.lang.String.class, value)); return true;
+ case "refreshtoken":
+ case "refreshToken": target.getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "sendemptymessagewhenidle":
+ case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "pollstrategy":
+ case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "backofferrorthreshold":
+ case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffidlethreshold":
+ case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffmultiplier":
+ case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true;
+ case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
+ case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true;
+ case "initialdelay":
+ case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true;
+ case "repeatcount":
+ case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true;
+ case "runlogginglevel":
+ case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
+ case "scheduledexecutorservice":
+ case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
+ case "scheduler": target.setScheduler(property(camelContext, java.lang.String.class, value)); return true;
+ case "schedulerproperties":
+ case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
+ case "startscheduler":
+ case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true;
+ case "timeunit":
+ case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
+ case "usefixeddelay":
+ case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/stream/GoogleMailStreamComponentConfigurer.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/stream/GoogleMailStreamComponentConfigurer.java
index ab7115f..58f68bf 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/stream/GoogleMailStreamComponentConfigurer.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/stream/GoogleMailStreamComponentConfigurer.java
@@ -12,31 +12,17 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleMailStreamComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "configuration": ((GoogleMailStreamComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration.class, value)); return true;
- case "clientFactory": ((GoogleMailStreamComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.mail.GoogleMailClientFactory.class, value)); return true;
- case "basicPropertyBinding": ((GoogleMailStreamComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleMailStreamComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "configuration": ((GoogleMailStreamComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration.class, value)); return true;
- case "clientfactory": ((GoogleMailStreamComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.mail.GoogleMailClientFactory.class, value)); return true;
- case "basicpropertybinding": ((GoogleMailStreamComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleMailStreamComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleMailStreamComponent target = (GoogleMailStreamComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "configuration": target.setConfiguration(property(camelContext, org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration.class, value)); return true;
+ case "clientfactory":
+ case "clientFactory": target.setClientFactory(property(camelContext, org.apache.camel.component.google.mail.GoogleMailClientFactory.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/stream/GoogleMailStreamEndpointConfigurer.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/stream/GoogleMailStreamEndpointConfigurer.java
index 6b1aa7e..b4126bb 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/stream/GoogleMailStreamEndpointConfigurer.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/stream/GoogleMailStreamEndpointConfigurer.java
@@ -12,83 +12,64 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleMailStreamEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "accessToken": ((GoogleMailStreamEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationName": ((GoogleMailStreamEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleMailStreamEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "clientId": ((GoogleMailStreamEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientSecret": ((GoogleMailStreamEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "labels": ((GoogleMailStreamEndpoint) target).getConfiguration().setLabels(property(camelContext, java.lang.String.class, value)); return true;
- case "markAsRead": ((GoogleMailStreamEndpoint) target).getConfiguration().setMarkAsRead(property(camelContext, boolean.class, value)); return true;
- case "maxResults": ((GoogleMailStreamEndpoint) target).getConfiguration().setMaxResults(property(camelContext, long.class, value)); return true;
- case "query": ((GoogleMailStreamEndpoint) target).getConfiguration().setQuery(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshToken": ((GoogleMailStreamEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "sendEmptyMessageWhenIdle": ((GoogleMailStreamEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((GoogleMailStreamEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((GoogleMailStreamEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollStrategy": ((GoogleMailStreamEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "basicPropertyBinding": ((GoogleMailStreamEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleMailStreamEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backoffErrorThreshold": ((GoogleMailStreamEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffIdleThreshold": ((GoogleMailStreamEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffMultiplier": ((GoogleMailStreamEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleMailStreamEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleMailStreamEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialDelay": ((GoogleMailStreamEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatCount": ((GoogleMailStreamEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runLoggingLevel": ((GoogleMailStreamEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledExecutorService": ((GoogleMailStreamEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleMailStreamEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerProperties": ((GoogleMailStreamEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startScheduler": ((GoogleMailStreamEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeUnit": ((GoogleMailStreamEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "useFixedDelay": ((GoogleMailStreamEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "accesstoken": ((GoogleMailStreamEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationname": ((GoogleMailStreamEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleMailStreamEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "clientid": ((GoogleMailStreamEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientsecret": ((GoogleMailStreamEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "labels": ((GoogleMailStreamEndpoint) target).getConfiguration().setLabels(property(camelContext, java.lang.String.class, value)); return true;
- case "markasread": ((GoogleMailStreamEndpoint) target).getConfiguration().setMarkAsRead(property(camelContext, boolean.class, value)); return true;
- case "maxresults": ((GoogleMailStreamEndpoint) target).getConfiguration().setMaxResults(property(camelContext, long.class, value)); return true;
- case "query": ((GoogleMailStreamEndpoint) target).getConfiguration().setQuery(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshtoken": ((GoogleMailStreamEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "sendemptymessagewhenidle": ((GoogleMailStreamEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((GoogleMailStreamEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((GoogleMailStreamEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollstrategy": ((GoogleMailStreamEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "basicpropertybinding": ((GoogleMailStreamEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleMailStreamEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backofferrorthreshold": ((GoogleMailStreamEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffidlethreshold": ((GoogleMailStreamEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffmultiplier": ((GoogleMailStreamEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleMailStreamEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleMailStreamEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialdelay": ((GoogleMailStreamEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatcount": ((GoogleMailStreamEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runlogginglevel": ((GoogleMailStreamEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledexecutorservice": ((GoogleMailStreamEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleMailStreamEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerproperties": ((GoogleMailStreamEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startscheduler": ((GoogleMailStreamEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeunit": ((GoogleMailStreamEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "usefixeddelay": ((GoogleMailStreamEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleMailStreamEndpoint target = (GoogleMailStreamEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstoken":
+ case "accessToken": target.getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "applicationname":
+ case "applicationName": target.getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "clientid":
+ case "clientId": target.getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "clientSecret": target.getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "labels": target.getConfiguration().setLabels(property(camelContext, java.lang.String.class, value)); return true;
+ case "markasread":
+ case "markAsRead": target.getConfiguration().setMarkAsRead(property(camelContext, boolean.class, value)); return true;
+ case "maxresults":
+ case "maxResults": target.getConfiguration().setMaxResults(property(camelContext, long.class, value)); return true;
+ case "query": target.getConfiguration().setQuery(property(camelContext, java.lang.String.class, value)); return true;
+ case "refreshtoken":
+ case "refreshToken": target.getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "sendemptymessagewhenidle":
+ case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "pollstrategy":
+ case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "backofferrorthreshold":
+ case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffidlethreshold":
+ case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffmultiplier":
+ case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true;
+ case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
+ case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true;
+ case "initialdelay":
+ case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true;
+ case "repeatcount":
+ case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true;
+ case "runlogginglevel":
+ case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
+ case "scheduledexecutorservice":
+ case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
+ case "scheduler": target.setScheduler(property(camelContext, java.lang.String.class, value)); return true;
+ case "schedulerproperties":
+ case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
+ case "startscheduler":
+ case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true;
+ case "timeunit":
+ case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
+ case "usefixeddelay":
+ case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-pubsub/src/generated/java/org/apache/camel/component/google/pubsub/GooglePubsubComponentConfigurer.java b/components/camel-google-pubsub/src/generated/java/org/apache/camel/component/google/pubsub/GooglePubsubComponentConfigurer.java
index 35c2c0f..b253463 100644
--- a/components/camel-google-pubsub/src/generated/java/org/apache/camel/component/google/pubsub/GooglePubsubComponentConfigurer.java
+++ b/components/camel-google-pubsub/src/generated/java/org/apache/camel/component/google/pubsub/GooglePubsubComponentConfigurer.java
@@ -12,31 +12,18 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GooglePubsubComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "connectionFactory": ((GooglePubsubComponent) target).setConnectionFactory(property(camelContext, org.apache.camel.component.google.pubsub.GooglePubsubConnectionFactory.class, value)); return true;
- case "basicPropertyBinding": ((GooglePubsubComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((GooglePubsubComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((GooglePubsubComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "connectionfactory": ((GooglePubsubComponent) target).setConnectionFactory(property(camelContext, org.apache.camel.component.google.pubsub.GooglePubsubConnectionFactory.class, value)); return true;
- case "basicpropertybinding": ((GooglePubsubComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((GooglePubsubComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((GooglePubsubComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GooglePubsubComponent target = (GooglePubsubComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "connectionfactory":
+ case "connectionFactory": target.setConnectionFactory(property(camelContext, org.apache.camel.component.google.pubsub.GooglePubsubConnectionFactory.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-pubsub/src/generated/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpointConfigurer.java b/components/camel-google-pubsub/src/generated/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpointConfigurer.java
index 03213f4..94a0c74 100644
--- a/components/camel-google-pubsub/src/generated/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpointConfigurer.java
+++ b/components/camel-google-pubsub/src/generated/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpointConfigurer.java
@@ -12,45 +12,31 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GooglePubsubEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "ackMode": ((GooglePubsubEndpoint) target).setAckMode(property(camelContext, org.apache.camel.component.google.pubsub.GooglePubsubConstants.AckMode.class, value)); return true;
- case "concurrentConsumers": ((GooglePubsubEndpoint) target).setConcurrentConsumers(property(camelContext, java.lang.Integer.class, value)); return true;
- case "connectionFactory": ((GooglePubsubEndpoint) target).setConnectionFactory(property(camelContext, org.apache.camel.component.google.pubsub.GooglePubsubConnectionFactory.class, value)); return true;
- case "loggerId": ((GooglePubsubEndpoint) target).setLoggerId(property(camelContext, java.lang.String.class, value)); return true;
- case "maxMessagesPerPoll": ((GooglePubsubEndpoint) target).setMaxMessagesPerPoll(property(camelContext, java.lang.Integer.class, value)); return true;
- case "bridgeErrorHandler": ((GooglePubsubEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((GooglePubsubEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((GooglePubsubEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((GooglePubsubEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((GooglePubsubEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GooglePubsubEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "ackmode": ((GooglePubsubEndpoint) target).setAckMode(property(camelContext, org.apache.camel.component.google.pubsub.GooglePubsubConstants.AckMode.class, value)); return true;
- case "concurrentconsumers": ((GooglePubsubEndpoint) target).setConcurrentConsumers(property(camelContext, java.lang.Integer.class, value)); return true;
- case "connectionfactory": ((GooglePubsubEndpoint) target).setConnectionFactory(property(camelContext, org.apache.camel.component.google.pubsub.GooglePubsubConnectionFactory.class, value)); return true;
- case "loggerid": ((GooglePubsubEndpoint) target).setLoggerId(property(camelContext, java.lang.String.class, value)); return true;
- case "maxmessagesperpoll": ((GooglePubsubEndpoint) target).setMaxMessagesPerPoll(property(camelContext, java.lang.Integer.class, value)); return true;
- case "bridgeerrorhandler": ((GooglePubsubEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((GooglePubsubEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((GooglePubsubEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((GooglePubsubEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((GooglePubsubEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GooglePubsubEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GooglePubsubEndpoint target = (GooglePubsubEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "ackmode":
+ case "ackMode": target.setAckMode(property(camelContext, org.apache.camel.component.google.pubsub.GooglePubsubConstants.AckMode.class, value)); return true;
+ case "concurrentconsumers":
+ case "concurrentConsumers": target.setConcurrentConsumers(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "connectionfactory":
+ case "connectionFactory": target.setConnectionFactory(property(camelContext, org.apache.camel.component.google.pubsub.GooglePubsubConnectionFactory.class, value)); return true;
+ case "loggerid":
+ case "loggerId": target.setLoggerId(property(camelContext, java.lang.String.class, value)); return true;
+ case "maxmessagesperpoll":
+ case "maxMessagesPerPoll": target.setMaxMessagesPerPoll(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsComponentConfigurer.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsComponentConfigurer.java
index f421403..f0cc3ea 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsComponentConfigurer.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsComponentConfigurer.java
@@ -12,33 +12,19 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleSheetsComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "configuration": ((GoogleSheetsComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.sheets.GoogleSheetsConfiguration.class, value)); return true;
- case "clientFactory": ((GoogleSheetsComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.sheets.GoogleSheetsClientFactory.class, value)); return true;
- case "basicPropertyBinding": ((GoogleSheetsComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((GoogleSheetsComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleSheetsComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "configuration": ((GoogleSheetsComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.sheets.GoogleSheetsConfiguration.class, value)); return true;
- case "clientfactory": ((GoogleSheetsComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.sheets.GoogleSheetsClientFactory.class, value)); return true;
- case "basicpropertybinding": ((GoogleSheetsComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((GoogleSheetsComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleSheetsComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleSheetsComponent target = (GoogleSheetsComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "configuration": target.setConfiguration(property(camelContext, org.apache.camel.component.google.sheets.GoogleSheetsConfiguration.class, value)); return true;
+ case "clientfactory":
+ case "clientFactory": target.setClientFactory(property(camelContext, org.apache.camel.component.google.sheets.GoogleSheetsClientFactory.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsEndpointConfigurer.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsEndpointConfigurer.java
index e806878..497b90a 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsEndpointConfigurer.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsEndpointConfigurer.java
@@ -12,79 +12,62 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleSheetsEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "accessToken": ((GoogleSheetsEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationName": ((GoogleSheetsEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "clientId": ((GoogleSheetsEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientSecret": ((GoogleSheetsEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "inBody": ((GoogleSheetsEndpoint) target).setInBody(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshToken": ((GoogleSheetsEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleSheetsEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendEmptyMessageWhenIdle": ((GoogleSheetsEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((GoogleSheetsEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((GoogleSheetsEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollStrategy": ((GoogleSheetsEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "lazyStartProducer": ((GoogleSheetsEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((GoogleSheetsEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleSheetsEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backoffErrorThreshold": ((GoogleSheetsEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffIdleThreshold": ((GoogleSheetsEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffMultiplier": ((GoogleSheetsEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleSheetsEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleSheetsEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialDelay": ((GoogleSheetsEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatCount": ((GoogleSheetsEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runLoggingLevel": ((GoogleSheetsEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledExecutorService": ((GoogleSheetsEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleSheetsEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerProperties": ((GoogleSheetsEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startScheduler": ((GoogleSheetsEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeUnit": ((GoogleSheetsEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "useFixedDelay": ((GoogleSheetsEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "accesstoken": ((GoogleSheetsEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationname": ((GoogleSheetsEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "clientid": ((GoogleSheetsEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientsecret": ((GoogleSheetsEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "inbody": ((GoogleSheetsEndpoint) target).setInBody(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshtoken": ((GoogleSheetsEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleSheetsEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendemptymessagewhenidle": ((GoogleSheetsEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((GoogleSheetsEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((GoogleSheetsEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollstrategy": ((GoogleSheetsEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "lazystartproducer": ((GoogleSheetsEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((GoogleSheetsEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleSheetsEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backofferrorthreshold": ((GoogleSheetsEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffidlethreshold": ((GoogleSheetsEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffmultiplier": ((GoogleSheetsEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleSheetsEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleSheetsEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialdelay": ((GoogleSheetsEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatcount": ((GoogleSheetsEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runlogginglevel": ((GoogleSheetsEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledexecutorservice": ((GoogleSheetsEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleSheetsEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerproperties": ((GoogleSheetsEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startscheduler": ((GoogleSheetsEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeunit": ((GoogleSheetsEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "usefixeddelay": ((GoogleSheetsEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleSheetsEndpoint target = (GoogleSheetsEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstoken":
+ case "accessToken": target.getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "applicationname":
+ case "applicationName": target.getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "clientId": target.getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "clientSecret": target.getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "inbody":
+ case "inBody": target.setInBody(property(camelContext, java.lang.String.class, value)); return true;
+ case "refreshtoken":
+ case "refreshToken": target.getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "sendemptymessagewhenidle":
+ case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "pollstrategy":
+ case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "backofferrorthreshold":
+ case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffidlethreshold":
+ case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffmultiplier":
+ case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true;
+ case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
+ case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true;
+ case "initialdelay":
+ case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true;
+ case "repeatcount":
+ case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true;
+ case "runlogginglevel":
+ case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
+ case "scheduledexecutorservice":
+ case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
+ case "scheduler": target.setScheduler(property(camelContext, java.lang.String.class, value)); return true;
+ case "schedulerproperties":
+ case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
+ case "startscheduler":
+ case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true;
+ case "timeunit":
+ case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
+ case "usefixeddelay":
+ case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamComponentConfigurer.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamComponentConfigurer.java
index b8ec08a..8eeb9a3 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamComponentConfigurer.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamComponentConfigurer.java
@@ -12,31 +12,17 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleSheetsStreamComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "configuration": ((GoogleSheetsStreamComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration.class, value)); return true;
- case "clientFactory": ((GoogleSheetsStreamComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.sheets.GoogleSheetsClientFactory.class, value)); return true;
- case "basicPropertyBinding": ((GoogleSheetsStreamComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleSheetsStreamComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "configuration": ((GoogleSheetsStreamComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration.class, value)); return true;
- case "clientfactory": ((GoogleSheetsStreamComponent) target).setClientFactory(property(camelContext, org.apache.camel.component.google.sheets.GoogleSheetsClientFactory.class, value)); return true;
- case "basicpropertybinding": ((GoogleSheetsStreamComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleSheetsStreamComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleSheetsStreamComponent target = (GoogleSheetsStreamComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "configuration": target.setConfiguration(property(camelContext, org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration.class, value)); return true;
+ case "clientfactory":
+ case "clientFactory": target.setClientFactory(property(camelContext, org.apache.camel.component.google.sheets.GoogleSheetsClientFactory.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamEndpointConfigurer.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamEndpointConfigurer.java
index ab99f12..3aa9625 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamEndpointConfigurer.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamEndpointConfigurer.java
@@ -12,91 +12,72 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GoogleSheetsStreamEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "accessToken": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationName": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((GoogleSheetsStreamEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "clientId": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientSecret": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "includeGridData": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setIncludeGridData(property(camelContext, boolean.class, value)); return true;
- case "majorDimension": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setMajorDimension(property(camelContext, java.lang.String.class, value)); return true;
- case "maxResults": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setMaxResults(property(camelContext, int.class, value)); return true;
- case "range": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setRange(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshToken": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "scopes": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setScopes(property(camelContext, java.util.List.class, value)); return true;
- case "sendEmptyMessageWhenIdle": ((GoogleSheetsStreamEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "splitResults": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setSplitResults(property(camelContext, boolean.class, value)); return true;
- case "spreadsheetId": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setSpreadsheetId(property(camelContext, java.lang.String.class, value)); return true;
- case "valueRenderOption": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setValueRenderOption(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionHandler": ((GoogleSheetsStreamEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((GoogleSheetsStreamEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollStrategy": ((GoogleSheetsStreamEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "basicPropertyBinding": ((GoogleSheetsStreamEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleSheetsStreamEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backoffErrorThreshold": ((GoogleSheetsStreamEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffIdleThreshold": ((GoogleSheetsStreamEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffMultiplier": ((GoogleSheetsStreamEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleSheetsStreamEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleSheetsStreamEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialDelay": ((GoogleSheetsStreamEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatCount": ((GoogleSheetsStreamEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runLoggingLevel": ((GoogleSheetsStreamEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledExecutorService": ((GoogleSheetsStreamEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleSheetsStreamEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerProperties": ((GoogleSheetsStreamEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startScheduler": ((GoogleSheetsStreamEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeUnit": ((GoogleSheetsStreamEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "useFixedDelay": ((GoogleSheetsStreamEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "accesstoken": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationname": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((GoogleSheetsStreamEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "clientid": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "clientsecret": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "includegriddata": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setIncludeGridData(property(camelContext, boolean.class, value)); return true;
- case "majordimension": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setMajorDimension(property(camelContext, java.lang.String.class, value)); return true;
- case "maxresults": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setMaxResults(property(camelContext, int.class, value)); return true;
- case "range": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setRange(property(camelContext, java.lang.String.class, value)); return true;
- case "refreshtoken": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
- case "scopes": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setScopes(property(camelContext, java.util.List.class, value)); return true;
- case "sendemptymessagewhenidle": ((GoogleSheetsStreamEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "splitresults": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setSplitResults(property(camelContext, boolean.class, value)); return true;
- case "spreadsheetid": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setSpreadsheetId(property(camelContext, java.lang.String.class, value)); return true;
- case "valuerenderoption": ((GoogleSheetsStreamEndpoint) target).getConfiguration().setValueRenderOption(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionhandler": ((GoogleSheetsStreamEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((GoogleSheetsStreamEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollstrategy": ((GoogleSheetsStreamEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "basicpropertybinding": ((GoogleSheetsStreamEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GoogleSheetsStreamEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backofferrorthreshold": ((GoogleSheetsStreamEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffidlethreshold": ((GoogleSheetsStreamEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffmultiplier": ((GoogleSheetsStreamEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((GoogleSheetsStreamEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((GoogleSheetsStreamEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialdelay": ((GoogleSheetsStreamEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatcount": ((GoogleSheetsStreamEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runlogginglevel": ((GoogleSheetsStreamEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledexecutorservice": ((GoogleSheetsStreamEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((GoogleSheetsStreamEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerproperties": ((GoogleSheetsStreamEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startscheduler": ((GoogleSheetsStreamEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeunit": ((GoogleSheetsStreamEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "usefixeddelay": ((GoogleSheetsStreamEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GoogleSheetsStreamEndpoint target = (GoogleSheetsStreamEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstoken":
+ case "accessToken": target.getConfiguration().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "applicationname":
+ case "applicationName": target.getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "clientid":
+ case "clientId": target.getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "clientSecret": target.getConfiguration().setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "includegriddata":
+ case "includeGridData": target.getConfiguration().setIncludeGridData(property(camelContext, boolean.class, value)); return true;
+ case "majordimension":
+ case "majorDimension": target.getConfiguration().setMajorDimension(property(camelContext, java.lang.String.class, value)); return true;
+ case "maxresults":
+ case "maxResults": target.getConfiguration().setMaxResults(property(camelContext, int.class, value)); return true;
+ case "range": target.getConfiguration().setRange(property(camelContext, java.lang.String.class, value)); return true;
+ case "refreshtoken":
+ case "refreshToken": target.getConfiguration().setRefreshToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "scopes": target.getConfiguration().setScopes(property(camelContext, java.util.List.class, value)); return true;
+ case "sendemptymessagewhenidle":
+ case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
+ case "splitresults":
+ case "splitResults": target.getConfiguration().setSplitResults(property(camelContext, boolean.class, value)); return true;
+ case "spreadsheetid":
+ case "spreadsheetId": target.getConfiguration().setSpreadsheetId(property(camelContext, java.lang.String.class, value)); return true;
+ case "valuerenderoption":
+ case "valueRenderOption": target.getConfiguration().setValueRenderOption(property(camelContext, java.lang.String.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "pollstrategy":
+ case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "backofferrorthreshold":
+ case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffidlethreshold":
+ case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffmultiplier":
+ case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true;
+ case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
+ case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true;
+ case "initialdelay":
+ case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true;
+ case "repeatcount":
+ case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true;
+ case "runlogginglevel":
+ case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
+ case "scheduledexecutorservice":
+ case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
+ case "scheduler": target.setScheduler(property(camelContext, java.lang.String.class, value)); return true;
+ case "schedulerproperties":
+ case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
+ case "startscheduler":
+ case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true;
+ case "timeunit":
+ case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
+ case "usefixeddelay":
+ case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-google-sheets/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-google-sheets/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index a9fbee3..3acdc1c 100644
--- a/components/camel-google-sheets/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-google-sheets/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=google-sheets-stream google-sheets
+components=google-sheets google-sheets-stream
groupId=org.apache.camel
artifactId=camel-google-sheets
version=3.1.0-SNAPSHOT
diff --git a/components/camel-guava-eventbus/src/generated/java/org/apache/camel/component/guava/eventbus/GuavaEventBusComponentConfigurer.java b/components/camel-guava-eventbus/src/generated/java/org/apache/camel/component/guava/eventbus/GuavaEventBusComponentConfigurer.java
index a36ab38..21e10f4 100644
--- a/components/camel-guava-eventbus/src/generated/java/org/apache/camel/component/guava/eventbus/GuavaEventBusComponentConfigurer.java
+++ b/components/camel-guava-eventbus/src/generated/java/org/apache/camel/component/guava/eventbus/GuavaEventBusComponentConfigurer.java
@@ -12,33 +12,20 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GuavaEventBusComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "eventBus": ((GuavaEventBusComponent) target).setEventBus(property(camelContext, com.google.common.eventbus.EventBus.class, value)); return true;
- case "listenerInterface": ((GuavaEventBusComponent) target).setListenerInterface(property(camelContext, java.lang.Class.class, value)); return true;
- case "basicPropertyBinding": ((GuavaEventBusComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((GuavaEventBusComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((GuavaEventBusComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "eventbus": ((GuavaEventBusComponent) target).setEventBus(property(camelContext, com.google.common.eventbus.EventBus.class, value)); return true;
- case "listenerinterface": ((GuavaEventBusComponent) target).setListenerInterface(property(camelContext, java.lang.Class.class, value)); return true;
- case "basicpropertybinding": ((GuavaEventBusComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((GuavaEventBusComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((GuavaEventBusComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GuavaEventBusComponent target = (GuavaEventBusComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "eventbus":
+ case "eventBus": target.setEventBus(property(camelContext, com.google.common.eventbus.EventBus.class, value)); return true;
+ case "listenerinterface":
+ case "listenerInterface": target.setListenerInterface(property(camelContext, java.lang.Class.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-guava-eventbus/src/generated/java/org/apache/camel/component/guava/eventbus/GuavaEventBusEndpointConfigurer.java b/components/camel-guava-eventbus/src/generated/java/org/apache/camel/component/guava/eventbus/GuavaEventBusEndpointConfigurer.java
index b223ee7..6ba17c3 100644
--- a/components/camel-guava-eventbus/src/generated/java/org/apache/camel/component/guava/eventbus/GuavaEventBusEndpointConfigurer.java
+++ b/components/camel-guava-eventbus/src/generated/java/org/apache/camel/component/guava/eventbus/GuavaEventBusEndpointConfigurer.java
@@ -12,39 +12,25 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GuavaEventBusEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "eventClass": ((GuavaEventBusEndpoint) target).setEventClass(property(camelContext, java.lang.Class.class, value)); return true;
- case "listenerInterface": ((GuavaEventBusEndpoint) target).setListenerInterface(property(camelContext, java.lang.Class.class, value)); return true;
- case "bridgeErrorHandler": ((GuavaEventBusEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((GuavaEventBusEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((GuavaEventBusEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((GuavaEventBusEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((GuavaEventBusEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GuavaEventBusEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "eventclass": ((GuavaEventBusEndpoint) target).setEventClass(property(camelContext, java.lang.Class.class, value)); return true;
- case "listenerinterface": ((GuavaEventBusEndpoint) target).setListenerInterface(property(camelContext, java.lang.Class.class, value)); return true;
- case "bridgeerrorhandler": ((GuavaEventBusEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((GuavaEventBusEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((GuavaEventBusEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((GuavaEventBusEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((GuavaEventBusEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GuavaEventBusEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GuavaEventBusEndpoint target = (GuavaEventBusEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "eventclass":
+ case "eventClass": target.setEventClass(property(camelContext, java.lang.Class.class, value)); return true;
+ case "listenerinterface":
+ case "listenerInterface": target.setListenerInterface(property(camelContext, java.lang.Class.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/atomicnumber/HazelcastAtomicnumberComponentConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/atomicnumber/HazelcastAtomicnumberComponentConfigurer.java
index 9b4de33..45aafeb 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/atomicnumber/HazelcastAtomicnumberComponentConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/atomicnumber/HazelcastAtomicnumberComponentConfigurer.java
@@ -12,31 +12,18 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastAtomicnumberComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "hazelcastInstance": ((HazelcastAtomicnumberComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastMode": ((HazelcastAtomicnumberComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastAtomicnumberComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((HazelcastAtomicnumberComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "hazelcastinstance": ((HazelcastAtomicnumberComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastmode": ((HazelcastAtomicnumberComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((HazelcastAtomicnumberComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((HazelcastAtomicnumberComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastAtomicnumberComponent target = (HazelcastAtomicnumberComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastmode":
+ case "hazelcastMode": target.setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/atomicnumber/HazelcastAtomicnumberEndpointConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/atomicnumber/HazelcastAtomicnumberEndpointConfigurer.java
index dee1ac7..0960c17 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/atomicnumber/HazelcastAtomicnumberEndpointConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/atomicnumber/HazelcastAtomicnumberEndpointConfigurer.java
@@ -12,35 +12,21 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastAtomicnumberEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultOperation": ((HazelcastAtomicnumberEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastInstance": ((HazelcastAtomicnumberEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastInstanceName": ((HazelcastAtomicnumberEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "lazyStartProducer": ((HazelcastAtomicnumberEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastAtomicnumberEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastAtomicnumberEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultoperation": ((HazelcastAtomicnumberEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastinstance": ((HazelcastAtomicnumberEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastinstancename": ((HazelcastAtomicnumberEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "lazystartproducer": ((HazelcastAtomicnumberEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((HazelcastAtomicnumberEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastAtomicnumberEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastAtomicnumberEndpoint target = (HazelcastAtomicnumberEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultoperation":
+ case "defaultOperation": target.setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastinstancename":
+ case "hazelcastInstanceName": target.setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/instance/HazelcastInstanceComponentConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/instance/HazelcastInstanceComponentConfigurer.java
index d170399..29a2445 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/instance/HazelcastInstanceComponentConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/instance/HazelcastInstanceComponentConfigurer.java
@@ -12,31 +12,18 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastInstanceComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "hazelcastInstance": ((HazelcastInstanceComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastMode": ((HazelcastInstanceComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastInstanceComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastInstanceComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "hazelcastinstance": ((HazelcastInstanceComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastmode": ((HazelcastInstanceComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((HazelcastInstanceComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastInstanceComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastInstanceComponent target = (HazelcastInstanceComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastmode":
+ case "hazelcastMode": target.setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/instance/HazelcastInstanceEndpointConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/instance/HazelcastInstanceEndpointConfigurer.java
index 18cc2ea..95903b6 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/instance/HazelcastInstanceEndpointConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/instance/HazelcastInstanceEndpointConfigurer.java
@@ -12,39 +12,25 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastInstanceEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "bridgeErrorHandler": ((HazelcastInstanceEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "defaultOperation": ((HazelcastInstanceEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastInstance": ((HazelcastInstanceEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastInstanceName": ((HazelcastInstanceEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionHandler": ((HazelcastInstanceEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((HazelcastInstanceEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastInstanceEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastInstanceEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "bridgeerrorhandler": ((HazelcastInstanceEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "defaultoperation": ((HazelcastInstanceEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastinstance": ((HazelcastInstanceEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastinstancename": ((HazelcastInstanceEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionhandler": ((HazelcastInstanceEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((HazelcastInstanceEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "basicpropertybinding": ((HazelcastInstanceEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastInstanceEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastInstanceEndpoint target = (HazelcastInstanceEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "defaultoperation":
+ case "defaultOperation": target.setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastinstancename":
+ case "hazelcastInstanceName": target.setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/list/HazelcastListComponentConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/list/HazelcastListComponentConfigurer.java
index 672ddf7..1033f3f 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/list/HazelcastListComponentConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/list/HazelcastListComponentConfigurer.java
@@ -12,33 +12,20 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastListComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "hazelcastInstance": ((HazelcastListComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastMode": ((HazelcastListComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastListComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((HazelcastListComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastListComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "hazelcastinstance": ((HazelcastListComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastmode": ((HazelcastListComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((HazelcastListComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((HazelcastListComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastListComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastListComponent target = (HazelcastListComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastmode":
+ case "hazelcastMode": target.setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/list/HazelcastListEndpointConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/list/HazelcastListEndpointConfigurer.java
index eabc47d..2aad45c 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/list/HazelcastListEndpointConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/list/HazelcastListEndpointConfigurer.java
@@ -12,41 +12,27 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastListEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultOperation": ((HazelcastListEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastInstance": ((HazelcastListEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastInstanceName": ((HazelcastListEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastListEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((HazelcastListEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((HazelcastListEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((HazelcastListEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastListEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastListEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultoperation": ((HazelcastListEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastinstance": ((HazelcastListEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastinstancename": ((HazelcastListEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastListEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((HazelcastListEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((HazelcastListEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((HazelcastListEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((HazelcastListEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastListEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastListEndpoint target = (HazelcastListEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultoperation":
+ case "defaultOperation": target.setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastinstancename":
+ case "hazelcastInstanceName": target.setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/map/HazelcastMapComponentConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/map/HazelcastMapComponentConfigurer.java
index 539cda1..9ca7e58 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/map/HazelcastMapComponentConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/map/HazelcastMapComponentConfigurer.java
@@ -12,33 +12,20 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastMapComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "hazelcastInstance": ((HazelcastMapComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastMode": ((HazelcastMapComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastMapComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((HazelcastMapComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastMapComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "hazelcastinstance": ((HazelcastMapComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastmode": ((HazelcastMapComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((HazelcastMapComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((HazelcastMapComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastMapComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastMapComponent target = (HazelcastMapComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastmode":
+ case "hazelcastMode": target.setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/map/HazelcastMapEndpointConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/map/HazelcastMapEndpointConfigurer.java
index ff9bca4..93c3968 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/map/HazelcastMapEndpointConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/map/HazelcastMapEndpointConfigurer.java
@@ -12,41 +12,27 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastMapEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultOperation": ((HazelcastMapEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastInstance": ((HazelcastMapEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastInstanceName": ((HazelcastMapEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastMapEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((HazelcastMapEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((HazelcastMapEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((HazelcastMapEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastMapEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastMapEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultoperation": ((HazelcastMapEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastinstance": ((HazelcastMapEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastinstancename": ((HazelcastMapEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastMapEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((HazelcastMapEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((HazelcastMapEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((HazelcastMapEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((HazelcastMapEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastMapEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastMapEndpoint target = (HazelcastMapEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultoperation":
+ case "defaultOperation": target.setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastinstancename":
+ case "hazelcastInstanceName": target.setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/multimap/HazelcastMultimapComponentConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/multimap/HazelcastMultimapComponentConfigurer.java
index 08259a8..2eb6f49 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/multimap/HazelcastMultimapComponentConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/multimap/HazelcastMultimapComponentConfigurer.java
@@ -12,33 +12,20 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastMultimapComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "hazelcastInstance": ((HazelcastMultimapComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastMode": ((HazelcastMultimapComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastMultimapComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((HazelcastMultimapComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastMultimapComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "hazelcastinstance": ((HazelcastMultimapComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastmode": ((HazelcastMultimapComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((HazelcastMultimapComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((HazelcastMultimapComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastMultimapComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastMultimapComponent target = (HazelcastMultimapComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastmode":
+ case "hazelcastMode": target.setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/multimap/HazelcastMultimapEndpointConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/multimap/HazelcastMultimapEndpointConfigurer.java
index 1bb6ecc..684f38d 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/multimap/HazelcastMultimapEndpointConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/multimap/HazelcastMultimapEndpointConfigurer.java
@@ -12,41 +12,27 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastMultimapEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultOperation": ((HazelcastMultimapEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastInstance": ((HazelcastMultimapEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastInstanceName": ((HazelcastMultimapEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastMultimapEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((HazelcastMultimapEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((HazelcastMultimapEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((HazelcastMultimapEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastMultimapEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastMultimapEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultoperation": ((HazelcastMultimapEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastinstance": ((HazelcastMultimapEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastinstancename": ((HazelcastMultimapEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastMultimapEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((HazelcastMultimapEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((HazelcastMultimapEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((HazelcastMultimapEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((HazelcastMultimapEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastMultimapEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastMultimapEndpoint target = (HazelcastMultimapEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultoperation":
+ case "defaultOperation": target.setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastinstancename":
+ case "hazelcastInstanceName": target.setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueComponentConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueComponentConfigurer.java
index 5ed3955..1503f5e 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueComponentConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueComponentConfigurer.java
@@ -12,33 +12,20 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastQueueComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "hazelcastInstance": ((HazelcastQueueComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastMode": ((HazelcastQueueComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastQueueComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((HazelcastQueueComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastQueueComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "hazelcastinstance": ((HazelcastQueueComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastmode": ((HazelcastQueueComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((HazelcastQueueComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((HazelcastQueueComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastQueueComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastQueueComponent target = (HazelcastQueueComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastmode":
+ case "hazelcastMode": target.setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueEndpointConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueEndpointConfigurer.java
index 3037afa..e2a55e7 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueEndpointConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/queue/HazelcastQueueEndpointConfigurer.java
@@ -12,47 +12,33 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastQueueEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultOperation": ((HazelcastQueueEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastInstance": ((HazelcastQueueEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastInstanceName": ((HazelcastQueueEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastQueueEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "pollingTimeout": ((HazelcastQueueEndpoint) target).getConfiguration().setPollingTimeout(property(camelContext, long.class, value)); return true;
- case "poolSize": ((HazelcastQueueEndpoint) target).getConfiguration().setPoolSize(property(camelContext, int.class, value)); return true;
- case "queueConsumerMode": ((HazelcastQueueEndpoint) target).getConfiguration().setQueueConsumerMode(property(camelContext, org.apache.camel.component.hazelcast.queue.HazelcastQueueConsumerMode.class, value)); return true;
- case "exceptionHandler": ((HazelcastQueueEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((HazelcastQueueEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((HazelcastQueueEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastQueueEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastQueueEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultoperation": ((HazelcastQueueEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastinstance": ((HazelcastQueueEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastinstancename": ((HazelcastQueueEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastQueueEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "pollingtimeout": ((HazelcastQueueEndpoint) target).getConfiguration().setPollingTimeout(property(camelContext, long.class, value)); return true;
- case "poolsize": ((HazelcastQueueEndpoint) target).getConfiguration().setPoolSize(property(camelContext, int.class, value)); return true;
- case "queueconsumermode": ((HazelcastQueueEndpoint) target).getConfiguration().setQueueConsumerMode(property(camelContext, org.apache.camel.component.hazelcast.queue.HazelcastQueueConsumerMode.class, value)); return true;
- case "exceptionhandler": ((HazelcastQueueEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((HazelcastQueueEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((HazelcastQueueEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((HazelcastQueueEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastQueueEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastQueueEndpoint target = (HazelcastQueueEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultoperation":
+ case "defaultOperation": target.setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastinstancename":
+ case "hazelcastInstanceName": target.setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "pollingtimeout":
+ case "pollingTimeout": target.getConfiguration().setPollingTimeout(property(camelContext, long.class, value)); return true;
+ case "poolsize":
+ case "poolSize": target.getConfiguration().setPoolSize(property(camelContext, int.class, value)); return true;
+ case "queueconsumermode":
+ case "queueConsumerMode": target.getConfiguration().setQueueConsumerMode(property(camelContext, org.apache.camel.component.hazelcast.queue.HazelcastQueueConsumerMode.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/replicatedmap/HazelcastReplicatedmapComponentConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/replicatedmap/HazelcastReplicatedmapComponentConfigurer.java
index 36434b1..078a6a6 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/replicatedmap/HazelcastReplicatedmapComponentConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/replicatedmap/HazelcastReplicatedmapComponentConfigurer.java
@@ -12,33 +12,20 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastReplicatedmapComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "hazelcastInstance": ((HazelcastReplicatedmapComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastMode": ((HazelcastReplicatedmapComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastReplicatedmapComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((HazelcastReplicatedmapComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastReplicatedmapComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "hazelcastinstance": ((HazelcastReplicatedmapComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastmode": ((HazelcastReplicatedmapComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((HazelcastReplicatedmapComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((HazelcastReplicatedmapComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastReplicatedmapComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastReplicatedmapComponent target = (HazelcastReplicatedmapComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastmode":
+ case "hazelcastMode": target.setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/replicatedmap/HazelcastReplicatedmapEndpointConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/replicatedmap/HazelcastReplicatedmapEndpointConfigurer.java
index 9d6d093..b8de4b0 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/replicatedmap/HazelcastReplicatedmapEndpointConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/replicatedmap/HazelcastReplicatedmapEndpointConfigurer.java
@@ -12,41 +12,27 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastReplicatedmapEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultOperation": ((HazelcastReplicatedmapEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastInstance": ((HazelcastReplicatedmapEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastInstanceName": ((HazelcastReplicatedmapEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastReplicatedmapEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((HazelcastReplicatedmapEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((HazelcastReplicatedmapEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((HazelcastReplicatedmapEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastReplicatedmapEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastReplicatedmapEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultoperation": ((HazelcastReplicatedmapEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastinstance": ((HazelcastReplicatedmapEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastinstancename": ((HazelcastReplicatedmapEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastReplicatedmapEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((HazelcastReplicatedmapEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((HazelcastReplicatedmapEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((HazelcastReplicatedmapEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((HazelcastReplicatedmapEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastReplicatedmapEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastReplicatedmapEndpoint target = (HazelcastReplicatedmapEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultoperation":
+ case "defaultOperation": target.setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastinstancename":
+ case "hazelcastInstanceName": target.setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/ringbuffer/HazelcastRingbufferComponentConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/ringbuffer/HazelcastRingbufferComponentConfigurer.java
index 3246ad8..9b0d5e5 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/ringbuffer/HazelcastRingbufferComponentConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/ringbuffer/HazelcastRingbufferComponentConfigurer.java
@@ -12,31 +12,18 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastRingbufferComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "hazelcastInstance": ((HazelcastRingbufferComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastMode": ((HazelcastRingbufferComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastRingbufferComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((HazelcastRingbufferComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "hazelcastinstance": ((HazelcastRingbufferComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastmode": ((HazelcastRingbufferComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((HazelcastRingbufferComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((HazelcastRingbufferComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastRingbufferComponent target = (HazelcastRingbufferComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastmode":
+ case "hazelcastMode": target.setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/ringbuffer/HazelcastRingbufferEndpointConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/ringbuffer/HazelcastRingbufferEndpointConfigurer.java
index e0f612e..4b775e1 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/ringbuffer/HazelcastRingbufferEndpointConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/ringbuffer/HazelcastRingbufferEndpointConfigurer.java
@@ -12,35 +12,21 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastRingbufferEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultOperation": ((HazelcastRingbufferEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastInstance": ((HazelcastRingbufferEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastInstanceName": ((HazelcastRingbufferEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "lazyStartProducer": ((HazelcastRingbufferEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastRingbufferEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastRingbufferEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultoperation": ((HazelcastRingbufferEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastinstance": ((HazelcastRingbufferEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastinstancename": ((HazelcastRingbufferEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "lazystartproducer": ((HazelcastRingbufferEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((HazelcastRingbufferEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastRingbufferEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastRingbufferEndpoint target = (HazelcastRingbufferEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultoperation":
+ case "defaultOperation": target.setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastinstancename":
+ case "hazelcastInstanceName": target.setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaComponentConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaComponentConfigurer.java
index 863f92b..f9e86bc 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaComponentConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaComponentConfigurer.java
@@ -12,33 +12,20 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastSedaComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "hazelcastInstance": ((HazelcastSedaComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastMode": ((HazelcastSedaComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastSedaComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((HazelcastSedaComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastSedaComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "hazelcastinstance": ((HazelcastSedaComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastmode": ((HazelcastSedaComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((HazelcastSedaComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((HazelcastSedaComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastSedaComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastSedaComponent target = (HazelcastSedaComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastmode":
+ case "hazelcastMode": target.setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaEndpointConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaEndpointConfigurer.java
index 4d9ff35..f0b04b8 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaEndpointConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/seda/HazelcastSedaEndpointConfigurer.java
@@ -12,51 +12,36 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastSedaEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultOperation": ((HazelcastSedaEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastInstance": ((HazelcastSedaEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastInstanceName": ((HazelcastSedaEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastSedaEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((HazelcastSedaEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((HazelcastSedaEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((HazelcastSedaEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastSedaEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastSedaEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "concurrentConsumers": ((HazelcastSedaEndpoint) target).getConfiguration().setConcurrentConsumers(property(camelContext, int.class, value)); return true;
- case "onErrorDelay": ((HazelcastSedaEndpoint) target).getConfiguration().setOnErrorDelay(property(camelContext, int.class, value)); return true;
- case "pollTimeout": ((HazelcastSedaEndpoint) target).getConfiguration().setPollTimeout(property(camelContext, int.class, value)); return true;
- case "transacted": ((HazelcastSedaEndpoint) target).getConfiguration().setTransacted(property(camelContext, boolean.class, value)); return true;
- case "transferExchange": ((HazelcastSedaEndpoint) target).getConfiguration().setTransferExchange(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultoperation": ((HazelcastSedaEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastinstance": ((HazelcastSedaEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastinstancename": ((HazelcastSedaEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastSedaEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((HazelcastSedaEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((HazelcastSedaEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((HazelcastSedaEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((HazelcastSedaEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastSedaEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "concurrentconsumers": ((HazelcastSedaEndpoint) target).getConfiguration().setConcurrentConsumers(property(camelContext, int.class, value)); return true;
- case "onerrordelay": ((HazelcastSedaEndpoint) target).getConfiguration().setOnErrorDelay(property(camelContext, int.class, value)); return true;
- case "polltimeout": ((HazelcastSedaEndpoint) target).getConfiguration().setPollTimeout(property(camelContext, int.class, value)); return true;
- case "transacted": ((HazelcastSedaEndpoint) target).getConfiguration().setTransacted(property(camelContext, boolean.class, value)); return true;
- case "transferexchange": ((HazelcastSedaEndpoint) target).getConfiguration().setTransferExchange(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastSedaEndpoint target = (HazelcastSedaEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultoperation":
+ case "defaultOperation": target.setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastinstancename":
+ case "hazelcastInstanceName": target.setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "concurrentconsumers":
+ case "concurrentConsumers": target.getConfiguration().setConcurrentConsumers(property(camelContext, int.class, value)); return true;
+ case "onerrordelay":
+ case "onErrorDelay": target.getConfiguration().setOnErrorDelay(property(camelContext, int.class, value)); return true;
+ case "polltimeout":
+ case "pollTimeout": target.getConfiguration().setPollTimeout(property(camelContext, int.class, value)); return true;
+ case "transacted": target.getConfiguration().setTransacted(property(camelContext, boolean.class, value)); return true;
+ case "transferexchange":
+ case "transferExchange": target.getConfiguration().setTransferExchange(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/set/HazelcastSetComponentConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/set/HazelcastSetComponentConfigurer.java
index efdd40f..ab47752 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/set/HazelcastSetComponentConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/set/HazelcastSetComponentConfigurer.java
@@ -12,33 +12,20 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastSetComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "hazelcastInstance": ((HazelcastSetComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastMode": ((HazelcastSetComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastSetComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((HazelcastSetComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastSetComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "hazelcastinstance": ((HazelcastSetComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastmode": ((HazelcastSetComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((HazelcastSetComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((HazelcastSetComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastSetComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastSetComponent target = (HazelcastSetComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastmode":
+ case "hazelcastMode": target.setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/set/HazelcastSetEndpointConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/set/HazelcastSetEndpointConfigurer.java
index d3da40b..9b3db08 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/set/HazelcastSetEndpointConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/set/HazelcastSetEndpointConfigurer.java
@@ -12,41 +12,27 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastSetEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultOperation": ((HazelcastSetEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastInstance": ((HazelcastSetEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastInstanceName": ((HazelcastSetEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastSetEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((HazelcastSetEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((HazelcastSetEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((HazelcastSetEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastSetEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastSetEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultoperation": ((HazelcastSetEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastinstance": ((HazelcastSetEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastinstancename": ((HazelcastSetEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastSetEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((HazelcastSetEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((HazelcastSetEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((HazelcastSetEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((HazelcastSetEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastSetEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastSetEndpoint target = (HazelcastSetEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultoperation":
+ case "defaultOperation": target.setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastinstancename":
+ case "hazelcastInstanceName": target.setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicComponentConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicComponentConfigurer.java
index 2ba731a..0357aed 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicComponentConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicComponentConfigurer.java
@@ -12,33 +12,20 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastTopicComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "hazelcastInstance": ((HazelcastTopicComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastMode": ((HazelcastTopicComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastTopicComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((HazelcastTopicComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastTopicComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "hazelcastinstance": ((HazelcastTopicComponent) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastmode": ((HazelcastTopicComponent) target).setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((HazelcastTopicComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((HazelcastTopicComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastTopicComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastTopicComponent target = (HazelcastTopicComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastmode":
+ case "hazelcastMode": target.setHazelcastMode(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicEndpointConfigurer.java b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicEndpointConfigurer.java
index 5872804..53da3d9 100644
--- a/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicEndpointConfigurer.java
+++ b/components/camel-hazelcast/src/generated/java/org/apache/camel/component/hazelcast/topic/HazelcastTopicEndpointConfigurer.java
@@ -12,43 +12,28 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class HazelcastTopicEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultOperation": ((HazelcastTopicEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastInstance": ((HazelcastTopicEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastInstanceName": ((HazelcastTopicEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "reliable": ((HazelcastTopicEndpoint) target).getConfiguration().setReliable(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((HazelcastTopicEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((HazelcastTopicEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((HazelcastTopicEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((HazelcastTopicEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((HazelcastTopicEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastTopicEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultoperation": ((HazelcastTopicEndpoint) target).setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
- case "hazelcastinstance": ((HazelcastTopicEndpoint) target).setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
- case "hazelcastinstancename": ((HazelcastTopicEndpoint) target).setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "reliable": ((HazelcastTopicEndpoint) target).getConfiguration().setReliable(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((HazelcastTopicEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((HazelcastTopicEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((HazelcastTopicEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((HazelcastTopicEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((HazelcastTopicEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((HazelcastTopicEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ HazelcastTopicEndpoint target = (HazelcastTopicEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultoperation":
+ case "defaultOperation": target.setDefaultOperation(property(camelContext, org.apache.camel.component.hazelcast.HazelcastOperation.class, value)); return true;
+ case "hazelcastinstance":
+ case "hazelcastInstance": target.setHazelcastInstance(property(camelContext, com.hazelcast.core.HazelcastInstance.class, value)); return true;
+ case "hazelcastinstancename":
+ case "hazelcastInstanceName": target.setHazelcastInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "reliable": target.getConfiguration().setReliable(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-hazelcast/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-hazelcast/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index ebe9f96..783d129 100644
--- a/components/camel-hazelcast/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-hazelcast/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=hazelcast-ringbuffer hazelcast-set hazelcast-topic hazelcast-map hazelcast-seda hazelcast-atomicvalue hazelcast-queue hazelcast-list hazelcast-multimap hazelcast-instance hazelcast-replicatedmap
+components=hazelcast-atomicvalue hazelcast-instance hazelcast-list hazelcast-map hazelcast-multimap hazelcast-queue hazelcast-replicatedmap hazelcast-ringbuffer hazelcast-seda hazelcast-set hazelcast-topic
groupId=org.apache.camel
artifactId=camel-hazelcast
version=3.1.0-SNAPSHOT
diff --git a/components/camel-http/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-http/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index efe7727..f21cd32 100644
--- a/components/camel-http/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-http/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=https http
+components=http https
groupId=org.apache.camel
artifactId=camel-http
version=3.1.0-SNAPSHOT
diff --git a/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/client/ClientComponentConfigurer.java b/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/client/ClientComponentConfigurer.java
index ed14987..25b892a 100644
--- a/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/client/ClientComponentConfigurer.java
+++ b/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/client/ClientComponentConfigurer.java
@@ -12,31 +12,18 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class ClientComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultConnectionOptions": ((ClientComponent) target).setDefaultConnectionOptions(property(camelContext, org.apache.camel.component.iec60870.client.ClientOptions.class, value)); return true;
- case "basicPropertyBinding": ((ClientComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((ClientComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((ClientComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultconnectionoptions": ((ClientComponent) target).setDefaultConnectionOptions(property(camelContext, org.apache.camel.component.iec60870.client.ClientOptions.class, value)); return true;
- case "basicpropertybinding": ((ClientComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((ClientComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((ClientComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ ClientComponent target = (ClientComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultconnectionoptions":
+ case "defaultConnectionOptions": target.setDefaultConnectionOptions(property(camelContext, org.apache.camel.component.iec60870.client.ClientOptions.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/client/ClientEndpointConfigurer.java b/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/client/ClientEndpointConfigurer.java
index ea348bc..a776ef0 100644
--- a/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/client/ClientEndpointConfigurer.java
+++ b/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/client/ClientEndpointConfigurer.java
@@ -12,67 +12,50 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class ClientEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "dataModuleOptions": ((ClientEndpoint) target).getConnectionOptions().setDataModuleOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.client.data.DataModuleOptions.class, value)); return true;
- case "protocolOptions": ((ClientEndpoint) target).getConnectionOptions().setProtocolOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ProtocolOptions.class, value)); return true;
- case "bridgeErrorHandler": ((ClientEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((ClientEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((ClientEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((ClientEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((ClientEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((ClientEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "acknowledgeWindow": ((ClientEndpoint) target).getConnectionOptions().setAcknowledgeWindow(property(camelContext, short.class, value)); return true;
- case "adsuAddressType": ((ClientEndpoint) target).getConnectionOptions().setAdsuAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ASDUAddressType.class, value)); return true;
- case "causeOfTransmissionType": ((ClientEndpoint) target).getConnectionOptions().setCauseOfTransmissionType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.CauseOfTransmissionType.class, value)); return true;
- case "informationObjectAddressType": ((ClientEndpoint) target).getConnectionOptions().setInformationObjectAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.InformationObjectAddressType.class, value)); return true;
- case "maxUnacknowledged": ((ClientEndpoint) target).getConnectionOptions().setMaxUnacknowledged(property(camelContext, short.class, value)); return true;
- case "timeout1": ((ClientEndpoint) target).getConnectionOptions().setTimeout1(property(camelContext, int.class, value)); return true;
- case "timeout2": ((ClientEndpoint) target).getConnectionOptions().setTimeout2(property(camelContext, int.class, value)); return true;
- case "timeout3": ((ClientEndpoint) target).getConnectionOptions().setTimeout3(property(camelContext, int.class, value)); return true;
- case "causeSourceAddress": ((ClientEndpoint) target).getConnectionOptions().setCauseSourceAddress(property(camelContext, byte.class, value)); return true;
- case "connectionTimeout": ((ClientEndpoint) target).getConnectionOptions().setConnectionTimeout(property(camelContext, int.class, value)); return true;
- case "ignoreBackgroundScan": ((ClientEndpoint) target).getConnectionOptions().setIgnoreBackgroundScan(property(camelContext, boolean.class, value)); return true;
- case "ignoreDaylightSavingTime": ((ClientEndpoint) target).getConnectionOptions().setIgnoreDaylightSavingTime(property(camelContext, boolean.class, value)); return true;
- case "timeZone": ((ClientEndpoint) target).getConnectionOptions().setTimeZone(property(camelContext, java.util.TimeZone.class, value)); return true;
- case "connectionId": ((ClientEndpoint) target).setConnectionId(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "datamoduleoptions": ((ClientEndpoint) target).getConnectionOptions().setDataModuleOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.client.data.DataModuleOptions.class, value)); return true;
- case "protocoloptions": ((ClientEndpoint) target).getConnectionOptions().setProtocolOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ProtocolOptions.class, value)); return true;
- case "bridgeerrorhandler": ((ClientEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((ClientEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((ClientEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((ClientEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((ClientEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((ClientEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "acknowledgewindow": ((ClientEndpoint) target).getConnectionOptions().setAcknowledgeWindow(property(camelContext, short.class, value)); return true;
- case "adsuaddresstype": ((ClientEndpoint) target).getConnectionOptions().setAdsuAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ASDUAddressType.class, value)); return true;
- case "causeoftransmissiontype": ((ClientEndpoint) target).getConnectionOptions().setCauseOfTransmissionType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.CauseOfTransmissionType.class, value)); return true;
- case "informationobjectaddresstype": ((ClientEndpoint) target).getConnectionOptions().setInformationObjectAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.InformationObjectAddressType.class, value)); return true;
- case "maxunacknowledged": ((ClientEndpoint) target).getConnectionOptions().setMaxUnacknowledged(property(camelContext, short.class, value)); return true;
- case "timeout1": ((ClientEndpoint) target).getConnectionOptions().setTimeout1(property(camelContext, int.class, value)); return true;
- case "timeout2": ((ClientEndpoint) target).getConnectionOptions().setTimeout2(property(camelContext, int.class, value)); return true;
- case "timeout3": ((ClientEndpoint) target).getConnectionOptions().setTimeout3(property(camelContext, int.class, value)); return true;
- case "causesourceaddress": ((ClientEndpoint) target).getConnectionOptions().setCauseSourceAddress(property(camelContext, byte.class, value)); return true;
- case "connectiontimeout": ((ClientEndpoint) target).getConnectionOptions().setConnectionTimeout(property(camelContext, int.class, value)); return true;
- case "ignorebackgroundscan": ((ClientEndpoint) target).getConnectionOptions().setIgnoreBackgroundScan(property(camelContext, boolean.class, value)); return true;
- case "ignoredaylightsavingtime": ((ClientEndpoint) target).getConnectionOptions().setIgnoreDaylightSavingTime(property(camelContext, boolean.class, value)); return true;
- case "timezone": ((ClientEndpoint) target).getConnectionOptions().setTimeZone(property(camelContext, java.util.TimeZone.class, value)); return true;
- case "connectionid": ((ClientEndpoint) target).setConnectionId(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ ClientEndpoint target = (ClientEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "datamoduleoptions":
+ case "dataModuleOptions": target.getConnectionOptions().setDataModuleOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.client.data.DataModuleOptions.class, value)); return true;
+ case "protocoloptions":
+ case "protocolOptions": target.getConnectionOptions().setProtocolOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ProtocolOptions.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "acknowledgewindow":
+ case "acknowledgeWindow": target.getConnectionOptions().setAcknowledgeWindow(property(camelContext, short.class, value)); return true;
+ case "adsuaddresstype":
+ case "adsuAddressType": target.getConnectionOptions().setAdsuAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ASDUAddressType.class, value)); return true;
+ case "causeoftransmissiontype":
+ case "causeOfTransmissionType": target.getConnectionOptions().setCauseOfTransmissionType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.CauseOfTransmissionType.class, value)); return true;
+ case "informationobjectaddresstype":
+ case "informationObjectAddressType": target.getConnectionOptions().setInformationObjectAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.InformationObjectAddressType.class, value)); return true;
+ case "maxunacknowledged":
+ case "maxUnacknowledged": target.getConnectionOptions().setMaxUnacknowledged(property(camelContext, short.class, value)); return true;
+ case "timeout1": target.getConnectionOptions().setTimeout1(property(camelContext, int.class, value)); return true;
+ case "timeout2": target.getConnectionOptions().setTimeout2(property(camelContext, int.class, value)); return true;
+ case "timeout3": target.getConnectionOptions().setTimeout3(property(camelContext, int.class, value)); return true;
+ case "causesourceaddress":
+ case "causeSourceAddress": target.getConnectionOptions().setCauseSourceAddress(property(camelContext, byte.class, value)); return true;
+ case "connectiontimeout":
+ case "connectionTimeout": target.getConnectionOptions().setConnectionTimeout(property(camelContext, int.class, value)); return true;
+ case "ignorebackgroundscan":
+ case "ignoreBackgroundScan": target.getConnectionOptions().setIgnoreBackgroundScan(property(camelContext, boolean.class, value)); return true;
+ case "ignoredaylightsavingtime":
+ case "ignoreDaylightSavingTime": target.getConnectionOptions().setIgnoreDaylightSavingTime(property(camelContext, boolean.class, value)); return true;
+ case "timezone":
+ case "timeZone": target.getConnectionOptions().setTimeZone(property(camelContext, java.util.TimeZone.class, value)); return true;
+ case "connectionid":
+ case "connectionId": target.setConnectionId(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/server/ServerComponentConfigurer.java b/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/server/ServerComponentConfigurer.java
index 21577c0..2874808 100644
--- a/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/server/ServerComponentConfigurer.java
+++ b/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/server/ServerComponentConfigurer.java
@@ -12,31 +12,18 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class ServerComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultConnectionOptions": ((ServerComponent) target).setDefaultConnectionOptions(property(camelContext, org.apache.camel.component.iec60870.server.ServerOptions.class, value)); return true;
- case "basicPropertyBinding": ((ServerComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((ServerComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((ServerComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultconnectionoptions": ((ServerComponent) target).setDefaultConnectionOptions(property(camelContext, org.apache.camel.component.iec60870.server.ServerOptions.class, value)); return true;
- case "basicpropertybinding": ((ServerComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((ServerComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((ServerComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ ServerComponent target = (ServerComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultconnectionoptions":
+ case "defaultConnectionOptions": target.setDefaultConnectionOptions(property(camelContext, org.apache.camel.component.iec60870.server.ServerOptions.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/server/ServerEndpointConfigurer.java b/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/server/ServerEndpointConfigurer.java
index a96708c..9f84f19 100644
--- a/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/server/ServerEndpointConfigurer.java
+++ b/components/camel-iec60870/src/generated/java/org/apache/camel/component/iec60870/server/ServerEndpointConfigurer.java
@@ -12,69 +12,52 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class ServerEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "dataModuleOptions": ((ServerEndpoint) target).getConnectionOptions().setDataModuleOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.client.data.DataModuleOptions.class, value)); return true;
- case "filterNonExecute": ((ServerEndpoint) target).setFilterNonExecute(property(camelContext, boolean.class, value)); return true;
- case "protocolOptions": ((ServerEndpoint) target).getConnectionOptions().setProtocolOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ProtocolOptions.class, value)); return true;
- case "bridgeErrorHandler": ((ServerEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((ServerEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((ServerEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((ServerEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((ServerEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((ServerEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "acknowledgeWindow": ((ServerEndpoint) target).getConnectionOptions().setAcknowledgeWindow(property(camelContext, short.class, value)); return true;
- case "adsuAddressType": ((ServerEndpoint) target).getConnectionOptions().setAdsuAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ASDUAddressType.class, value)); return true;
- case "causeOfTransmissionType": ((ServerEndpoint) target).getConnectionOptions().setCauseOfTransmissionType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.CauseOfTransmissionType.class, value)); return true;
- case "informationObjectAddressType": ((ServerEndpoint) target).getConnectionOptions().setInformationObjectAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.InformationObjectAddressType.class, value)); return true;
- case "maxUnacknowledged": ((ServerEndpoint) target).getConnectionOptions().setMaxUnacknowledged(property(camelContext, short.class, value)); return true;
- case "timeout1": ((ServerEndpoint) target).getConnectionOptions().setTimeout1(property(camelContext, int.class, value)); return true;
- case "timeout2": ((ServerEndpoint) target).getConnectionOptions().setTimeout2(property(camelContext, int.class, value)); return true;
- case "timeout3": ((ServerEndpoint) target).getConnectionOptions().setTimeout3(property(camelContext, int.class, value)); return true;
- case "causeSourceAddress": ((ServerEndpoint) target).getConnectionOptions().setCauseSourceAddress(property(camelContext, byte.class, value)); return true;
- case "connectionTimeout": ((ServerEndpoint) target).getConnectionOptions().setConnectionTimeout(property(camelContext, int.class, value)); return true;
- case "ignoreBackgroundScan": ((ServerEndpoint) target).getConnectionOptions().setIgnoreBackgroundScan(property(camelContext, boolean.class, value)); return true;
- case "ignoreDaylightSavingTime": ((ServerEndpoint) target).getConnectionOptions().setIgnoreDaylightSavingTime(property(camelContext, boolean.class, value)); return true;
- case "timeZone": ((ServerEndpoint) target).getConnectionOptions().setTimeZone(property(camelContext, java.util.TimeZone.class, value)); return true;
- case "connectionId": ((ServerEndpoint) target).setConnectionId(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "datamoduleoptions": ((ServerEndpoint) target).getConnectionOptions().setDataModuleOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.client.data.DataModuleOptions.class, value)); return true;
- case "filternonexecute": ((ServerEndpoint) target).setFilterNonExecute(property(camelContext, boolean.class, value)); return true;
- case "protocoloptions": ((ServerEndpoint) target).getConnectionOptions().setProtocolOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ProtocolOptions.class, value)); return true;
- case "bridgeerrorhandler": ((ServerEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((ServerEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((ServerEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((ServerEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((ServerEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((ServerEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "acknowledgewindow": ((ServerEndpoint) target).getConnectionOptions().setAcknowledgeWindow(property(camelContext, short.class, value)); return true;
- case "adsuaddresstype": ((ServerEndpoint) target).getConnectionOptions().setAdsuAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ASDUAddressType.class, value)); return true;
- case "causeoftransmissiontype": ((ServerEndpoint) target).getConnectionOptions().setCauseOfTransmissionType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.CauseOfTransmissionType.class, value)); return true;
- case "informationobjectaddresstype": ((ServerEndpoint) target).getConnectionOptions().setInformationObjectAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.InformationObjectAddressType.class, value)); return true;
- case "maxunacknowledged": ((ServerEndpoint) target).getConnectionOptions().setMaxUnacknowledged(property(camelContext, short.class, value)); return true;
- case "timeout1": ((ServerEndpoint) target).getConnectionOptions().setTimeout1(property(camelContext, int.class, value)); return true;
- case "timeout2": ((ServerEndpoint) target).getConnectionOptions().setTimeout2(property(camelContext, int.class, value)); return true;
- case "timeout3": ((ServerEndpoint) target).getConnectionOptions().setTimeout3(property(camelContext, int.class, value)); return true;
- case "causesourceaddress": ((ServerEndpoint) target).getConnectionOptions().setCauseSourceAddress(property(camelContext, byte.class, value)); return true;
- case "connectiontimeout": ((ServerEndpoint) target).getConnectionOptions().setConnectionTimeout(property(camelContext, int.class, value)); return true;
- case "ignorebackgroundscan": ((ServerEndpoint) target).getConnectionOptions().setIgnoreBackgroundScan(property(camelContext, boolean.class, value)); return true;
- case "ignoredaylightsavingtime": ((ServerEndpoint) target).getConnectionOptions().setIgnoreDaylightSavingTime(property(camelContext, boolean.class, value)); return true;
- case "timezone": ((ServerEndpoint) target).getConnectionOptions().setTimeZone(property(camelContext, java.util.TimeZone.class, value)); return true;
- case "connectionid": ((ServerEndpoint) target).setConnectionId(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ ServerEndpoint target = (ServerEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "datamoduleoptions":
+ case "dataModuleOptions": target.getConnectionOptions().setDataModuleOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.client.data.DataModuleOptions.class, value)); return true;
+ case "filternonexecute":
+ case "filterNonExecute": target.setFilterNonExecute(property(camelContext, boolean.class, value)); return true;
+ case "protocoloptions":
+ case "protocolOptions": target.getConnectionOptions().setProtocolOptions(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ProtocolOptions.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "acknowledgewindow":
+ case "acknowledgeWindow": target.getConnectionOptions().setAcknowledgeWindow(property(camelContext, short.class, value)); return true;
+ case "adsuaddresstype":
+ case "adsuAddressType": target.getConnectionOptions().setAdsuAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.ASDUAddressType.class, value)); return true;
+ case "causeoftransmissiontype":
+ case "causeOfTransmissionType": target.getConnectionOptions().setCauseOfTransmissionType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.CauseOfTransmissionType.class, value)); return true;
+ case "informationobjectaddresstype":
+ case "informationObjectAddressType": target.getConnectionOptions().setInformationObjectAddressType(property(camelContext, org.eclipse.neoscada.protocol.iec60870.InformationObjectAddressType.class, value)); return true;
+ case "maxunacknowledged":
+ case "maxUnacknowledged": target.getConnectionOptions().setMaxUnacknowledged(property(camelContext, short.class, value)); return true;
+ case "timeout1": target.getConnectionOptions().setTimeout1(property(camelContext, int.class, value)); return true;
+ case "timeout2": target.getConnectionOptions().setTimeout2(property(camelContext, int.class, value)); return true;
+ case "timeout3": target.getConnectionOptions().setTimeout3(property(camelContext, int.class, value)); return true;
+ case "causesourceaddress":
+ case "causeSourceAddress": target.getConnectionOptions().setCauseSourceAddress(property(camelContext, byte.class, value)); return true;
+ case "connectiontimeout":
+ case "connectionTimeout": target.getConnectionOptions().setConnectionTimeout(property(camelContext, int.class, value)); return true;
+ case "ignorebackgroundscan":
+ case "ignoreBackgroundScan": target.getConnectionOptions().setIgnoreBackgroundScan(property(camelContext, boolean.class, value)); return true;
+ case "ignoredaylightsavingtime":
+ case "ignoreDaylightSavingTime": target.getConnectionOptions().setIgnoreDaylightSavingTime(property(camelContext, boolean.class, value)); return true;
+ case "timezone":
+ case "timeZone": target.getConnectionOptions().setTimeZone(property(camelContext, java.util.TimeZone.class, value)); return true;
+ case "connectionid":
+ case "connectionId": target.setConnectionId(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-ignite/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-ignite/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 2a2b7dc..b7b28d4 100644
--- a/components/camel-ignite/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-ignite/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=ignite-set ignite-queue ignite-messaging ignite-compute ignite-idgen ignite-cache ignite-events
+components=ignite-cache ignite-compute ignite-events ignite-idgen ignite-messaging ignite-queue ignite-set
groupId=org.apache.camel
artifactId=camel-ignite
version=3.1.0-SNAPSHOT
diff --git a/components/camel-irc/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-irc/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 7a00b74..ffd9af2 100644
--- a/components/camel-irc/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-irc/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=ircs irc
+components=irc ircs
groupId=org.apache.camel
artifactId=camel-irc
version=3.1.0-SNAPSHOT
diff --git a/components/camel-jgroups-raft/src/generated/java/org/apache/camel/component/jgroups/raft/JGroupsRaftComponentConfigurer.java b/components/camel-jgroups-raft/src/generated/java/org/apache/camel/component/jgroups/raft/JGroupsRaftComponentConfigurer.java
index d7e0f4b..5be85fa 100644
--- a/components/camel-jgroups-raft/src/generated/java/org/apache/camel/component/jgroups/raft/JGroupsRaftComponentConfigurer.java
+++ b/components/camel-jgroups-raft/src/generated/java/org/apache/camel/component/jgroups/raft/JGroupsRaftComponentConfigurer.java
@@ -12,37 +12,24 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class JGroupsRaftComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "raftHandle": ((JGroupsRaftComponent) target).setRaftHandle(property(camelContext, org.jgroups.raft.RaftHandle.class, value)); return true;
- case "stateMachine": ((JGroupsRaftComponent) target).setStateMachine(property(camelContext, org.jgroups.protocols.raft.StateMachine.class, value)); return true;
- case "raftId": ((JGroupsRaftComponent) target).setRaftId(property(camelContext, java.lang.String.class, value)); return true;
- case "channelProperties": ((JGroupsRaftComponent) target).setChannelProperties(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((JGroupsRaftComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((JGroupsRaftComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((JGroupsRaftComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "rafthandle": ((JGroupsRaftComponent) target).setRaftHandle(property(camelContext, org.jgroups.raft.RaftHandle.class, value)); return true;
- case "statemachine": ((JGroupsRaftComponent) target).setStateMachine(property(camelContext, org.jgroups.protocols.raft.StateMachine.class, value)); return true;
- case "raftid": ((JGroupsRaftComponent) target).setRaftId(property(camelContext, java.lang.String.class, value)); return true;
- case "channelproperties": ((JGroupsRaftComponent) target).setChannelProperties(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((JGroupsRaftComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((JGroupsRaftComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((JGroupsRaftComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ JGroupsRaftComponent target = (JGroupsRaftComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "rafthandle":
+ case "raftHandle": target.setRaftHandle(property(camelContext, org.jgroups.raft.RaftHandle.class, value)); return true;
+ case "statemachine":
+ case "stateMachine": target.setStateMachine(property(camelContext, org.jgroups.protocols.raft.StateMachine.class, value)); return true;
+ case "raftid":
+ case "raftId": target.setRaftId(property(camelContext, java.lang.String.class, value)); return true;
+ case "channelproperties":
+ case "channelProperties": target.setChannelProperties(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-jgroups-raft/src/generated/java/org/apache/camel/component/jgroups/raft/JGroupsRaftEndpointConfigurer.java b/components/camel-jgroups-raft/src/generated/java/org/apache/camel/component/jgroups/raft/JGroupsRaftEndpointConfigurer.java
index 504b88e..fdb02e8 100644
--- a/components/camel-jgroups-raft/src/generated/java/org/apache/camel/component/jgroups/raft/JGroupsRaftEndpointConfigurer.java
+++ b/components/camel-jgroups-raft/src/generated/java/org/apache/camel/component/jgroups/raft/JGroupsRaftEndpointConfigurer.java
@@ -12,37 +12,23 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class JGroupsRaftEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "bridgeErrorHandler": ((JGroupsRaftEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "enableRoleChangeEvents": ((JGroupsRaftEndpoint) target).setEnableRoleChangeEvents(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((JGroupsRaftEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((JGroupsRaftEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((JGroupsRaftEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((JGroupsRaftEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((JGroupsRaftEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "bridgeerrorhandler": ((JGroupsRaftEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "enablerolechangeevents": ((JGroupsRaftEndpoint) target).setEnableRoleChangeEvents(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((JGroupsRaftEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((JGroupsRaftEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((JGroupsRaftEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((JGroupsRaftEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((JGroupsRaftEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ JGroupsRaftEndpoint target = (JGroupsRaftEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "enablerolechangeevents":
+ case "enableRoleChangeEvents": target.setEnableRoleChangeEvents(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-kubernetes/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-kubernetes/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index e89c5a7..1920fca 100644
--- a/components/camel-kubernetes/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-kubernetes/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=kubernetes-job kubernetes-nodes kubernetes-hpa kubernetes-persistent-volumes-claims kubernetes-service-accounts kubernetes-services kubernetes-pods openshift-build-configs kubernetes-resources-quota kubernetes-persistent-volumes openshift-builds kubernetes-secrets kubernetes-config-maps kubernetes-replication-controllers kubernetes-namespaces kubernetes-deployments
+components=kubernetes-config-maps kubernetes-deployments kubernetes-hpa kubernetes-job kubernetes-namespaces kubernetes-nodes kubernetes-persistent-volumes kubernetes-persistent-volumes-claims kubernetes-pods kubernetes-replication-controllers kubernetes-resources-quota kubernetes-secrets kubernetes-service-accounts kubernetes-services openshift-build-configs openshift-builds
groupId=org.apache.camel
artifactId=camel-kubernetes
version=3.1.0-SNAPSHOT
diff --git a/components/camel-mail/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-mail/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 71d3c5c..4d97a48 100644
--- a/components/camel-mail/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-mail/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=pop3s imap imaps smtp pop3 smtps
+components=imap imaps pop3 pop3s smtp smtps
groupId=org.apache.camel
artifactId=camel-mail
version=3.1.0-SNAPSHOT
diff --git a/components/camel-microprofile-metrics/src/generated/java/org/apache/camel/component/microprofile/metrics/MicroProfileMetricsComponentConfigurer.java b/components/camel-microprofile-metrics/src/generated/java/org/apache/camel/component/microprofile/metrics/MicroProfileMetricsComponentConfigurer.java
index 98f0525..1bd81e1 100644
--- a/components/camel-microprofile-metrics/src/generated/java/org/apache/camel/component/microprofile/metrics/MicroProfileMetricsComponentConfigurer.java
+++ b/components/camel-microprofile-metrics/src/generated/java/org/apache/camel/component/microprofile/metrics/MicroProfileMetricsComponentConfigurer.java
@@ -12,29 +12,16 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class MicroProfileMetricsComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "metricRegistry": ((MicroProfileMetricsComponent) target).setMetricRegistry(property(camelContext, org.eclipse.microprofile.metrics.MetricRegistry.class, value)); return true;
- case "basicPropertyBinding": ((MicroProfileMetricsComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((MicroProfileMetricsComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "metricregistry": ((MicroProfileMetricsComponent) target).setMetricRegistry(property(camelContext, org.eclipse.microprofile.metrics.MetricRegistry.class, value)); return true;
- case "basicpropertybinding": ((MicroProfileMetricsComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((MicroProfileMetricsComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ MicroProfileMetricsComponent target = (MicroProfileMetricsComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "metricregistry":
+ case "metricRegistry": target.setMetricRegistry(property(camelContext, org.eclipse.microprofile.metrics.MetricRegistry.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-microprofile-metrics/src/generated/java/org/apache/camel/component/microprofile/metrics/MicroProfileMetricsEndpointConfigurer.java b/components/camel-microprofile-metrics/src/generated/java/org/apache/camel/component/microprofile/metrics/MicroProfileMetricsEndpointConfigurer.java
index ba9e850..4b6a8c3 100644
--- a/components/camel-microprofile-metrics/src/generated/java/org/apache/camel/component/microprofile/metrics/MicroProfileMetricsEndpointConfigurer.java
+++ b/components/camel-microprofile-metrics/src/generated/java/org/apache/camel/component/microprofile/metrics/MicroProfileMetricsEndpointConfigurer.java
@@ -12,51 +12,32 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class MicroProfileMetricsEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "action": ((MicroProfileMetricsEndpoint) target).setAction(property(camelContext, java.lang.String.class, value)); return true;
- case "counterIncrement": ((MicroProfileMetricsEndpoint) target).setCounterIncrement(property(camelContext, java.lang.Long.class, value)); return true;
- case "description": ((MicroProfileMetricsEndpoint) target).setDescription(property(camelContext, java.lang.String.class, value)); return true;
- case "displayName": ((MicroProfileMetricsEndpoint) target).setDisplayName(property(camelContext, java.lang.String.class, value)); return true;
- case "gaugeDecrement": ((MicroProfileMetricsEndpoint) target).setGaugeDecrement(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "gaugeIncrement": ((MicroProfileMetricsEndpoint) target).setGaugeIncrement(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "gaugeValue": ((MicroProfileMetricsEndpoint) target).setGaugeValue(property(camelContext, java.lang.Number.class, value)); return true;
- case "lazyStartProducer": ((MicroProfileMetricsEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "mark": ((MicroProfileMetricsEndpoint) target).setMark(property(camelContext, java.lang.Long.class, value)); return true;
- case "metricUnit": ((MicroProfileMetricsEndpoint) target).setMetricUnit(property(camelContext, java.lang.String.class, value)); return true;
- case "tags": ((MicroProfileMetricsEndpoint) target).setTags(property(camelContext, java.lang.String.class, value)); return true;
- case "value": ((MicroProfileMetricsEndpoint) target).setValue(property(camelContext, java.lang.Long.class, value)); return true;
- case "basicPropertyBinding": ((MicroProfileMetricsEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((MicroProfileMetricsEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "action": ((MicroProfileMetricsEndpoint) target).setAction(property(camelContext, java.lang.String.class, value)); return true;
- case "counterincrement": ((MicroProfileMetricsEndpoint) target).setCounterIncrement(property(camelContext, java.lang.Long.class, value)); return true;
- case "description": ((MicroProfileMetricsEndpoint) target).setDescription(property(camelContext, java.lang.String.class, value)); return true;
- case "displayname": ((MicroProfileMetricsEndpoint) target).setDisplayName(property(camelContext, java.lang.String.class, value)); return true;
- case "gaugedecrement": ((MicroProfileMetricsEndpoint) target).setGaugeDecrement(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "gaugeincrement": ((MicroProfileMetricsEndpoint) target).setGaugeIncrement(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "gaugevalue": ((MicroProfileMetricsEndpoint) target).setGaugeValue(property(camelContext, java.lang.Number.class, value)); return true;
- case "lazystartproducer": ((MicroProfileMetricsEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "mark": ((MicroProfileMetricsEndpoint) target).setMark(property(camelContext, java.lang.Long.class, value)); return true;
- case "metricunit": ((MicroProfileMetricsEndpoint) target).setMetricUnit(property(camelContext, java.lang.String.class, value)); return true;
- case "tags": ((MicroProfileMetricsEndpoint) target).setTags(property(camelContext, java.lang.String.class, value)); return true;
- case "value": ((MicroProfileMetricsEndpoint) target).setValue(property(camelContext, java.lang.Long.class, value)); return true;
- case "basicpropertybinding": ((MicroProfileMetricsEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((MicroProfileMetricsEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ MicroProfileMetricsEndpoint target = (MicroProfileMetricsEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "action": target.setAction(property(camelContext, java.lang.String.class, value)); return true;
+ case "counterincrement":
+ case "counterIncrement": target.setCounterIncrement(property(camelContext, java.lang.Long.class, value)); return true;
+ case "description": target.setDescription(property(camelContext, java.lang.String.class, value)); return true;
+ case "displayname":
+ case "displayName": target.setDisplayName(property(camelContext, java.lang.String.class, value)); return true;
+ case "gaugedecrement":
+ case "gaugeDecrement": target.setGaugeDecrement(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "gaugeincrement":
+ case "gaugeIncrement": target.setGaugeIncrement(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "gaugevalue":
+ case "gaugeValue": target.setGaugeValue(property(camelContext, java.lang.Number.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "mark": target.setMark(property(camelContext, java.lang.Long.class, value)); return true;
+ case "metricunit":
+ case "metricUnit": target.setMetricUnit(property(camelContext, java.lang.String.class, value)); return true;
+ case "tags": target.setTags(property(camelContext, java.lang.String.class, value)); return true;
+ case "value": target.setValue(property(camelContext, java.lang.Long.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientComponentConfigurer.java b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientComponentConfigurer.java
index 7542755..8211a9b 100644
--- a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientComponentConfigurer.java
+++ b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientComponentConfigurer.java
@@ -12,39 +12,26 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class MiloClientComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "defaultConfiguration": ((MiloClientComponent) target).setDefaultConfiguration(property(camelContext, org.apache.camel.component.milo.client.MiloClientConfiguration.class, value)); return true;
- case "applicationName": ((MiloClientComponent) target).setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationUri": ((MiloClientComponent) target).setApplicationUri(property(camelContext, java.lang.String.class, value)); return true;
- case "productUri": ((MiloClientComponent) target).setProductUri(property(camelContext, java.lang.String.class, value)); return true;
- case "reconnectTimeout": ((MiloClientComponent) target).setReconnectTimeout(property(camelContext, java.lang.Long.class, value)); return true;
- case "basicPropertyBinding": ((MiloClientComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((MiloClientComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((MiloClientComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "defaultconfiguration": ((MiloClientComponent) target).setDefaultConfiguration(property(camelContext, org.apache.camel.component.milo.client.MiloClientConfiguration.class, value)); return true;
- case "applicationname": ((MiloClientComponent) target).setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationuri": ((MiloClientComponent) target).setApplicationUri(property(camelContext, java.lang.String.class, value)); return true;
- case "producturi": ((MiloClientComponent) target).setProductUri(property(camelContext, java.lang.String.class, value)); return true;
- case "reconnecttimeout": ((MiloClientComponent) target).setReconnectTimeout(property(camelContext, java.lang.Long.class, value)); return true;
- case "basicpropertybinding": ((MiloClientComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((MiloClientComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((MiloClientComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ MiloClientComponent target = (MiloClientComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "defaultconfiguration":
+ case "defaultConfiguration": target.setDefaultConfiguration(property(camelContext, org.apache.camel.component.milo.client.MiloClientConfiguration.class, value)); return true;
+ case "applicationname":
+ case "applicationName": target.setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
+ case "applicationuri":
+ case "applicationUri": target.setApplicationUri(property(camelContext, java.lang.String.class, value)); return true;
+ case "producturi":
+ case "productUri": target.setProductUri(property(camelContext, java.lang.String.class, value)); return true;
+ case "reconnecttimeout":
+ case "reconnectTimeout": target.setReconnectTimeout(property(camelContext, java.lang.Long.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointConfigurer.java b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointConfigurer.java
index f92387b..1c7772d 100644
--- a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointConfigurer.java
+++ b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/client/MiloClientEndpointConfigurer.java
@@ -12,81 +12,65 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class MiloClientEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "clientId": ((MiloClientEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "defaultAwaitWrites": ((MiloClientEndpoint) target).setDefaultAwaitWrites(property(camelContext, boolean.class, value)); return true;
- case "discoveryEndpointSuffix": ((MiloClientEndpoint) target).getConfiguration().setDiscoveryEndpointSuffix(property(camelContext, java.lang.String.class, value)); return true;
- case "discoveryEndpointUri": ((MiloClientEndpoint) target).getConfiguration().setDiscoveryEndpointUri(property(camelContext, java.lang.String.class, value)); return true;
- case "method": ((MiloClientEndpoint) target).setMethod(property(camelContext, java.lang.String.class, value)); return true;
- case "node": ((MiloClientEndpoint) target).setNode(property(camelContext, java.lang.String.class, value)); return true;
- case "samplingInterval": ((MiloClientEndpoint) target).setSamplingInterval(property(camelContext, java.lang.Double.class, value)); return true;
- case "bridgeErrorHandler": ((MiloClientEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((MiloClientEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((MiloClientEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((MiloClientEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((MiloClientEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((MiloClientEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "allowedSecurityPolicies": ((MiloClientEndpoint) target).getConfiguration().setAllowedSecurityPolicies(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationName": ((MiloClientEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationUri": ((MiloClientEndpoint) target).getConfiguration().setApplicationUri(property(camelContext, java.lang.String.class, value)); return true;
- case "channelLifetime": ((MiloClientEndpoint) target).getConfiguration().setChannelLifetime(property(camelContext, java.lang.Long.class, value)); return true;
- case "keyAlias": ((MiloClientEndpoint) target).getConfiguration().setKeyAlias(property(camelContext, java.lang.String.class, value)); return true;
- case "keyPassword": ((MiloClientEndpoint) target).getConfiguration().setKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "keyStorePassword": ((MiloClientEndpoint) target).getConfiguration().setKeyStorePassword(property(camelContext, java.lang.String.class, value)); return true;
- case "keyStoreType": ((MiloClientEndpoint) target).getConfiguration().setKeyStoreType(property(camelContext, java.lang.String.class, value)); return true;
- case "keyStoreUrl": ((MiloClientEndpoint) target).getConfiguration().setKeyStoreUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "maxPendingPublishRequests": ((MiloClientEndpoint) target).getConfiguration().setMaxPendingPublishRequests(property(camelContext, java.lang.Long.class, value)); return true;
- case "maxResponseMessageSize": ((MiloClientEndpoint) target).getConfiguration().setMaxResponseMessageSize(property(camelContext, java.lang.Long.class, value)); return true;
- case "overrideHost": ((MiloClientEndpoint) target).getConfiguration().setOverrideHost(property(camelContext, boolean.class, value)); return true;
- case "productUri": ((MiloClientEndpoint) target).getConfiguration().setProductUri(property(camelContext, java.lang.String.class, value)); return true;
- case "requestTimeout": ((MiloClientEndpoint) target).getConfiguration().setRequestTimeout(property(camelContext, java.lang.Long.class, value)); return true;
- case "sessionName": ((MiloClientEndpoint) target).getConfiguration().setSessionName(property(camelContext, java.lang.String.class, value)); return true;
- case "sessionTimeout": ((MiloClientEndpoint) target).getConfiguration().setSessionTimeout(property(camelContext, java.lang.Long.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "clientid": ((MiloClientEndpoint) target).getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "defaultawaitwrites": ((MiloClientEndpoint) target).setDefaultAwaitWrites(property(camelContext, boolean.class, value)); return true;
- case "discoveryendpointsuffix": ((MiloClientEndpoint) target).getConfiguration().setDiscoveryEndpointSuffix(property(camelContext, java.lang.String.class, value)); return true;
- case "discoveryendpointuri": ((MiloClientEndpoint) target).getConfiguration().setDiscoveryEndpointUri(property(camelContext, java.lang.String.class, value)); return true;
- case "method": ((MiloClientEndpoint) target).setMethod(property(camelContext, java.lang.String.class, value)); return true;
- case "node": ((MiloClientEndpoint) target).setNode(property(camelContext, java.lang.String.class, value)); return true;
- case "samplinginterval": ((MiloClientEndpoint) target).setSamplingInterval(property(camelContext, java.lang.Double.class, value)); return true;
- case "bridgeerrorhandler": ((MiloClientEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((MiloClientEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((MiloClientEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((MiloClientEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((MiloClientEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((MiloClientEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "allowedsecuritypolicies": ((MiloClientEndpoint) target).getConfiguration().setAllowedSecurityPolicies(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationname": ((MiloClientEndpoint) target).getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationuri": ((MiloClientEndpoint) target).getConfiguration().setApplicationUri(property(camelContext, java.lang.String.class, value)); return true;
- case "channellifetime": ((MiloClientEndpoint) target).getConfiguration().setChannelLifetime(property(camelContext, java.lang.Long.class, value)); return true;
- case "keyalias": ((MiloClientEndpoint) target).getConfiguration().setKeyAlias(property(camelContext, java.lang.String.class, value)); return true;
- case "keypassword": ((MiloClientEndpoint) target).getConfiguration().setKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "keystorepassword": ((MiloClientEndpoint) target).getConfiguration().setKeyStorePassword(property(camelContext, java.lang.String.class, value)); return true;
- case "keystoretype": ((MiloClientEndpoint) target).getConfiguration().setKeyStoreType(property(camelContext, java.lang.String.class, value)); return true;
- case "keystoreurl": ((MiloClientEndpoint) target).getConfiguration().setKeyStoreUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "maxpendingpublishrequests": ((MiloClientEndpoint) target).getConfiguration().setMaxPendingPublishRequests(property(camelContext, java.lang.Long.class, value)); return true;
- case "maxresponsemessagesize": ((MiloClientEndpoint) target).getConfiguration().setMaxResponseMessageSize(property(camelContext, java.lang.Long.class, value)); return true;
- case "overridehost": ((MiloClientEndpoint) target).getConfiguration().setOverrideHost(property(camelContext, boolean.class, value)); return true;
- case "producturi": ((MiloClientEndpoint) target).getConfiguration().setProductUri(property(camelContext, java.lang.String.class, value)); return true;
- case "requesttimeout": ((MiloClientEndpoint) target).getConfiguration().setRequestTimeout(property(camelContext, java.lang.Long.class, value)); return true;
- case "sessionname": ((MiloClientEndpoint) target).getConfiguration().setSessionName(property(camelContext, java.lang.String.class, value)); return true;
- case "sessiontimeout": ((MiloClientEndpoint) target).getConfiguration().setSessionTimeout(property(camelContext, java.lang.Long.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ MiloClientEndpoint target = (MiloClientEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "clientid":
+ case "clientId": target.getConfiguration().setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "defaultawaitwrites":
+ case "defaultAwaitWrites": target.setDefaultAwaitWrites(property(camelContext, boolean.class, value)); return true;
+ case "discoveryendpointsuffix":
+ case "discoveryEndpointSuffix": target.getConfiguration().setDiscoveryEndpointSuffix(property(camelContext, java.lang.String.class, value)); return true;
+ case "discoveryendpointuri":
+ case "discoveryEndpointUri": target.getConfiguration().setDiscoveryEndpointUri(property(camelContext, java.lang.String.class, value)); return true;
+ case "method": target.setMethod(property(camelContext, java.lang.String.class, value)); return true;
+ case "node": target.setNode(property(camelContext, java.lang.String.class, value)); return true;
+ case "samplinginterval":
+ case "samplingInterval": target.setSamplingInterval(property(camelContext, java.lang.Double.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "allowedsecuritypolicies":
+ case "allowedSecurityPolicies": target.getConfiguration().setAllowedSecurityPolicies(property(camelContext, java.lang.String.class, value)); return true;
+ case "applicationname":
+ case "applicationName": target.getConfiguration().setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
+ case "applicationuri":
+ case "applicationUri": target.getConfiguration().setApplicationUri(property(camelContext, java.lang.String.class, value)); return true;
+ case "channellifetime":
+ case "channelLifetime": target.getConfiguration().setChannelLifetime(property(camelContext, java.lang.Long.class, value)); return true;
+ case "keyalias":
+ case "keyAlias": target.getConfiguration().setKeyAlias(property(camelContext, java.lang.String.class, value)); return true;
+ case "keypassword":
+ case "keyPassword": target.getConfiguration().setKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "keystorepassword":
+ case "keyStorePassword": target.getConfiguration().setKeyStorePassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "keystoretype":
+ case "keyStoreType": target.getConfiguration().setKeyStoreType(property(camelContext, java.lang.String.class, value)); return true;
+ case "keystoreurl":
+ case "keyStoreUrl": target.getConfiguration().setKeyStoreUrl(property(camelContext, java.lang.String.class, value)); return true;
+ case "maxpendingpublishrequests":
+ case "maxPendingPublishRequests": target.getConfiguration().setMaxPendingPublishRequests(property(camelContext, java.lang.Long.class, value)); return true;
+ case "maxresponsemessagesize":
+ case "maxResponseMessageSize": target.getConfiguration().setMaxResponseMessageSize(property(camelContext, java.lang.Long.class, value)); return true;
+ case "overridehost":
+ case "overrideHost": target.getConfiguration().setOverrideHost(property(camelContext, boolean.class, value)); return true;
+ case "producturi":
+ case "productUri": target.getConfiguration().setProductUri(property(camelContext, java.lang.String.class, value)); return true;
+ case "requesttimeout":
+ case "requestTimeout": target.getConfiguration().setRequestTimeout(property(camelContext, java.lang.Long.class, value)); return true;
+ case "sessionname":
+ case "sessionName": target.getConfiguration().setSessionName(property(camelContext, java.lang.String.class, value)); return true;
+ case "sessiontimeout":
+ case "sessionTimeout": target.getConfiguration().setSessionTimeout(property(camelContext, java.lang.Long.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/server/MiloServerComponentConfigurer.java b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/server/MiloServerComponentConfigurer.java
index 01a4352..7256c60 100644
--- a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/server/MiloServerComponentConfigurer.java
+++ b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/server/MiloServerComponentConfigurer.java
@@ -12,67 +12,53 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class MiloServerComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "namespaceUri": ((MiloServerComponent) target).setNamespaceUri(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationName": ((MiloServerComponent) target).setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationUri": ((MiloServerComponent) target).setApplicationUri(property(camelContext, java.lang.String.class, value)); return true;
- case "productUri": ((MiloServerComponent) target).setProductUri(property(camelContext, java.lang.String.class, value)); return true;
- case "bindPort": ((MiloServerComponent) target).setBindPort(property(camelContext, int.class, value)); return true;
- case "strictEndpointUrlsEnabled": ((MiloServerComponent) target).setStrictEndpointUrlsEnabled(property(camelContext, boolean.class, value)); return true;
- case "serverName": ((MiloServerComponent) target).setServerName(property(camelContext, java.lang.String.class, value)); return true;
- case "hostname": ((MiloServerComponent) target).setHostname(property(camelContext, java.lang.String.class, value)); return true;
- case "securityPolicies": ((MiloServerComponent) target).setSecurityPolicies(property(camelContext, java.util.Set.class, value)); return true;
- case "securityPoliciesById": ((MiloServerComponent) target).setSecurityPoliciesById(property(camelContext, java.util.Collection.class, value)); return true;
- case "userAuthenticationCredentials": ((MiloServerComponent) target).setUserAuthenticationCredentials(property(camelContext, java.lang.String.class, value)); return true;
- case "enableAnonymousAuthentication": ((MiloServerComponent) target).setEnableAnonymousAuthentication(property(camelContext, boolean.class, value)); return true;
- case "usernameSecurityPolicyUri": ((MiloServerComponent) target).setUsernameSecurityPolicyUri(property(camelContext, org.eclipse.milo.opcua.stack.core.security.SecurityPolicy.class, value)); return true;
- case "bindAddresses": ((MiloServerComponent) target).setBindAddresses(property(camelContext, java.lang.String.class, value)); return true;
- case "buildInfo": ((MiloServerComponent) target).setBuildInfo(property(camelContext, org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo.class, value)); return true;
- case "serverCertificate": ((MiloServerComponent) target).setServerCertificate(property(camelContext, org.apache.camel.component.milo.KeyStoreLoader.Result.class, value)); return true;
- case "certificateManager": ((MiloServerComponent) target).setCertificateManager(property(camelContext, org.eclipse.milo.opcua.stack.core.application.CertificateManager.class, value)); return true;
- case "certificateValidator": ((MiloServerComponent) target).setCertificateValidator(property(camelContext, java.util.function.Supplier.class, value)); return true;
- case "defaultCertificateValidator": ((MiloServerComponent) target).setDefaultCertificateValidator(property(camelContext, java.io.File.class, value)); return true;
- case "basicPropertyBinding": ((MiloServerComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((MiloServerComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((MiloServerComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "namespaceuri": ((MiloServerComponent) target).setNamespaceUri(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationname": ((MiloServerComponent) target).setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
- case "applicationuri": ((MiloServerComponent) target).setApplicationUri(property(camelContext, java.lang.String.class, value)); return true;
- case "producturi": ((MiloServerComponent) target).setProductUri(property(camelContext, java.lang.String.class, value)); return true;
- case "bindport": ((MiloServerComponent) target).setBindPort(property(camelContext, int.class, value)); return true;
- case "strictendpointurlsenabled": ((MiloServerComponent) target).setStrictEndpointUrlsEnabled(property(camelContext, boolean.class, value)); return true;
- case "servername": ((MiloServerComponent) target).setServerName(property(camelContext, java.lang.String.class, value)); return true;
- case "hostname": ((MiloServerComponent) target).setHostname(property(camelContext, java.lang.String.class, value)); return true;
- case "securitypolicies": ((MiloServerComponent) target).setSecurityPolicies(property(camelContext, java.util.Set.class, value)); return true;
- case "securitypoliciesbyid": ((MiloServerComponent) target).setSecurityPoliciesById(property(camelContext, java.util.Collection.class, value)); return true;
- case "userauthenticationcredentials": ((MiloServerComponent) target).setUserAuthenticationCredentials(property(camelContext, java.lang.String.class, value)); return true;
- case "enableanonymousauthentication": ((MiloServerComponent) target).setEnableAnonymousAuthentication(property(camelContext, boolean.class, value)); return true;
- case "usernamesecuritypolicyuri": ((MiloServerComponent) target).setUsernameSecurityPolicyUri(property(camelContext, org.eclipse.milo.opcua.stack.core.security.SecurityPolicy.class, value)); return true;
- case "bindaddresses": ((MiloServerComponent) target).setBindAddresses(property(camelContext, java.lang.String.class, value)); return true;
- case "buildinfo": ((MiloServerComponent) target).setBuildInfo(property(camelContext, org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo.class, value)); return true;
- case "servercertificate": ((MiloServerComponent) target).setServerCertificate(property(camelContext, org.apache.camel.component.milo.KeyStoreLoader.Result.class, value)); return true;
- case "certificatemanager": ((MiloServerComponent) target).setCertificateManager(property(camelContext, org.eclipse.milo.opcua.stack.core.application.CertificateManager.class, value)); return true;
- case "certificatevalidator": ((MiloServerComponent) target).setCertificateValidator(property(camelContext, java.util.function.Supplier.class, value)); return true;
- case "defaultcertificatevalidator": ((MiloServerComponent) target).setDefaultCertificateValidator(property(camelContext, java.io.File.class, value)); return true;
- case "basicpropertybinding": ((MiloServerComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((MiloServerComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((MiloServerComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ MiloServerComponent target = (MiloServerComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "namespaceuri":
+ case "namespaceUri": target.setNamespaceUri(property(camelContext, java.lang.String.class, value)); return true;
+ case "applicationname":
+ case "applicationName": target.setApplicationName(property(camelContext, java.lang.String.class, value)); return true;
+ case "applicationuri":
+ case "applicationUri": target.setApplicationUri(property(camelContext, java.lang.String.class, value)); return true;
+ case "producturi":
+ case "productUri": target.setProductUri(property(camelContext, java.lang.String.class, value)); return true;
+ case "bindport":
+ case "bindPort": target.setBindPort(property(camelContext, int.class, value)); return true;
+ case "strictendpointurlsenabled":
+ case "strictEndpointUrlsEnabled": target.setStrictEndpointUrlsEnabled(property(camelContext, boolean.class, value)); return true;
+ case "servername":
+ case "serverName": target.setServerName(property(camelContext, java.lang.String.class, value)); return true;
+ case "hostname": target.setHostname(property(camelContext, java.lang.String.class, value)); return true;
+ case "securitypolicies":
+ case "securityPolicies": target.setSecurityPolicies(property(camelContext, java.util.Set.class, value)); return true;
+ case "securitypoliciesbyid":
+ case "securityPoliciesById": target.setSecurityPoliciesById(property(camelContext, java.util.Collection.class, value)); return true;
+ case "userauthenticationcredentials":
+ case "userAuthenticationCredentials": target.setUserAuthenticationCredentials(property(camelContext, java.lang.String.class, value)); return true;
+ case "enableanonymousauthentication":
+ case "enableAnonymousAuthentication": target.setEnableAnonymousAuthentication(property(camelContext, boolean.class, value)); return true;
+ case "usernamesecuritypolicyuri":
+ case "usernameSecurityPolicyUri": target.setUsernameSecurityPolicyUri(property(camelContext, org.eclipse.milo.opcua.stack.core.security.SecurityPolicy.class, value)); return true;
+ case "bindaddresses":
+ case "bindAddresses": target.setBindAddresses(property(camelContext, java.lang.String.class, value)); return true;
+ case "buildinfo":
+ case "buildInfo": target.setBuildInfo(property(camelContext, org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo.class, value)); return true;
+ case "servercertificate":
+ case "serverCertificate": target.setServerCertificate(property(camelContext, org.apache.camel.component.milo.KeyStoreLoader.Result.class, value)); return true;
+ case "certificatemanager":
+ case "certificateManager": target.setCertificateManager(property(camelContext, org.eclipse.milo.opcua.stack.core.application.CertificateManager.class, value)); return true;
+ case "certificatevalidator":
+ case "certificateValidator": target.setCertificateValidator(property(camelContext, java.util.function.Supplier.class, value)); return true;
+ case "defaultcertificatevalidator":
+ case "defaultCertificateValidator": target.setDefaultCertificateValidator(property(camelContext, java.io.File.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/server/MiloServerEndpointConfigurer.java b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/server/MiloServerEndpointConfigurer.java
index 27997cd..22fb4c2 100644
--- a/components/camel-milo/src/generated/java/org/apache/camel/component/milo/server/MiloServerEndpointConfigurer.java
+++ b/components/camel-milo/src/generated/java/org/apache/camel/component/milo/server/MiloServerEndpointConfigurer.java
@@ -12,35 +12,21 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class MiloServerEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "bridgeErrorHandler": ((MiloServerEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((MiloServerEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((MiloServerEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazyStartProducer": ((MiloServerEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((MiloServerEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((MiloServerEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "bridgeerrorhandler": ((MiloServerEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((MiloServerEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((MiloServerEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "lazystartproducer": ((MiloServerEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((MiloServerEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((MiloServerEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ MiloServerEndpoint target = (MiloServerEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-milo/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-milo/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 8a3f3ef..6a70e75 100644
--- a/components/camel-milo/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-milo/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=milo-server milo-client
+components=milo-client milo-server
groupId=org.apache.camel
artifactId=camel-milo
version=3.1.0-SNAPSHOT
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/cinder/CinderComponentConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/cinder/CinderComponentConfigurer.java
index 771c161..cb00d24 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/cinder/CinderComponentConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/cinder/CinderComponentConfigurer.java
@@ -12,27 +12,14 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class CinderComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "basicPropertyBinding": ((CinderComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((CinderComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "basicpropertybinding": ((CinderComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((CinderComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ CinderComponent target = (CinderComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/cinder/CinderEndpointConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/cinder/CinderEndpointConfigurer.java
index 97f7110..57c507f 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/cinder/CinderEndpointConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/cinder/CinderEndpointConfigurer.java
@@ -12,45 +12,24 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class CinderEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "apiVersion": ((CinderEndpoint) target).setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "config": ((CinderEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((CinderEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazyStartProducer": ((CinderEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((CinderEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((CinderEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((CinderEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "subsystem": ((CinderEndpoint) target).setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((CinderEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((CinderEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((CinderEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "apiversion": ((CinderEndpoint) target).setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "config": ((CinderEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((CinderEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazystartproducer": ((CinderEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((CinderEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((CinderEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((CinderEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "subsystem": ((CinderEndpoint) target).setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((CinderEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((CinderEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((CinderEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ CinderEndpoint target = (CinderEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "apiversion":
+ case "apiVersion": target.setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
+ case "config": target.setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
+ case "domain": target.setDomain(property(camelContext, java.lang.String.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "operation": target.setOperation(property(camelContext, java.lang.String.class, value)); return true;
+ case "password": target.setPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "project": target.setProject(property(camelContext, java.lang.String.class, value)); return true;
+ case "subsystem": target.setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
+ case "username": target.setUsername(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/glance/GlanceComponentConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/glance/GlanceComponentConfigurer.java
index 508d215..01f6080 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/glance/GlanceComponentConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/glance/GlanceComponentConfigurer.java
@@ -12,27 +12,14 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GlanceComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "basicPropertyBinding": ((GlanceComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((GlanceComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "basicpropertybinding": ((GlanceComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((GlanceComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GlanceComponent target = (GlanceComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/glance/GlanceEndpointConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/glance/GlanceEndpointConfigurer.java
index 57d880e..5278eb7 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/glance/GlanceEndpointConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/glance/GlanceEndpointConfigurer.java
@@ -12,43 +12,23 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class GlanceEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "apiVersion": ((GlanceEndpoint) target).setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "config": ((GlanceEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((GlanceEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazyStartProducer": ((GlanceEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((GlanceEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((GlanceEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((GlanceEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((GlanceEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((GlanceEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GlanceEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "apiversion": ((GlanceEndpoint) target).setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "config": ((GlanceEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((GlanceEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazystartproducer": ((GlanceEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((GlanceEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((GlanceEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((GlanceEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((GlanceEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((GlanceEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((GlanceEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ GlanceEndpoint target = (GlanceEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "apiversion":
+ case "apiVersion": target.setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
+ case "config": target.setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
+ case "domain": target.setDomain(property(camelContext, java.lang.String.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "operation": target.setOperation(property(camelContext, java.lang.String.class, value)); return true;
+ case "password": target.setPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "project": target.setProject(property(camelContext, java.lang.String.class, value)); return true;
+ case "username": target.setUsername(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/keystone/KeystoneComponentConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/keystone/KeystoneComponentConfigurer.java
index 5c4ba9f..2ce20e9 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/keystone/KeystoneComponentConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/keystone/KeystoneComponentConfigurer.java
@@ -12,27 +12,14 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class KeystoneComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "basicPropertyBinding": ((KeystoneComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((KeystoneComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "basicpropertybinding": ((KeystoneComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((KeystoneComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ KeystoneComponent target = (KeystoneComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/keystone/KeystoneEndpointConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/keystone/KeystoneEndpointConfigurer.java
index 721ebf2..f0c187d 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/keystone/KeystoneEndpointConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/keystone/KeystoneEndpointConfigurer.java
@@ -12,43 +12,22 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class KeystoneEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "config": ((KeystoneEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((KeystoneEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazyStartProducer": ((KeystoneEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((KeystoneEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((KeystoneEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((KeystoneEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "subsystem": ((KeystoneEndpoint) target).setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((KeystoneEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((KeystoneEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((KeystoneEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "config": ((KeystoneEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((KeystoneEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazystartproducer": ((KeystoneEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((KeystoneEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((KeystoneEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((KeystoneEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "subsystem": ((KeystoneEndpoint) target).setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((KeystoneEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((KeystoneEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((KeystoneEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ KeystoneEndpoint target = (KeystoneEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "config": target.setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
+ case "domain": target.setDomain(property(camelContext, java.lang.String.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "operation": target.setOperation(property(camelContext, java.lang.String.class, value)); return true;
+ case "password": target.setPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "project": target.setProject(property(camelContext, java.lang.String.class, value)); return true;
+ case "subsystem": target.setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
+ case "username": target.setUsername(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/neutron/NeutronComponentConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/neutron/NeutronComponentConfigurer.java
index af76c83..1a13169 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/neutron/NeutronComponentConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/neutron/NeutronComponentConfigurer.java
@@ -12,27 +12,14 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class NeutronComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "basicPropertyBinding": ((NeutronComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((NeutronComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "basicpropertybinding": ((NeutronComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((NeutronComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ NeutronComponent target = (NeutronComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/neutron/NeutronEndpointConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/neutron/NeutronEndpointConfigurer.java
index 7f04dac..60197ab 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/neutron/NeutronEndpointConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/neutron/NeutronEndpointConfigurer.java
@@ -12,45 +12,24 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class NeutronEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "apiVersion": ((NeutronEndpoint) target).setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "config": ((NeutronEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((NeutronEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazyStartProducer": ((NeutronEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((NeutronEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((NeutronEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((NeutronEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "subsystem": ((NeutronEndpoint) target).setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((NeutronEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((NeutronEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((NeutronEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "apiversion": ((NeutronEndpoint) target).setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "config": ((NeutronEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((NeutronEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazystartproducer": ((NeutronEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((NeutronEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((NeutronEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((NeutronEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "subsystem": ((NeutronEndpoint) target).setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((NeutronEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((NeutronEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((NeutronEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ NeutronEndpoint target = (NeutronEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "apiversion":
+ case "apiVersion": target.setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
+ case "config": target.setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
+ case "domain": target.setDomain(property(camelContext, java.lang.String.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "operation": target.setOperation(property(camelContext, java.lang.String.class, value)); return true;
+ case "password": target.setPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "project": target.setProject(property(camelContext, java.lang.String.class, value)); return true;
+ case "subsystem": target.setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
+ case "username": target.setUsername(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/nova/NovaComponentConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/nova/NovaComponentConfigurer.java
index f733f18..98ee683 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/nova/NovaComponentConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/nova/NovaComponentConfigurer.java
@@ -12,27 +12,14 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class NovaComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "basicPropertyBinding": ((NovaComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((NovaComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "basicpropertybinding": ((NovaComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((NovaComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ NovaComponent target = (NovaComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/nova/NovaEndpointConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/nova/NovaEndpointConfigurer.java
index 62514b2..6835650 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/nova/NovaEndpointConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/nova/NovaEndpointConfigurer.java
@@ -12,45 +12,24 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class NovaEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "apiVersion": ((NovaEndpoint) target).setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "config": ((NovaEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((NovaEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazyStartProducer": ((NovaEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((NovaEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((NovaEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((NovaEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "subsystem": ((NovaEndpoint) target).setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((NovaEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((NovaEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((NovaEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "apiversion": ((NovaEndpoint) target).setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "config": ((NovaEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((NovaEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazystartproducer": ((NovaEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((NovaEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((NovaEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((NovaEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "subsystem": ((NovaEndpoint) target).setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((NovaEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((NovaEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((NovaEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ NovaEndpoint target = (NovaEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "apiversion":
+ case "apiVersion": target.setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
+ case "config": target.setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
+ case "domain": target.setDomain(property(camelContext, java.lang.String.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "operation": target.setOperation(property(camelContext, java.lang.String.class, value)); return true;
+ case "password": target.setPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "project": target.setProject(property(camelContext, java.lang.String.class, value)); return true;
+ case "subsystem": target.setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
+ case "username": target.setUsername(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/swift/SwiftComponentConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/swift/SwiftComponentConfigurer.java
index 04dde5d..87c9d92 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/swift/SwiftComponentConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/swift/SwiftComponentConfigurer.java
@@ -12,27 +12,14 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class SwiftComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "basicPropertyBinding": ((SwiftComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((SwiftComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "basicpropertybinding": ((SwiftComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((SwiftComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ SwiftComponent target = (SwiftComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/swift/SwiftEndpointConfigurer.java b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/swift/SwiftEndpointConfigurer.java
index 8a02524..ae690f0b 100644
--- a/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/swift/SwiftEndpointConfigurer.java
+++ b/components/camel-openstack/src/generated/java/org/apache/camel/component/openstack/swift/SwiftEndpointConfigurer.java
@@ -12,45 +12,24 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class SwiftEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "apiVersion": ((SwiftEndpoint) target).setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "config": ((SwiftEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((SwiftEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazyStartProducer": ((SwiftEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((SwiftEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((SwiftEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((SwiftEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "subsystem": ((SwiftEndpoint) target).setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((SwiftEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((SwiftEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((SwiftEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "apiversion": ((SwiftEndpoint) target).setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "config": ((SwiftEndpoint) target).setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
- case "domain": ((SwiftEndpoint) target).setDomain(property(camelContext, java.lang.String.class, value)); return true;
- case "lazystartproducer": ((SwiftEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "operation": ((SwiftEndpoint) target).setOperation(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((SwiftEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "project": ((SwiftEndpoint) target).setProject(property(camelContext, java.lang.String.class, value)); return true;
- case "subsystem": ((SwiftEndpoint) target).setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((SwiftEndpoint) target).setUsername(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((SwiftEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((SwiftEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ SwiftEndpoint target = (SwiftEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "apiversion":
+ case "apiVersion": target.setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
+ case "config": target.setConfig(property(camelContext, org.openstack4j.core.transport.Config.class, value)); return true;
+ case "domain": target.setDomain(property(camelContext, java.lang.String.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "operation": target.setOperation(property(camelContext, java.lang.String.class, value)); return true;
+ case "password": target.setPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "project": target.setProject(property(camelContext, java.lang.String.class, value)); return true;
+ case "subsystem": target.setSubsystem(property(camelContext, java.lang.String.class, value)); return true;
+ case "username": target.setUsername(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-openstack/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-openstack/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 1bf8213..9971b6d 100644
--- a/components/camel-openstack/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-openstack/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=openstack-glance openstack-keystone openstack-swift openstack-neutron openstack-nova openstack-cinder
+components=openstack-cinder openstack-glance openstack-keystone openstack-neutron openstack-nova openstack-swift
groupId=org.apache.camel
artifactId=camel-openstack
version=3.1.0-SNAPSHOT
diff --git a/components/camel-pg-replication-slot/src/generated/java/org/apache/camel/component/pg/replication/slot/PgReplicationSlotComponentConfigurer.java b/components/camel-pg-replication-slot/src/generated/java/org/apache/camel/component/pg/replication/slot/PgReplicationSlotComponentConfigurer.java
index 940087e..5bb0395 100644
--- a/components/camel-pg-replication-slot/src/generated/java/org/apache/camel/component/pg/replication/slot/PgReplicationSlotComponentConfigurer.java
+++ b/components/camel-pg-replication-slot/src/generated/java/org/apache/camel/component/pg/replication/slot/PgReplicationSlotComponentConfigurer.java
@@ -12,27 +12,14 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class PgReplicationSlotComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "basicPropertyBinding": ((PgReplicationSlotComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((PgReplicationSlotComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "basicpropertybinding": ((PgReplicationSlotComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((PgReplicationSlotComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ PgReplicationSlotComponent target = (PgReplicationSlotComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-pg-replication-slot/src/generated/java/org/apache/camel/component/pg/replication/slot/PgReplicationSlotEndpointConfigurer.java b/components/camel-pg-replication-slot/src/generated/java/org/apache/camel/component/pg/replication/slot/PgReplicationSlotEndpointConfigurer.java
index 7b06629..056a280 100644
--- a/components/camel-pg-replication-slot/src/generated/java/org/apache/camel/component/pg/replication/slot/PgReplicationSlotEndpointConfigurer.java
+++ b/components/camel-pg-replication-slot/src/generated/java/org/apache/camel/component/pg/replication/slot/PgReplicationSlotEndpointConfigurer.java
@@ -12,75 +12,56 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class PgReplicationSlotEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "password": ((PgReplicationSlotEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "user": ((PgReplicationSlotEndpoint) target).setUser(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((PgReplicationSlotEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendEmptyMessageWhenIdle": ((PgReplicationSlotEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionHandler": ((PgReplicationSlotEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((PgReplicationSlotEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollStrategy": ((PgReplicationSlotEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "autoCreateSlot": ((PgReplicationSlotEndpoint) target).setAutoCreateSlot(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "basicPropertyBinding": ((PgReplicationSlotEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "slotOptions": ((PgReplicationSlotEndpoint) target).setSlotOptions(property(camelContext, java.util.Map.class, value)); return true;
- case "statusInterval": ((PgReplicationSlotEndpoint) target).setStatusInterval(property(camelContext, java.lang.Integer.class, value)); return true;
- case "synchronous": ((PgReplicationSlotEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backoffErrorThreshold": ((PgReplicationSlotEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffIdleThreshold": ((PgReplicationSlotEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffMultiplier": ((PgReplicationSlotEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((PgReplicationSlotEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((PgReplicationSlotEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialDelay": ((PgReplicationSlotEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatCount": ((PgReplicationSlotEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runLoggingLevel": ((PgReplicationSlotEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledExecutorService": ((PgReplicationSlotEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((PgReplicationSlotEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerProperties": ((PgReplicationSlotEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startScheduler": ((PgReplicationSlotEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeUnit": ((PgReplicationSlotEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "useFixedDelay": ((PgReplicationSlotEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "password": ((PgReplicationSlotEndpoint) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "user": ((PgReplicationSlotEndpoint) target).setUser(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((PgReplicationSlotEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendemptymessagewhenidle": ((PgReplicationSlotEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "exceptionhandler": ((PgReplicationSlotEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((PgReplicationSlotEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "pollstrategy": ((PgReplicationSlotEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "autocreateslot": ((PgReplicationSlotEndpoint) target).setAutoCreateSlot(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "basicpropertybinding": ((PgReplicationSlotEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "slotoptions": ((PgReplicationSlotEndpoint) target).setSlotOptions(property(camelContext, java.util.Map.class, value)); return true;
- case "statusinterval": ((PgReplicationSlotEndpoint) target).setStatusInterval(property(camelContext, java.lang.Integer.class, value)); return true;
- case "synchronous": ((PgReplicationSlotEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backofferrorthreshold": ((PgReplicationSlotEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffidlethreshold": ((PgReplicationSlotEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffmultiplier": ((PgReplicationSlotEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((PgReplicationSlotEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((PgReplicationSlotEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialdelay": ((PgReplicationSlotEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatcount": ((PgReplicationSlotEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runlogginglevel": ((PgReplicationSlotEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledexecutorservice": ((PgReplicationSlotEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((PgReplicationSlotEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerproperties": ((PgReplicationSlotEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startscheduler": ((PgReplicationSlotEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeunit": ((PgReplicationSlotEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "usefixeddelay": ((PgReplicationSlotEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ PgReplicationSlotEndpoint target = (PgReplicationSlotEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "password": target.setPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "user": target.setUser(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "sendemptymessagewhenidle":
+ case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "pollstrategy":
+ case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
+ case "autocreateslot":
+ case "autoCreateSlot": target.setAutoCreateSlot(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "slotoptions":
+ case "slotOptions": target.setSlotOptions(property(camelContext, java.util.Map.class, value)); return true;
+ case "statusinterval":
+ case "statusInterval": target.setStatusInterval(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "backofferrorthreshold":
+ case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffidlethreshold":
+ case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffmultiplier":
+ case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true;
+ case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
+ case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true;
+ case "initialdelay":
+ case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true;
+ case "repeatcount":
+ case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true;
+ case "runlogginglevel":
+ case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
+ case "scheduledexecutorservice":
+ case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
+ case "scheduler": target.setScheduler(property(camelContext, java.lang.String.class, value)); return true;
+ case "schedulerproperties":
+ case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
+ case "startscheduler":
+ case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true;
+ case "timeunit":
+ case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
+ case "usefixeddelay":
+ case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-platform-http/src/generated/java/org/apache/camel/component/platform/http/PlatformHttpComponentConfigurer.java b/components/camel-platform-http/src/generated/java/org/apache/camel/component/platform/http/PlatformHttpComponentConfigurer.java
index 6e5efa0..7d2330c 100644
--- a/components/camel-platform-http/src/generated/java/org/apache/camel/component/platform/http/PlatformHttpComponentConfigurer.java
+++ b/components/camel-platform-http/src/generated/java/org/apache/camel/component/platform/http/PlatformHttpComponentConfigurer.java
@@ -12,27 +12,14 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class PlatformHttpComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "basicPropertyBinding": ((PlatformHttpComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((PlatformHttpComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "basicpropertybinding": ((PlatformHttpComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((PlatformHttpComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ PlatformHttpComponent target = (PlatformHttpComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-platform-http/src/generated/java/org/apache/camel/component/platform/http/PlatformHttpEndpointConfigurer.java b/components/camel-platform-http/src/generated/java/org/apache/camel/component/platform/http/PlatformHttpEndpointConfigurer.java
index 79323eb..4ddd11b 100644
--- a/components/camel-platform-http/src/generated/java/org/apache/camel/component/platform/http/PlatformHttpEndpointConfigurer.java
+++ b/components/camel-platform-http/src/generated/java/org/apache/camel/component/platform/http/PlatformHttpEndpointConfigurer.java
@@ -12,45 +12,29 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class PlatformHttpEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "bridgeErrorHandler": ((PlatformHttpEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "consumes": ((PlatformHttpEndpoint) target).setConsumes(property(camelContext, java.lang.String.class, value)); return true;
- case "httpMethodRestrict": ((PlatformHttpEndpoint) target).setHttpMethodRestrict(property(camelContext, java.lang.String.class, value)); return true;
- case "produces": ((PlatformHttpEndpoint) target).setProduces(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionHandler": ((PlatformHttpEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((PlatformHttpEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "fileNameExtWhitelist": ((PlatformHttpEndpoint) target).setFileNameExtWhitelist(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((PlatformHttpEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "headerFilterStrategy": ((PlatformHttpEndpoint) target).setHeaderFilterStrategy(property(camelContext, org.apache.camel.spi.HeaderFilterStrategy.class, value)); return true;
- case "platformHttpEngine": ((PlatformHttpEndpoint) target).setPlatformHttpEngine(property(camelContext, org.apache.camel.component.platform.http.spi.PlatformHttpEngine.class, value)); return true;
- case "synchronous": ((PlatformHttpEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "bridgeerrorhandler": ((PlatformHttpEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "consumes": ((PlatformHttpEndpoint) target).setConsumes(property(camelContext, java.lang.String.class, value)); return true;
- case "httpmethodrestrict": ((PlatformHttpEndpoint) target).setHttpMethodRestrict(property(camelContext, java.lang.String.class, value)); return true;
- case "produces": ((PlatformHttpEndpoint) target).setProduces(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionhandler": ((PlatformHttpEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((PlatformHttpEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "filenameextwhitelist": ((PlatformHttpEndpoint) target).setFileNameExtWhitelist(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((PlatformHttpEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "headerfilterstrategy": ((PlatformHttpEndpoint) target).setHeaderFilterStrategy(property(camelContext, org.apache.camel.spi.HeaderFilterStrategy.class, value)); return true;
- case "platformhttpengine": ((PlatformHttpEndpoint) target).setPlatformHttpEngine(property(camelContext, org.apache.camel.component.platform.http.spi.PlatformHttpEngine.class, value)); return true;
- case "synchronous": ((PlatformHttpEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ PlatformHttpEndpoint target = (PlatformHttpEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "consumes": target.setConsumes(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpmethodrestrict":
+ case "httpMethodRestrict": target.setHttpMethodRestrict(property(camelContext, java.lang.String.class, value)); return true;
+ case "produces": target.setProduces(property(camelContext, java.lang.String.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "filenameextwhitelist":
+ case "fileNameExtWhitelist": target.setFileNameExtWhitelist(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "headerfilterstrategy":
+ case "headerFilterStrategy": target.setHeaderFilterStrategy(property(camelContext, org.apache.camel.spi.HeaderFilterStrategy.class, value)); return true;
+ case "platformhttpengine":
+ case "platformHttpEngine": target.setPlatformHttpEngine(property(camelContext, org.apache.camel.component.platform.http.spi.PlatformHttpEngine.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-reactive-streams/src/generated/java/org/apache/camel/component/reactive/streams/ReactiveStreamsComponentConfigurer.java b/components/camel-reactive-streams/src/generated/java/org/apache/camel/component/reactive/streams/ReactiveStreamsComponentConfigurer.java
index 4231bd6..9a23a2b 100644
--- a/components/camel-reactive-streams/src/generated/java/org/apache/camel/component/reactive/streams/ReactiveStreamsComponentConfigurer.java
+++ b/components/camel-reactive-streams/src/generated/java/org/apache/camel/component/reactive/streams/ReactiveStreamsComponentConfigurer.java
@@ -12,35 +12,22 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class ReactiveStreamsComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "internalEngineConfiguration": ((ReactiveStreamsComponent) target).setInternalEngineConfiguration(property(camelContext, org.apache.camel.component.reactive.streams.engine.ReactiveStreamsEngineConfiguration.class, value)); return true;
- case "backpressureStrategy": ((ReactiveStreamsComponent) target).setBackpressureStrategy(property(camelContext, org.apache.camel.component.reactive.streams.ReactiveStreamsBackpressureStrategy.class, value)); return true;
- case "serviceType": ((ReactiveStreamsComponent) target).setServiceType(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((ReactiveStreamsComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((ReactiveStreamsComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((ReactiveStreamsComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "internalengineconfiguration": ((ReactiveStreamsComponent) target).setInternalEngineConfiguration(property(camelContext, org.apache.camel.component.reactive.streams.engine.ReactiveStreamsEngineConfiguration.class, value)); return true;
- case "backpressurestrategy": ((ReactiveStreamsComponent) target).setBackpressureStrategy(property(camelContext, org.apache.camel.component.reactive.streams.ReactiveStreamsBackpressureStrategy.class, value)); return true;
- case "servicetype": ((ReactiveStreamsComponent) target).setServiceType(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((ReactiveStreamsComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((ReactiveStreamsComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((ReactiveStreamsComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ ReactiveStreamsComponent target = (ReactiveStreamsComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "internalengineconfiguration":
+ case "internalEngineConfiguration": target.setInternalEngineConfiguration(property(camelContext, org.apache.camel.component.reactive.streams.engine.ReactiveStreamsEngineConfiguration.class, value)); return true;
+ case "backpressurestrategy":
+ case "backpressureStrategy": target.setBackpressureStrategy(property(camelContext, org.apache.camel.component.reactive.streams.ReactiveStreamsBackpressureStrategy.class, value)); return true;
+ case "servicetype":
+ case "serviceType": target.setServiceType(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-reactive-streams/src/generated/java/org/apache/camel/component/reactive/streams/ReactiveStreamsEndpointConfigurer.java b/components/camel-reactive-streams/src/generated/java/org/apache/camel/component/reactive/streams/ReactiveStreamsEndpointConfigurer.java
index e6a7acb..6536df1 100644
--- a/components/camel-reactive-streams/src/generated/java/org/apache/camel/component/reactive/streams/ReactiveStreamsEndpointConfigurer.java
+++ b/components/camel-reactive-streams/src/generated/java/org/apache/camel/component/reactive/streams/ReactiveStreamsEndpointConfigurer.java
@@ -12,47 +12,33 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class ReactiveStreamsEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "bridgeErrorHandler": ((ReactiveStreamsEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "concurrentConsumers": ((ReactiveStreamsEndpoint) target).setConcurrentConsumers(property(camelContext, int.class, value)); return true;
- case "exchangesRefillLowWatermark": ((ReactiveStreamsEndpoint) target).setExchangesRefillLowWatermark(property(camelContext, double.class, value)); return true;
- case "forwardOnComplete": ((ReactiveStreamsEndpoint) target).setForwardOnComplete(property(camelContext, boolean.class, value)); return true;
- case "forwardOnError": ((ReactiveStreamsEndpoint) target).setForwardOnError(property(camelContext, boolean.class, value)); return true;
- case "maxInflightExchanges": ((ReactiveStreamsEndpoint) target).setMaxInflightExchanges(property(camelContext, java.lang.Integer.class, value)); return true;
- case "exceptionHandler": ((ReactiveStreamsEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((ReactiveStreamsEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "backpressureStrategy": ((ReactiveStreamsEndpoint) target).setBackpressureStrategy(property(camelContext, org.apache.camel.component.reactive.streams.ReactiveStreamsBackpressureStrategy.class, value)); return true;
- case "lazyStartProducer": ((ReactiveStreamsEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((ReactiveStreamsEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((ReactiveStreamsEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "bridgeerrorhandler": ((ReactiveStreamsEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "concurrentconsumers": ((ReactiveStreamsEndpoint) target).setConcurrentConsumers(property(camelContext, int.class, value)); return true;
- case "exchangesrefilllowwatermark": ((ReactiveStreamsEndpoint) target).setExchangesRefillLowWatermark(property(camelContext, double.class, value)); return true;
- case "forwardoncomplete": ((ReactiveStreamsEndpoint) target).setForwardOnComplete(property(camelContext, boolean.class, value)); return true;
- case "forwardonerror": ((ReactiveStreamsEndpoint) target).setForwardOnError(property(camelContext, boolean.class, value)); return true;
- case "maxinflightexchanges": ((ReactiveStreamsEndpoint) target).setMaxInflightExchanges(property(camelContext, java.lang.Integer.class, value)); return true;
- case "exceptionhandler": ((ReactiveStreamsEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((ReactiveStreamsEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "backpressurestrategy": ((ReactiveStreamsEndpoint) target).setBackpressureStrategy(property(camelContext, org.apache.camel.component.reactive.streams.ReactiveStreamsBackpressureStrategy.class, value)); return true;
- case "lazystartproducer": ((ReactiveStreamsEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((ReactiveStreamsEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((ReactiveStreamsEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ ReactiveStreamsEndpoint target = (ReactiveStreamsEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "concurrentconsumers":
+ case "concurrentConsumers": target.setConcurrentConsumers(property(camelContext, int.class, value)); return true;
+ case "exchangesrefilllowwatermark":
+ case "exchangesRefillLowWatermark": target.setExchangesRefillLowWatermark(property(camelContext, double.class, value)); return true;
+ case "forwardoncomplete":
+ case "forwardOnComplete": target.setForwardOnComplete(property(camelContext, boolean.class, value)); return true;
+ case "forwardonerror":
+ case "forwardOnError": target.setForwardOnError(property(camelContext, boolean.class, value)); return true;
+ case "maxinflightexchanges":
+ case "maxInflightExchanges": target.setMaxInflightExchanges(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "backpressurestrategy":
+ case "backpressureStrategy": target.setBackpressureStrategy(property(camelContext, org.apache.camel.component.reactive.streams.ReactiveStreamsBackpressureStrategy.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiComponentConfigurer.java b/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiComponentConfigurer.java
index a1a68f1..39fbafa 100644
--- a/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiComponentConfigurer.java
+++ b/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiComponentConfigurer.java
@@ -12,43 +12,27 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class RestOpenApiComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "basePath": ((RestOpenApiComponent) target).setBasePath(property(camelContext, java.lang.String.class, value)); return true;
- case "componentName": ((RestOpenApiComponent) target).setComponentName(property(camelContext, java.lang.String.class, value)); return true;
- case "consumes": ((RestOpenApiComponent) target).setConsumes(property(camelContext, java.lang.String.class, value)); return true;
- case "host": ((RestOpenApiComponent) target).setHost(property(camelContext, java.lang.String.class, value)); return true;
- case "produces": ((RestOpenApiComponent) target).setProduces(property(camelContext, java.lang.String.class, value)); return true;
- case "specificationUri": ((RestOpenApiComponent) target).setSpecificationUri(property(camelContext, java.net.URI.class, value)); return true;
- case "sslContextParameters": ((RestOpenApiComponent) target).setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
- case "useGlobalSslContextParameters": ((RestOpenApiComponent) target).setUseGlobalSslContextParameters(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((RestOpenApiComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((RestOpenApiComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "basepath": ((RestOpenApiComponent) target).setBasePath(property(camelContext, java.lang.String.class, value)); return true;
- case "componentname": ((RestOpenApiComponent) target).setComponentName(property(camelContext, java.lang.String.class, value)); return true;
- case "consumes": ((RestOpenApiComponent) target).setConsumes(property(camelContext, java.lang.String.class, value)); return true;
- case "host": ((RestOpenApiComponent) target).setHost(property(camelContext, java.lang.String.class, value)); return true;
- case "produces": ((RestOpenApiComponent) target).setProduces(property(camelContext, java.lang.String.class, value)); return true;
- case "specificationuri": ((RestOpenApiComponent) target).setSpecificationUri(property(camelContext, java.net.URI.class, value)); return true;
- case "sslcontextparameters": ((RestOpenApiComponent) target).setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
- case "useglobalsslcontextparameters": ((RestOpenApiComponent) target).setUseGlobalSslContextParameters(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((RestOpenApiComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((RestOpenApiComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ RestOpenApiComponent target = (RestOpenApiComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "basepath":
+ case "basePath": target.setBasePath(property(camelContext, java.lang.String.class, value)); return true;
+ case "componentname":
+ case "componentName": target.setComponentName(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumes": target.setConsumes(property(camelContext, java.lang.String.class, value)); return true;
+ case "host": target.setHost(property(camelContext, java.lang.String.class, value)); return true;
+ case "produces": target.setProduces(property(camelContext, java.lang.String.class, value)); return true;
+ case "specificationuri":
+ case "specificationUri": target.setSpecificationUri(property(camelContext, java.net.URI.class, value)); return true;
+ case "sslcontextparameters":
+ case "sslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "useglobalsslcontextparameters":
+ case "useGlobalSslContextParameters": target.setUseGlobalSslContextParameters(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpointConfigurer.java b/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpointConfigurer.java
index a23c787..fd1ed0b 100644
--- a/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpointConfigurer.java
+++ b/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpointConfigurer.java
@@ -12,39 +12,22 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class RestOpenApiEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "basePath": ((RestOpenApiEndpoint) target).setBasePath(property(camelContext, java.lang.String.class, value)); return true;
- case "componentName": ((RestOpenApiEndpoint) target).setComponentName(property(camelContext, java.lang.String.class, value)); return true;
- case "consumes": ((RestOpenApiEndpoint) target).setConsumes(property(camelContext, java.lang.String.class, value)); return true;
- case "host": ((RestOpenApiEndpoint) target).setHost(property(camelContext, java.lang.String.class, value)); return true;
- case "lazyStartProducer": ((RestOpenApiEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "produces": ((RestOpenApiEndpoint) target).setProduces(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((RestOpenApiEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((RestOpenApiEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "basepath": ((RestOpenApiEndpoint) target).setBasePath(property(camelContext, java.lang.String.class, value)); return true;
- case "componentname": ((RestOpenApiEndpoint) target).setComponentName(property(camelContext, java.lang.String.class, value)); return true;
- case "consumes": ((RestOpenApiEndpoint) target).setConsumes(property(camelContext, java.lang.String.class, value)); return true;
- case "host": ((RestOpenApiEndpoint) target).setHost(property(camelContext, java.lang.String.class, value)); return true;
- case "lazystartproducer": ((RestOpenApiEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "produces": ((RestOpenApiEndpoint) target).setProduces(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((RestOpenApiEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((RestOpenApiEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ RestOpenApiEndpoint target = (RestOpenApiEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "basepath":
+ case "basePath": target.setBasePath(property(camelContext, java.lang.String.class, value)); return true;
+ case "componentname":
+ case "componentName": target.setComponentName(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumes": target.setConsumes(property(camelContext, java.lang.String.class, value)); return true;
+ case "host": target.setHost(property(camelContext, java.lang.String.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "produces": target.setProduces(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-servicenow/camel-servicenow-component/src/generated/java/org/apache/camel/component/servicenow/ServiceNowComponentConfigurer.java b/components/camel-servicenow/camel-servicenow-component/src/generated/java/org/apache/camel/component/servicenow/ServiceNowComponentConfigurer.java
index a664cac..ec46052 100644
--- a/components/camel-servicenow/camel-servicenow-component/src/generated/java/org/apache/camel/component/servicenow/ServiceNowComponentConfigurer.java
+++ b/components/camel-servicenow/camel-servicenow-component/src/generated/java/org/apache/camel/component/servicenow/ServiceNowComponentConfigurer.java
@@ -12,53 +12,38 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class ServiceNowComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "instanceName": ((ServiceNowComponent) target).setInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "configuration": ((ServiceNowComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.servicenow.ServiceNowConfiguration.class, value)); return true;
- case "apiUrl": ((ServiceNowComponent) target).setApiUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "userName": ((ServiceNowComponent) target).setUserName(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((ServiceNowComponent) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthClientId": ((ServiceNowComponent) target).setOauthClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthClientSecret": ((ServiceNowComponent) target).setOauthClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthTokenUrl": ((ServiceNowComponent) target).setOauthTokenUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyHost": ((ServiceNowComponent) target).setProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyPort": ((ServiceNowComponent) target).setProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "proxyUserName": ((ServiceNowComponent) target).setProxyUserName(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyPassword": ((ServiceNowComponent) target).setProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "useGlobalSslContextParameters": ((ServiceNowComponent) target).setUseGlobalSslContextParameters(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((ServiceNowComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((ServiceNowComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "instancename": ((ServiceNowComponent) target).setInstanceName(property(camelContext, java.lang.String.class, value)); return true;
- case "configuration": ((ServiceNowComponent) target).setConfiguration(property(camelContext, org.apache.camel.component.servicenow.ServiceNowConfiguration.class, value)); return true;
- case "apiurl": ((ServiceNowComponent) target).setApiUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "username": ((ServiceNowComponent) target).setUserName(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((ServiceNowComponent) target).setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthclientid": ((ServiceNowComponent) target).setOauthClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthclientsecret": ((ServiceNowComponent) target).setOauthClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthtokenurl": ((ServiceNowComponent) target).setOauthTokenUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyhost": ((ServiceNowComponent) target).setProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyport": ((ServiceNowComponent) target).setProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "proxyusername": ((ServiceNowComponent) target).setProxyUserName(property(camelContext, java.lang.String.class, value)); return true;
- case "proxypassword": ((ServiceNowComponent) target).setProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "useglobalsslcontextparameters": ((ServiceNowComponent) target).setUseGlobalSslContextParameters(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((ServiceNowComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((ServiceNowComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ ServiceNowComponent target = (ServiceNowComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "instancename":
+ case "instanceName": target.setInstanceName(property(camelContext, java.lang.String.class, value)); return true;
+ case "configuration": target.setConfiguration(property(camelContext, org.apache.camel.component.servicenow.ServiceNowConfiguration.class, value)); return true;
+ case "apiurl":
+ case "apiUrl": target.setApiUrl(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "userName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "password": target.setPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "oauthclientid":
+ case "oauthClientId": target.setOauthClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "oauthclientsecret":
+ case "oauthClientSecret": target.setOauthClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "oauthtokenurl":
+ case "oauthTokenUrl": target.setOauthTokenUrl(property(camelContext, java.lang.String.class, value)); return true;
+ case "proxyhost":
+ case "proxyHost": target.setProxyHost(property(camelContext, java.lang.String.class, value)); return true;
+ case "proxyport":
+ case "proxyPort": target.setProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "proxyusername":
+ case "proxyUserName": target.setProxyUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "proxypassword":
+ case "proxyPassword": target.setProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "useglobalsslcontextparameters":
+ case "useGlobalSslContextParameters": target.setUseGlobalSslContextParameters(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-servicenow/camel-servicenow-component/src/generated/java/org/apache/camel/component/servicenow/ServiceNowEndpointConfigurer.java b/components/camel-servicenow/camel-servicenow-component/src/generated/java/org/apache/camel/component/servicenow/ServiceNowEndpointConfigurer.java
index 9b48d3a..5c92256 100644
--- a/components/camel-servicenow/camel-servicenow-component/src/generated/java/org/apache/camel/component/servicenow/ServiceNowEndpointConfigurer.java
+++ b/components/camel-servicenow/camel-servicenow-component/src/generated/java/org/apache/camel/component/servicenow/ServiceNowEndpointConfigurer.java
@@ -12,115 +12,91 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class ServiceNowEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "display": ((ServiceNowEndpoint) target).getConfiguration().setDisplay(property(camelContext, java.lang.String.class, value)); return true;
- case "displayValue": ((ServiceNowEndpoint) target).getConfiguration().setDisplayValue(property(camelContext, java.lang.String.class, value)); return true;
- case "excludeReferenceLink": ((ServiceNowEndpoint) target).getConfiguration().setExcludeReferenceLink(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "favorites": ((ServiceNowEndpoint) target).getConfiguration().setFavorites(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "includeAggregates": ((ServiceNowEndpoint) target).getConfiguration().setIncludeAggregates(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "includeAvailableAggregates": ((ServiceNowEndpoint) target).getConfiguration().setIncludeAvailableAggregates(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "includeAvailableBreakdowns": ((ServiceNowEndpoint) target).getConfiguration().setIncludeAvailableBreakdowns(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "includeScoreNotes": ((ServiceNowEndpoint) target).getConfiguration().setIncludeScoreNotes(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "includeScores": ((ServiceNowEndpoint) target).getConfiguration().setIncludeScores(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "inputDisplayValue": ((ServiceNowEndpoint) target).getConfiguration().setInputDisplayValue(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "key": ((ServiceNowEndpoint) target).getConfiguration().setKey(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "lazyStartProducer": ((ServiceNowEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "models": ((ServiceNowEndpoint) target).getConfiguration().setModels(property(camelContext, java.util.Map.class, value)); return true;
- case "perPage": ((ServiceNowEndpoint) target).getConfiguration().setPerPage(property(camelContext, java.lang.Integer.class, value)); return true;
- case "release": ((ServiceNowEndpoint) target).getConfiguration().setRelease(property(camelContext, org.apache.camel.component.servicenow.ServiceNowRelease.class, value)); return true;
- case "requestModels": ((ServiceNowEndpoint) target).getConfiguration().setRequestModels(property(camelContext, java.util.Map.class, value)); return true;
- case "resource": ((ServiceNowEndpoint) target).getConfiguration().setResource(property(camelContext, java.lang.String.class, value)); return true;
- case "responseModels": ((ServiceNowEndpoint) target).getConfiguration().setResponseModels(property(camelContext, java.util.Map.class, value)); return true;
- case "sortBy": ((ServiceNowEndpoint) target).getConfiguration().setSortBy(property(camelContext, java.lang.String.class, value)); return true;
- case "sortDir": ((ServiceNowEndpoint) target).getConfiguration().setSortDir(property(camelContext, java.lang.String.class, value)); return true;
- case "suppressAutoSysField": ((ServiceNowEndpoint) target).getConfiguration().setSuppressAutoSysField(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "suppressPaginationHeader": ((ServiceNowEndpoint) target).getConfiguration().setSuppressPaginationHeader(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "table": ((ServiceNowEndpoint) target).getConfiguration().setTable(property(camelContext, java.lang.String.class, value)); return true;
- case "target": ((ServiceNowEndpoint) target).getConfiguration().setTarget(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "topLevelOnly": ((ServiceNowEndpoint) target).getConfiguration().setTopLevelOnly(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "apiVersion": ((ServiceNowEndpoint) target).getConfiguration().setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((ServiceNowEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "dateFormat": ((ServiceNowEndpoint) target).getConfiguration().setDateFormat(property(camelContext, java.lang.String.class, value)); return true;
- case "dateTimeFormat": ((ServiceNowEndpoint) target).getConfiguration().setDateTimeFormat(property(camelContext, java.lang.String.class, value)); return true;
- case "httpClientPolicy": ((ServiceNowEndpoint) target).getConfiguration().setHttpClientPolicy(property(camelContext, org.apache.cxf.transports.http.configuration.HTTPClientPolicy.class, value)); return true;
- case "mapper": ((ServiceNowEndpoint) target).getConfiguration().setMapper(property(camelContext, com.fasterxml.jackson.databind.ObjectMapper.class, value)); return true;
- case "proxyAuthorizationPolicy": ((ServiceNowEndpoint) target).getConfiguration().setProxyAuthorizationPolicy(property(camelContext, org.apache.cxf.configuration.security.ProxyAuthorizationPolicy.class, value)); return true;
- case "retrieveTargetRecordOnImport": ((ServiceNowEndpoint) target).getConfiguration().setRetrieveTargetRecordOnImport(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "synchronous": ((ServiceNowEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "timeFormat": ((ServiceNowEndpoint) target).getConfiguration().setTimeFormat(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyHost": ((ServiceNowEndpoint) target).getConfiguration().setProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyPort": ((ServiceNowEndpoint) target).getConfiguration().setProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "apiUrl": ((ServiceNowEndpoint) target).getConfiguration().setApiUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthClientId": ((ServiceNowEndpoint) target).getConfiguration().setOauthClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthClientSecret": ((ServiceNowEndpoint) target).getConfiguration().setOauthClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthTokenUrl": ((ServiceNowEndpoint) target).getConfiguration().setOauthTokenUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((ServiceNowEndpoint) target).getConfiguration().setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyPassword": ((ServiceNowEndpoint) target).getConfiguration().setProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyUserName": ((ServiceNowEndpoint) target).getConfiguration().setProxyUserName(property(camelContext, java.lang.String.class, value)); return true;
- case "sslContextParameters": ((ServiceNowEndpoint) target).getConfiguration().setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
- case "userName": ((ServiceNowEndpoint) target).getConfiguration().setUserName(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "display": ((ServiceNowEndpoint) target).getConfiguration().setDisplay(property(camelContext, java.lang.String.class, value)); return true;
- case "displayvalue": ((ServiceNowEndpoint) target).getConfiguration().setDisplayValue(property(camelContext, java.lang.String.class, value)); return true;
- case "excludereferencelink": ((ServiceNowEndpoint) target).getConfiguration().setExcludeReferenceLink(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "favorites": ((ServiceNowEndpoint) target).getConfiguration().setFavorites(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "includeaggregates": ((ServiceNowEndpoint) target).getConfiguration().setIncludeAggregates(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "includeavailableaggregates": ((ServiceNowEndpoint) target).getConfiguration().setIncludeAvailableAggregates(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "includeavailablebreakdowns": ((ServiceNowEndpoint) target).getConfiguration().setIncludeAvailableBreakdowns(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "includescorenotes": ((ServiceNowEndpoint) target).getConfiguration().setIncludeScoreNotes(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "includescores": ((ServiceNowEndpoint) target).getConfiguration().setIncludeScores(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "inputdisplayvalue": ((ServiceNowEndpoint) target).getConfiguration().setInputDisplayValue(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "key": ((ServiceNowEndpoint) target).getConfiguration().setKey(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "lazystartproducer": ((ServiceNowEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "models": ((ServiceNowEndpoint) target).getConfiguration().setModels(property(camelContext, java.util.Map.class, value)); return true;
- case "perpage": ((ServiceNowEndpoint) target).getConfiguration().setPerPage(property(camelContext, java.lang.Integer.class, value)); return true;
- case "release": ((ServiceNowEndpoint) target).getConfiguration().setRelease(property(camelContext, org.apache.camel.component.servicenow.ServiceNowRelease.class, value)); return true;
- case "requestmodels": ((ServiceNowEndpoint) target).getConfiguration().setRequestModels(property(camelContext, java.util.Map.class, value)); return true;
- case "resource": ((ServiceNowEndpoint) target).getConfiguration().setResource(property(camelContext, java.lang.String.class, value)); return true;
- case "responsemodels": ((ServiceNowEndpoint) target).getConfiguration().setResponseModels(property(camelContext, java.util.Map.class, value)); return true;
- case "sortby": ((ServiceNowEndpoint) target).getConfiguration().setSortBy(property(camelContext, java.lang.String.class, value)); return true;
- case "sortdir": ((ServiceNowEndpoint) target).getConfiguration().setSortDir(property(camelContext, java.lang.String.class, value)); return true;
- case "suppressautosysfield": ((ServiceNowEndpoint) target).getConfiguration().setSuppressAutoSysField(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "suppresspaginationheader": ((ServiceNowEndpoint) target).getConfiguration().setSuppressPaginationHeader(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "table": ((ServiceNowEndpoint) target).getConfiguration().setTable(property(camelContext, java.lang.String.class, value)); return true;
- case "target": ((ServiceNowEndpoint) target).getConfiguration().setTarget(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "toplevelonly": ((ServiceNowEndpoint) target).getConfiguration().setTopLevelOnly(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "apiversion": ((ServiceNowEndpoint) target).getConfiguration().setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((ServiceNowEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "dateformat": ((ServiceNowEndpoint) target).getConfiguration().setDateFormat(property(camelContext, java.lang.String.class, value)); return true;
- case "datetimeformat": ((ServiceNowEndpoint) target).getConfiguration().setDateTimeFormat(property(camelContext, java.lang.String.class, value)); return true;
- case "httpclientpolicy": ((ServiceNowEndpoint) target).getConfiguration().setHttpClientPolicy(property(camelContext, org.apache.cxf.transports.http.configuration.HTTPClientPolicy.class, value)); return true;
- case "mapper": ((ServiceNowEndpoint) target).getConfiguration().setMapper(property(camelContext, com.fasterxml.jackson.databind.ObjectMapper.class, value)); return true;
- case "proxyauthorizationpolicy": ((ServiceNowEndpoint) target).getConfiguration().setProxyAuthorizationPolicy(property(camelContext, org.apache.cxf.configuration.security.ProxyAuthorizationPolicy.class, value)); return true;
- case "retrievetargetrecordonimport": ((ServiceNowEndpoint) target).getConfiguration().setRetrieveTargetRecordOnImport(property(camelContext, java.lang.Boolean.class, value)); return true;
- case "synchronous": ((ServiceNowEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "timeformat": ((ServiceNowEndpoint) target).getConfiguration().setTimeFormat(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyhost": ((ServiceNowEndpoint) target).getConfiguration().setProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyport": ((ServiceNowEndpoint) target).getConfiguration().setProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "apiurl": ((ServiceNowEndpoint) target).getConfiguration().setApiUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthclientid": ((ServiceNowEndpoint) target).getConfiguration().setOauthClientId(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthclientsecret": ((ServiceNowEndpoint) target).getConfiguration().setOauthClientSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "oauthtokenurl": ((ServiceNowEndpoint) target).getConfiguration().setOauthTokenUrl(property(camelContext, java.lang.String.class, value)); return true;
- case "password": ((ServiceNowEndpoint) target).getConfiguration().setPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "proxypassword": ((ServiceNowEndpoint) target).getConfiguration().setProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "proxyusername": ((ServiceNowEndpoint) target).getConfiguration().setProxyUserName(property(camelContext, java.lang.String.class, value)); return true;
- case "sslcontextparameters": ((ServiceNowEndpoint) target).getConfiguration().setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
- case "username": ((ServiceNowEndpoint) target).getConfiguration().setUserName(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ ServiceNowEndpoint target = (ServiceNowEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "display": target.getConfiguration().setDisplay(property(camelContext, java.lang.String.class, value)); return true;
+ case "displayvalue":
+ case "displayValue": target.getConfiguration().setDisplayValue(property(camelContext, java.lang.String.class, value)); return true;
+ case "excludereferencelink":
+ case "excludeReferenceLink": target.getConfiguration().setExcludeReferenceLink(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "favorites": target.getConfiguration().setFavorites(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "includeaggregates":
+ case "includeAggregates": target.getConfiguration().setIncludeAggregates(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "includeavailableaggregates":
+ case "includeAvailableAggregates": target.getConfiguration().setIncludeAvailableAggregates(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "includeavailablebreakdowns":
+ case "includeAvailableBreakdowns": target.getConfiguration().setIncludeAvailableBreakdowns(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "includescorenotes":
+ case "includeScoreNotes": target.getConfiguration().setIncludeScoreNotes(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "includescores":
+ case "includeScores": target.getConfiguration().setIncludeScores(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "inputdisplayvalue":
+ case "inputDisplayValue": target.getConfiguration().setInputDisplayValue(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "key": target.getConfiguration().setKey(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "models": target.getConfiguration().setModels(property(camelContext, java.util.Map.class, value)); return true;
+ case "perpage":
+ case "perPage": target.getConfiguration().setPerPage(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "release": target.getConfiguration().setRelease(property(camelContext, org.apache.camel.component.servicenow.ServiceNowRelease.class, value)); return true;
+ case "requestmodels":
+ case "requestModels": target.getConfiguration().setRequestModels(property(camelContext, java.util.Map.class, value)); return true;
+ case "resource": target.getConfiguration().setResource(property(camelContext, java.lang.String.class, value)); return true;
+ case "responsemodels":
+ case "responseModels": target.getConfiguration().setResponseModels(property(camelContext, java.util.Map.class, value)); return true;
+ case "sortby":
+ case "sortBy": target.getConfiguration().setSortBy(property(camelContext, java.lang.String.class, value)); return true;
+ case "sortdir":
+ case "sortDir": target.getConfiguration().setSortDir(property(camelContext, java.lang.String.class, value)); return true;
+ case "suppressautosysfield":
+ case "suppressAutoSysField": target.getConfiguration().setSuppressAutoSysField(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "suppresspaginationheader":
+ case "suppressPaginationHeader": target.getConfiguration().setSuppressPaginationHeader(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "table": target.getConfiguration().setTable(property(camelContext, java.lang.String.class, value)); return true;
+ case "target": target.getConfiguration().setTarget(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "toplevelonly":
+ case "topLevelOnly": target.getConfiguration().setTopLevelOnly(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "apiversion":
+ case "apiVersion": target.getConfiguration().setApiVersion(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "dateformat":
+ case "dateFormat": target.getConfiguration().setDateFormat(property(camelContext, java.lang.String.class, value)); return true;
+ case "datetimeformat":
+ case "dateTimeFormat": target.getConfiguration().setDateTimeFormat(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpclientpolicy":
+ case "httpClientPolicy": target.getConfiguration().setHttpClientPolicy(property(camelContext, org.apache.cxf.transports.http.configuration.HTTPClientPolicy.class, value)); return true;
+ case "mapper": target.getConfiguration().setMapper(property(camelContext, com.fasterxml.jackson.databind.ObjectMapper.class, value)); return true;
+ case "proxyauthorizationpolicy":
+ case "proxyAuthorizationPolicy": target.getConfiguration().setProxyAuthorizationPolicy(property(camelContext, org.apache.cxf.configuration.security.ProxyAuthorizationPolicy.class, value)); return true;
+ case "retrievetargetrecordonimport":
+ case "retrieveTargetRecordOnImport": target.getConfiguration().setRetrieveTargetRecordOnImport(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "timeformat":
+ case "timeFormat": target.getConfiguration().setTimeFormat(property(camelContext, java.lang.String.class, value)); return true;
+ case "proxyhost":
+ case "proxyHost": target.getConfiguration().setProxyHost(property(camelContext, java.lang.String.class, value)); return true;
+ case "proxyport":
+ case "proxyPort": target.getConfiguration().setProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "apiurl":
+ case "apiUrl": target.getConfiguration().setApiUrl(property(camelContext, java.lang.String.class, value)); return true;
+ case "oauthclientid":
+ case "oauthClientId": target.getConfiguration().setOauthClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "oauthclientsecret":
+ case "oauthClientSecret": target.getConfiguration().setOauthClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "oauthtokenurl":
+ case "oauthTokenUrl": target.getConfiguration().setOauthTokenUrl(property(camelContext, java.lang.String.class, value)); return true;
+ case "password": target.getConfiguration().setPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "proxypassword":
+ case "proxyPassword": target.getConfiguration().setProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "proxyusername":
+ case "proxyUserName": target.getConfiguration().setProxyUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "sslcontextparameters":
+ case "sslContextParameters": target.getConfiguration().setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "username":
+ case "userName": target.getConfiguration().setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-sip/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-sip/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 09954ef..f6f3324 100644
--- a/components/camel-sip/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-sip/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=sips sip
+components=sip sips
groupId=org.apache.camel
artifactId=camel-sip
version=3.1.0-SNAPSHOT
diff --git a/components/camel-sjms/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-sjms/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index ea64538..fb66624 100644
--- a/components/camel-sjms/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-sjms/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=sjms-batch sjms
+components=sjms sjms-batch
groupId=org.apache.camel
artifactId=camel-sjms
version=3.1.0-SNAPSHOT
diff --git a/components/camel-soroush/src/generated/java/org/apache/camel/component/soroushbot/component/SoroushBotComponentConfigurer.java b/components/camel-soroush/src/generated/java/org/apache/camel/component/soroushbot/component/SoroushBotComponentConfigurer.java
index aee4055..2b07297 100644
--- a/components/camel-soroush/src/generated/java/org/apache/camel/component/soroushbot/component/SoroushBotComponentConfigurer.java
+++ b/components/camel-soroush/src/generated/java/org/apache/camel/component/soroushbot/component/SoroushBotComponentConfigurer.java
@@ -12,31 +12,18 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class SoroushBotComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "authorizationToken": ((SoroushBotComponent) target).setAuthorizationToken(property(camelContext, java.lang.String.class, value)); return true;
- case "basicPropertyBinding": ((SoroushBotComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((SoroushBotComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((SoroushBotComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "authorizationtoken": ((SoroushBotComponent) target).setAuthorizationToken(property(camelContext, java.lang.String.class, value)); return true;
- case "basicpropertybinding": ((SoroushBotComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((SoroushBotComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((SoroushBotComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ SoroushBotComponent target = (SoroushBotComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "authorizationtoken":
+ case "authorizationToken": target.setAuthorizationToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-soroush/src/generated/java/org/apache/camel/component/soroushbot/component/SoroushBotEndpointConfigurer.java b/components/camel-soroush/src/generated/java/org/apache/camel/component/soroushbot/component/SoroushBotEndpointConfigurer.java
index b329316..a90fd4b 100644
--- a/components/camel-soroush/src/generated/java/org/apache/camel/component/soroushbot/component/SoroushBotEndpointConfigurer.java
+++ b/components/camel-soroush/src/generated/java/org/apache/camel/component/soroushbot/component/SoroushBotEndpointConfigurer.java
@@ -12,67 +12,53 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class SoroushBotEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "connectionTimeout": ((SoroushBotEndpoint) target).setConnectionTimeout(property(camelContext, int.class, value)); return true;
- case "maxConnectionRetry": ((SoroushBotEndpoint) target).setMaxConnectionRetry(property(camelContext, int.class, value)); return true;
- case "bridgeErrorHandler": ((SoroushBotEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "concurrentConsumers": ((SoroushBotEndpoint) target).setConcurrentConsumers(property(camelContext, int.class, value)); return true;
- case "queueCapacityPerThread": ((SoroushBotEndpoint) target).setQueueCapacityPerThread(property(camelContext, int.class, value)); return true;
- case "exceptionHandler": ((SoroushBotEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((SoroushBotEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "autoDownload": ((SoroushBotEndpoint) target).setAutoDownload(property(camelContext, boolean.class, value)); return true;
- case "autoUploadFile": ((SoroushBotEndpoint) target).setAutoUploadFile(property(camelContext, boolean.class, value)); return true;
- case "downloadThumbnail": ((SoroushBotEndpoint) target).setDownloadThumbnail(property(camelContext, boolean.class, value)); return true;
- case "forceDownload": ((SoroushBotEndpoint) target).setForceDownload(property(camelContext, boolean.class, value)); return true;
- case "forceUpload": ((SoroushBotEndpoint) target).setForceUpload(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((SoroushBotEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((SoroushBotEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((SoroushBotEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backOffStrategy": ((SoroushBotEndpoint) target).setBackOffStrategy(property(camelContext, java.lang.String.class, value)); return true;
- case "maxRetryWaitingTime": ((SoroushBotEndpoint) target).setMaxRetryWaitingTime(property(camelContext, long.class, value)); return true;
- case "reconnectIdleConnectionTimeout": ((SoroushBotEndpoint) target).setReconnectIdleConnectionTimeout(property(camelContext, long.class, value)); return true;
- case "retryExponentialCoefficient": ((SoroushBotEndpoint) target).setRetryExponentialCoefficient(property(camelContext, long.class, value)); return true;
- case "retryLinearIncrement": ((SoroushBotEndpoint) target).setRetryLinearIncrement(property(camelContext, long.class, value)); return true;
- case "retryWaitingTime": ((SoroushBotEndpoint) target).setRetryWaitingTime(property(camelContext, long.class, value)); return true;
- case "authorizationToken": ((SoroushBotEndpoint) target).setAuthorizationToken(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "connectiontimeout": ((SoroushBotEndpoint) target).setConnectionTimeout(property(camelContext, int.class, value)); return true;
- case "maxconnectionretry": ((SoroushBotEndpoint) target).setMaxConnectionRetry(property(camelContext, int.class, value)); return true;
- case "bridgeerrorhandler": ((SoroushBotEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "concurrentconsumers": ((SoroushBotEndpoint) target).setConcurrentConsumers(property(camelContext, int.class, value)); return true;
- case "queuecapacityperthread": ((SoroushBotEndpoint) target).setQueueCapacityPerThread(property(camelContext, int.class, value)); return true;
- case "exceptionhandler": ((SoroushBotEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((SoroushBotEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "autodownload": ((SoroushBotEndpoint) target).setAutoDownload(property(camelContext, boolean.class, value)); return true;
- case "autouploadfile": ((SoroushBotEndpoint) target).setAutoUploadFile(property(camelContext, boolean.class, value)); return true;
- case "downloadthumbnail": ((SoroushBotEndpoint) target).setDownloadThumbnail(property(camelContext, boolean.class, value)); return true;
- case "forcedownload": ((SoroushBotEndpoint) target).setForceDownload(property(camelContext, boolean.class, value)); return true;
- case "forceupload": ((SoroushBotEndpoint) target).setForceUpload(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((SoroushBotEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((SoroushBotEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((SoroushBotEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "backoffstrategy": ((SoroushBotEndpoint) target).setBackOffStrategy(property(camelContext, java.lang.String.class, value)); return true;
- case "maxretrywaitingtime": ((SoroushBotEndpoint) target).setMaxRetryWaitingTime(property(camelContext, long.class, value)); return true;
- case "reconnectidleconnectiontimeout": ((SoroushBotEndpoint) target).setReconnectIdleConnectionTimeout(property(camelContext, long.class, value)); return true;
- case "retryexponentialcoefficient": ((SoroushBotEndpoint) target).setRetryExponentialCoefficient(property(camelContext, long.class, value)); return true;
- case "retrylinearincrement": ((SoroushBotEndpoint) target).setRetryLinearIncrement(property(camelContext, long.class, value)); return true;
- case "retrywaitingtime": ((SoroushBotEndpoint) target).setRetryWaitingTime(property(camelContext, long.class, value)); return true;
- case "authorizationtoken": ((SoroushBotEndpoint) target).setAuthorizationToken(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ SoroushBotEndpoint target = (SoroushBotEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "connectiontimeout":
+ case "connectionTimeout": target.setConnectionTimeout(property(camelContext, int.class, value)); return true;
+ case "maxconnectionretry":
+ case "maxConnectionRetry": target.setMaxConnectionRetry(property(camelContext, int.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "concurrentconsumers":
+ case "concurrentConsumers": target.setConcurrentConsumers(property(camelContext, int.class, value)); return true;
+ case "queuecapacityperthread":
+ case "queueCapacityPerThread": target.setQueueCapacityPerThread(property(camelContext, int.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "autodownload":
+ case "autoDownload": target.setAutoDownload(property(camelContext, boolean.class, value)); return true;
+ case "autouploadfile":
+ case "autoUploadFile": target.setAutoUploadFile(property(camelContext, boolean.class, value)); return true;
+ case "downloadthumbnail":
+ case "downloadThumbnail": target.setDownloadThumbnail(property(camelContext, boolean.class, value)); return true;
+ case "forcedownload":
+ case "forceDownload": target.setForceDownload(property(camelContext, boolean.class, value)); return true;
+ case "forceupload":
+ case "forceUpload": target.setForceUpload(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "backoffstrategy":
+ case "backOffStrategy": target.setBackOffStrategy(property(camelContext, java.lang.String.class, value)); return true;
+ case "maxretrywaitingtime":
+ case "maxRetryWaitingTime": target.setMaxRetryWaitingTime(property(camelContext, long.class, value)); return true;
+ case "reconnectidleconnectiontimeout":
+ case "reconnectIdleConnectionTimeout": target.setReconnectIdleConnectionTimeout(property(camelContext, long.class, value)); return true;
+ case "retryexponentialcoefficient":
+ case "retryExponentialCoefficient": target.setRetryExponentialCoefficient(property(camelContext, long.class, value)); return true;
+ case "retrylinearincrement":
+ case "retryLinearIncrement": target.setRetryLinearIncrement(property(camelContext, long.class, value)); return true;
+ case "retrywaitingtime":
+ case "retryWaitingTime": target.setRetryWaitingTime(property(camelContext, long.class, value)); return true;
+ case "authorizationtoken":
+ case "authorizationToken": target.setAuthorizationToken(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-spring-batch/src/generated/java/org/apache/camel/component/spring/batch/SpringBatchComponentConfigurer.java b/components/camel-spring-batch/src/generated/java/org/apache/camel/component/spring/batch/SpringBatchComponentConfigurer.java
index 721f837..7ba8a36 100644
--- a/components/camel-spring-batch/src/generated/java/org/apache/camel/component/spring/batch/SpringBatchComponentConfigurer.java
+++ b/components/camel-spring-batch/src/generated/java/org/apache/camel/component/spring/batch/SpringBatchComponentConfigurer.java
@@ -12,31 +12,18 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class SpringBatchComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "jobLauncher": ((SpringBatchComponent) target).setJobLauncher(property(camelContext, org.springframework.batch.core.launch.JobLauncher.class, value)); return true;
- case "jobRegistry": ((SpringBatchComponent) target).setJobRegistry(property(camelContext, org.springframework.batch.core.configuration.JobRegistry.class, value)); return true;
- case "basicPropertyBinding": ((SpringBatchComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((SpringBatchComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "joblauncher": ((SpringBatchComponent) target).setJobLauncher(property(camelContext, org.springframework.batch.core.launch.JobLauncher.class, value)); return true;
- case "jobregistry": ((SpringBatchComponent) target).setJobRegistry(property(camelContext, org.springframework.batch.core.configuration.JobRegistry.class, value)); return true;
- case "basicpropertybinding": ((SpringBatchComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((SpringBatchComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ SpringBatchComponent target = (SpringBatchComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "joblauncher":
+ case "jobLauncher": target.setJobLauncher(property(camelContext, org.springframework.batch.core.launch.JobLauncher.class, value)); return true;
+ case "jobregistry":
+ case "jobRegistry": target.setJobRegistry(property(camelContext, org.springframework.batch.core.configuration.JobRegistry.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-spring-batch/src/generated/java/org/apache/camel/component/spring/batch/SpringBatchEndpointConfigurer.java b/components/camel-spring-batch/src/generated/java/org/apache/camel/component/spring/batch/SpringBatchEndpointConfigurer.java
index c979e4e..d8891a4 100644
--- a/components/camel-spring-batch/src/generated/java/org/apache/camel/component/spring/batch/SpringBatchEndpointConfigurer.java
+++ b/components/camel-spring-batch/src/generated/java/org/apache/camel/component/spring/batch/SpringBatchEndpointConfigurer.java
@@ -12,35 +12,21 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class SpringBatchEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "jobFromHeader": ((SpringBatchEndpoint) target).setJobFromHeader(property(camelContext, boolean.class, value)); return true;
- case "jobLauncher": ((SpringBatchEndpoint) target).setJobLauncher(property(camelContext, org.springframework.batch.core.launch.JobLauncher.class, value)); return true;
- case "jobRegistry": ((SpringBatchEndpoint) target).setJobRegistry(property(camelContext, org.springframework.batch.core.configuration.JobRegistry.class, value)); return true;
- case "lazyStartProducer": ((SpringBatchEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((SpringBatchEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((SpringBatchEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "jobfromheader": ((SpringBatchEndpoint) target).setJobFromHeader(property(camelContext, boolean.class, value)); return true;
- case "joblauncher": ((SpringBatchEndpoint) target).setJobLauncher(property(camelContext, org.springframework.batch.core.launch.JobLauncher.class, value)); return true;
- case "jobregistry": ((SpringBatchEndpoint) target).setJobRegistry(property(camelContext, org.springframework.batch.core.configuration.JobRegistry.class, value)); return true;
- case "lazystartproducer": ((SpringBatchEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((SpringBatchEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((SpringBatchEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ SpringBatchEndpoint target = (SpringBatchEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "jobfromheader":
+ case "jobFromHeader": target.setJobFromHeader(property(camelContext, boolean.class, value)); return true;
+ case "joblauncher":
+ case "jobLauncher": target.setJobLauncher(property(camelContext, org.springframework.batch.core.launch.JobLauncher.class, value)); return true;
+ case "jobregistry":
+ case "jobRegistry": target.setJobRegistry(property(camelContext, org.springframework.batch.core.configuration.JobRegistry.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-sql/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-sql/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 67bf3fb..5468356 100644
--- a/components/camel-sql/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-sql/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=sql-stored sql
+components=sql sql-stored
groupId=org.apache.camel
artifactId=camel-sql
version=3.1.0-SNAPSHOT
diff --git a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/directmessage/TwitterDirectMessageComponentConfigurer.java b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/directmessage/TwitterDirectMessageComponentConfigurer.java
index 382dc35..27d87c4 100644
--- a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/directmessage/TwitterDirectMessageComponentConfigurer.java
+++ b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/directmessage/TwitterDirectMessageComponentConfigurer.java
@@ -12,45 +12,32 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class TwitterDirectMessageComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "accessToken": ((TwitterDirectMessageComponent) target).setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accessTokenSecret": ((TwitterDirectMessageComponent) target).setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerKey": ((TwitterDirectMessageComponent) target).setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerSecret": ((TwitterDirectMessageComponent) target).setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyHost": ((TwitterDirectMessageComponent) target).setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyUser": ((TwitterDirectMessageComponent) target).setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPassword": ((TwitterDirectMessageComponent) target).setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPort": ((TwitterDirectMessageComponent) target).setHttpProxyPort(property(camelContext, int.class, value)); return true;
- case "basicPropertyBinding": ((TwitterDirectMessageComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((TwitterDirectMessageComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((TwitterDirectMessageComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "accesstoken": ((TwitterDirectMessageComponent) target).setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accesstokensecret": ((TwitterDirectMessageComponent) target).setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerkey": ((TwitterDirectMessageComponent) target).setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumersecret": ((TwitterDirectMessageComponent) target).setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyhost": ((TwitterDirectMessageComponent) target).setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyuser": ((TwitterDirectMessageComponent) target).setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxypassword": ((TwitterDirectMessageComponent) target).setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyport": ((TwitterDirectMessageComponent) target).setHttpProxyPort(property(camelContext, int.class, value)); return true;
- case "basicpropertybinding": ((TwitterDirectMessageComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((TwitterDirectMessageComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((TwitterDirectMessageComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ TwitterDirectMessageComponent target = (TwitterDirectMessageComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstoken":
+ case "accessToken": target.setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "accesstokensecret":
+ case "accessTokenSecret": target.setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumerkey":
+ case "consumerKey": target.setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumersecret":
+ case "consumerSecret": target.setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyhost":
+ case "httpProxyHost": target.setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyuser":
+ case "httpProxyUser": target.setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxypassword":
+ case "httpProxyPassword": target.setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyport":
+ case "httpProxyPort": target.setHttpProxyPort(property(camelContext, int.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/directmessage/TwitterDirectMessageEndpointConfigurer.java b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/directmessage/TwitterDirectMessageEndpointConfigurer.java
index 21bef84..eda3103 100644
--- a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/directmessage/TwitterDirectMessageEndpointConfigurer.java
+++ b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/directmessage/TwitterDirectMessageEndpointConfigurer.java
@@ -12,111 +12,87 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class TwitterDirectMessageEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "bridgeErrorHandler": ((TwitterDirectMessageEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendEmptyMessageWhenIdle": ((TwitterDirectMessageEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "type": ((TwitterDirectMessageEndpoint) target).getProperties().setType(property(camelContext, org.apache.camel.component.twitter.data.EndpointType.class, value)); return true;
- case "distanceMetric": ((TwitterDirectMessageEndpoint) target).getProperties().setDistanceMetric(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionHandler": ((TwitterDirectMessageEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((TwitterDirectMessageEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "extendedMode": ((TwitterDirectMessageEndpoint) target).getProperties().setExtendedMode(property(camelContext, boolean.class, value)); return true;
- case "latitude": ((TwitterDirectMessageEndpoint) target).getProperties().setLatitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "locations": ((TwitterDirectMessageEndpoint) target).getProperties().setLocations(property(camelContext, java.lang.String.class, value)); return true;
- case "longitude": ((TwitterDirectMessageEndpoint) target).getProperties().setLongitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "pollStrategy": ((TwitterDirectMessageEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "radius": ((TwitterDirectMessageEndpoint) target).getProperties().setRadius(property(camelContext, java.lang.Double.class, value)); return true;
- case "lazyStartProducer": ((TwitterDirectMessageEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((TwitterDirectMessageEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((TwitterDirectMessageEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "count": ((TwitterDirectMessageEndpoint) target).getProperties().setCount(property(camelContext, java.lang.Integer.class, value)); return true;
- case "filterOld": ((TwitterDirectMessageEndpoint) target).getProperties().setFilterOld(property(camelContext, boolean.class, value)); return true;
- case "lang": ((TwitterDirectMessageEndpoint) target).getProperties().setLang(property(camelContext, java.lang.String.class, value)); return true;
- case "numberOfPages": ((TwitterDirectMessageEndpoint) target).getProperties().setNumberOfPages(property(camelContext, java.lang.Integer.class, value)); return true;
- case "sinceId": ((TwitterDirectMessageEndpoint) target).getProperties().setSinceId(property(camelContext, long.class, value)); return true;
- case "userIds": ((TwitterDirectMessageEndpoint) target).getProperties().setUserIds(property(camelContext, java.lang.String.class, value)); return true;
- case "backoffErrorThreshold": ((TwitterDirectMessageEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffIdleThreshold": ((TwitterDirectMessageEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffMultiplier": ((TwitterDirectMessageEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((TwitterDirectMessageEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((TwitterDirectMessageEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialDelay": ((TwitterDirectMessageEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatCount": ((TwitterDirectMessageEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runLoggingLevel": ((TwitterDirectMessageEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledExecutorService": ((TwitterDirectMessageEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((TwitterDirectMessageEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerProperties": ((TwitterDirectMessageEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startScheduler": ((TwitterDirectMessageEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeUnit": ((TwitterDirectMessageEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "useFixedDelay": ((TwitterDirectMessageEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- case "sortById": ((TwitterDirectMessageEndpoint) target).getProperties().setSortById(property(camelContext, boolean.class, value)); return true;
- case "httpProxyHost": ((TwitterDirectMessageEndpoint) target).getProperties().setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPassword": ((TwitterDirectMessageEndpoint) target).getProperties().setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPort": ((TwitterDirectMessageEndpoint) target).getProperties().setHttpProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "httpProxyUser": ((TwitterDirectMessageEndpoint) target).getProperties().setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "accessToken": ((TwitterDirectMessageEndpoint) target).getProperties().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accessTokenSecret": ((TwitterDirectMessageEndpoint) target).getProperties().setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerKey": ((TwitterDirectMessageEndpoint) target).getProperties().setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerSecret": ((TwitterDirectMessageEndpoint) target).getProperties().setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "bridgeerrorhandler": ((TwitterDirectMessageEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendemptymessagewhenidle": ((TwitterDirectMessageEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "type": ((TwitterDirectMessageEndpoint) target).getProperties().setType(property(camelContext, org.apache.camel.component.twitter.data.EndpointType.class, value)); return true;
- case "distancemetric": ((TwitterDirectMessageEndpoint) target).getProperties().setDistanceMetric(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionhandler": ((TwitterDirectMessageEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((TwitterDirectMessageEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "extendedmode": ((TwitterDirectMessageEndpoint) target).getProperties().setExtendedMode(property(camelContext, boolean.class, value)); return true;
- case "latitude": ((TwitterDirectMessageEndpoint) target).getProperties().setLatitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "locations": ((TwitterDirectMessageEndpoint) target).getProperties().setLocations(property(camelContext, java.lang.String.class, value)); return true;
- case "longitude": ((TwitterDirectMessageEndpoint) target).getProperties().setLongitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "pollstrategy": ((TwitterDirectMessageEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "radius": ((TwitterDirectMessageEndpoint) target).getProperties().setRadius(property(camelContext, java.lang.Double.class, value)); return true;
- case "lazystartproducer": ((TwitterDirectMessageEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((TwitterDirectMessageEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((TwitterDirectMessageEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "count": ((TwitterDirectMessageEndpoint) target).getProperties().setCount(property(camelContext, java.lang.Integer.class, value)); return true;
- case "filterold": ((TwitterDirectMessageEndpoint) target).getProperties().setFilterOld(property(camelContext, boolean.class, value)); return true;
- case "lang": ((TwitterDirectMessageEndpoint) target).getProperties().setLang(property(camelContext, java.lang.String.class, value)); return true;
- case "numberofpages": ((TwitterDirectMessageEndpoint) target).getProperties().setNumberOfPages(property(camelContext, java.lang.Integer.class, value)); return true;
- case "sinceid": ((TwitterDirectMessageEndpoint) target).getProperties().setSinceId(property(camelContext, long.class, value)); return true;
- case "userids": ((TwitterDirectMessageEndpoint) target).getProperties().setUserIds(property(camelContext, java.lang.String.class, value)); return true;
- case "backofferrorthreshold": ((TwitterDirectMessageEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffidlethreshold": ((TwitterDirectMessageEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffmultiplier": ((TwitterDirectMessageEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((TwitterDirectMessageEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((TwitterDirectMessageEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialdelay": ((TwitterDirectMessageEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatcount": ((TwitterDirectMessageEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runlogginglevel": ((TwitterDirectMessageEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledexecutorservice": ((TwitterDirectMessageEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((TwitterDirectMessageEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerproperties": ((TwitterDirectMessageEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startscheduler": ((TwitterDirectMessageEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeunit": ((TwitterDirectMessageEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "usefixeddelay": ((TwitterDirectMessageEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- case "sortbyid": ((TwitterDirectMessageEndpoint) target).getProperties().setSortById(property(camelContext, boolean.class, value)); return true;
- case "httpproxyhost": ((TwitterDirectMessageEndpoint) target).getProperties().setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxypassword": ((TwitterDirectMessageEndpoint) target).getProperties().setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyport": ((TwitterDirectMessageEndpoint) target).getProperties().setHttpProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "httpproxyuser": ((TwitterDirectMessageEndpoint) target).getProperties().setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "accesstoken": ((TwitterDirectMessageEndpoint) target).getProperties().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accesstokensecret": ((TwitterDirectMessageEndpoint) target).getProperties().setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerkey": ((TwitterDirectMessageEndpoint) target).getProperties().setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumersecret": ((TwitterDirectMessageEndpoint) target).getProperties().setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ TwitterDirectMessageEndpoint target = (TwitterDirectMessageEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "sendemptymessagewhenidle":
+ case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
+ case "type": target.getProperties().setType(property(camelContext, org.apache.camel.component.twitter.data.EndpointType.class, value)); return true;
+ case "distancemetric":
+ case "distanceMetric": target.getProperties().setDistanceMetric(property(camelContext, java.lang.String.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "extendedmode":
+ case "extendedMode": target.getProperties().setExtendedMode(property(camelContext, boolean.class, value)); return true;
+ case "latitude": target.getProperties().setLatitude(property(camelContext, java.lang.Double.class, value)); return true;
+ case "locations": target.getProperties().setLocations(property(camelContext, java.lang.String.class, value)); return true;
+ case "longitude": target.getProperties().setLongitude(property(camelContext, java.lang.Double.class, value)); return true;
+ case "pollstrategy":
+ case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
+ case "radius": target.getProperties().setRadius(property(camelContext, java.lang.Double.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "count": target.getProperties().setCount(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "filterold":
+ case "filterOld": target.getProperties().setFilterOld(property(camelContext, boolean.class, value)); return true;
+ case "lang": target.getProperties().setLang(property(camelContext, java.lang.String.class, value)); return true;
+ case "numberofpages":
+ case "numberOfPages": target.getProperties().setNumberOfPages(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "sinceid":
+ case "sinceId": target.getProperties().setSinceId(property(camelContext, long.class, value)); return true;
+ case "userids":
+ case "userIds": target.getProperties().setUserIds(property(camelContext, java.lang.String.class, value)); return true;
+ case "backofferrorthreshold":
+ case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffidlethreshold":
+ case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffmultiplier":
+ case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true;
+ case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
+ case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true;
+ case "initialdelay":
+ case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true;
+ case "repeatcount":
+ case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true;
+ case "runlogginglevel":
+ case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
+ case "scheduledexecutorservice":
+ case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
+ case "scheduler": target.setScheduler(property(camelContext, java.lang.String.class, value)); return true;
+ case "schedulerproperties":
+ case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
+ case "startscheduler":
+ case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true;
+ case "timeunit":
+ case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
+ case "usefixeddelay":
+ case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
+ case "sortbyid":
+ case "sortById": target.getProperties().setSortById(property(camelContext, boolean.class, value)); return true;
+ case "httpproxyhost":
+ case "httpProxyHost": target.getProperties().setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxypassword":
+ case "httpProxyPassword": target.getProperties().setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyport":
+ case "httpProxyPort": target.getProperties().setHttpProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "httpproxyuser":
+ case "httpProxyUser": target.getProperties().setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
+ case "accesstoken":
+ case "accessToken": target.getProperties().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "accesstokensecret":
+ case "accessTokenSecret": target.getProperties().setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumerkey":
+ case "consumerKey": target.getProperties().setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumersecret":
+ case "consumerSecret": target.getProperties().setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/search/TwitterSearchComponentConfigurer.java b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/search/TwitterSearchComponentConfigurer.java
index 715920b..f89b40b 100644
--- a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/search/TwitterSearchComponentConfigurer.java
+++ b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/search/TwitterSearchComponentConfigurer.java
@@ -12,45 +12,32 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class TwitterSearchComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "accessToken": ((TwitterSearchComponent) target).setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accessTokenSecret": ((TwitterSearchComponent) target).setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerKey": ((TwitterSearchComponent) target).setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerSecret": ((TwitterSearchComponent) target).setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyHost": ((TwitterSearchComponent) target).setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyUser": ((TwitterSearchComponent) target).setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPassword": ((TwitterSearchComponent) target).setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPort": ((TwitterSearchComponent) target).setHttpProxyPort(property(camelContext, int.class, value)); return true;
- case "basicPropertyBinding": ((TwitterSearchComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((TwitterSearchComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((TwitterSearchComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "accesstoken": ((TwitterSearchComponent) target).setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accesstokensecret": ((TwitterSearchComponent) target).setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerkey": ((TwitterSearchComponent) target).setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumersecret": ((TwitterSearchComponent) target).setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyhost": ((TwitterSearchComponent) target).setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyuser": ((TwitterSearchComponent) target).setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxypassword": ((TwitterSearchComponent) target).setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyport": ((TwitterSearchComponent) target).setHttpProxyPort(property(camelContext, int.class, value)); return true;
- case "basicpropertybinding": ((TwitterSearchComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((TwitterSearchComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((TwitterSearchComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ TwitterSearchComponent target = (TwitterSearchComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstoken":
+ case "accessToken": target.setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "accesstokensecret":
+ case "accessTokenSecret": target.setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumerkey":
+ case "consumerKey": target.setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumersecret":
+ case "consumerSecret": target.setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyhost":
+ case "httpProxyHost": target.setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyuser":
+ case "httpProxyUser": target.setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxypassword":
+ case "httpProxyPassword": target.setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyport":
+ case "httpProxyPort": target.setHttpProxyPort(property(camelContext, int.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/search/TwitterSearchEndpointConfigurer.java b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/search/TwitterSearchEndpointConfigurer.java
index b48ce39..4988937 100644
--- a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/search/TwitterSearchEndpointConfigurer.java
+++ b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/search/TwitterSearchEndpointConfigurer.java
@@ -12,111 +12,87 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class TwitterSearchEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "bridgeErrorHandler": ((TwitterSearchEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendEmptyMessageWhenIdle": ((TwitterSearchEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "type": ((TwitterSearchEndpoint) target).getProperties().setType(property(camelContext, org.apache.camel.component.twitter.data.EndpointType.class, value)); return true;
- case "distanceMetric": ((TwitterSearchEndpoint) target).getProperties().setDistanceMetric(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionHandler": ((TwitterSearchEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((TwitterSearchEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "extendedMode": ((TwitterSearchEndpoint) target).getProperties().setExtendedMode(property(camelContext, boolean.class, value)); return true;
- case "latitude": ((TwitterSearchEndpoint) target).getProperties().setLatitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "locations": ((TwitterSearchEndpoint) target).getProperties().setLocations(property(camelContext, java.lang.String.class, value)); return true;
- case "longitude": ((TwitterSearchEndpoint) target).getProperties().setLongitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "pollStrategy": ((TwitterSearchEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "radius": ((TwitterSearchEndpoint) target).getProperties().setRadius(property(camelContext, java.lang.Double.class, value)); return true;
- case "lazyStartProducer": ((TwitterSearchEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((TwitterSearchEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((TwitterSearchEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "count": ((TwitterSearchEndpoint) target).getProperties().setCount(property(camelContext, java.lang.Integer.class, value)); return true;
- case "filterOld": ((TwitterSearchEndpoint) target).getProperties().setFilterOld(property(camelContext, boolean.class, value)); return true;
- case "lang": ((TwitterSearchEndpoint) target).getProperties().setLang(property(camelContext, java.lang.String.class, value)); return true;
- case "numberOfPages": ((TwitterSearchEndpoint) target).getProperties().setNumberOfPages(property(camelContext, java.lang.Integer.class, value)); return true;
- case "sinceId": ((TwitterSearchEndpoint) target).getProperties().setSinceId(property(camelContext, long.class, value)); return true;
- case "userIds": ((TwitterSearchEndpoint) target).getProperties().setUserIds(property(camelContext, java.lang.String.class, value)); return true;
- case "backoffErrorThreshold": ((TwitterSearchEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffIdleThreshold": ((TwitterSearchEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffMultiplier": ((TwitterSearchEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((TwitterSearchEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((TwitterSearchEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialDelay": ((TwitterSearchEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatCount": ((TwitterSearchEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runLoggingLevel": ((TwitterSearchEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledExecutorService": ((TwitterSearchEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((TwitterSearchEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerProperties": ((TwitterSearchEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startScheduler": ((TwitterSearchEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeUnit": ((TwitterSearchEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "useFixedDelay": ((TwitterSearchEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- case "sortById": ((TwitterSearchEndpoint) target).getProperties().setSortById(property(camelContext, boolean.class, value)); return true;
- case "httpProxyHost": ((TwitterSearchEndpoint) target).getProperties().setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPassword": ((TwitterSearchEndpoint) target).getProperties().setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPort": ((TwitterSearchEndpoint) target).getProperties().setHttpProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "httpProxyUser": ((TwitterSearchEndpoint) target).getProperties().setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "accessToken": ((TwitterSearchEndpoint) target).getProperties().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accessTokenSecret": ((TwitterSearchEndpoint) target).getProperties().setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerKey": ((TwitterSearchEndpoint) target).getProperties().setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerSecret": ((TwitterSearchEndpoint) target).getProperties().setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "bridgeerrorhandler": ((TwitterSearchEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendemptymessagewhenidle": ((TwitterSearchEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "type": ((TwitterSearchEndpoint) target).getProperties().setType(property(camelContext, org.apache.camel.component.twitter.data.EndpointType.class, value)); return true;
- case "distancemetric": ((TwitterSearchEndpoint) target).getProperties().setDistanceMetric(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionhandler": ((TwitterSearchEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((TwitterSearchEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "extendedmode": ((TwitterSearchEndpoint) target).getProperties().setExtendedMode(property(camelContext, boolean.class, value)); return true;
- case "latitude": ((TwitterSearchEndpoint) target).getProperties().setLatitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "locations": ((TwitterSearchEndpoint) target).getProperties().setLocations(property(camelContext, java.lang.String.class, value)); return true;
- case "longitude": ((TwitterSearchEndpoint) target).getProperties().setLongitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "pollstrategy": ((TwitterSearchEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "radius": ((TwitterSearchEndpoint) target).getProperties().setRadius(property(camelContext, java.lang.Double.class, value)); return true;
- case "lazystartproducer": ((TwitterSearchEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((TwitterSearchEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((TwitterSearchEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "count": ((TwitterSearchEndpoint) target).getProperties().setCount(property(camelContext, java.lang.Integer.class, value)); return true;
- case "filterold": ((TwitterSearchEndpoint) target).getProperties().setFilterOld(property(camelContext, boolean.class, value)); return true;
- case "lang": ((TwitterSearchEndpoint) target).getProperties().setLang(property(camelContext, java.lang.String.class, value)); return true;
- case "numberofpages": ((TwitterSearchEndpoint) target).getProperties().setNumberOfPages(property(camelContext, java.lang.Integer.class, value)); return true;
- case "sinceid": ((TwitterSearchEndpoint) target).getProperties().setSinceId(property(camelContext, long.class, value)); return true;
- case "userids": ((TwitterSearchEndpoint) target).getProperties().setUserIds(property(camelContext, java.lang.String.class, value)); return true;
- case "backofferrorthreshold": ((TwitterSearchEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffidlethreshold": ((TwitterSearchEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffmultiplier": ((TwitterSearchEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((TwitterSearchEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((TwitterSearchEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialdelay": ((TwitterSearchEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatcount": ((TwitterSearchEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runlogginglevel": ((TwitterSearchEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledexecutorservice": ((TwitterSearchEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((TwitterSearchEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerproperties": ((TwitterSearchEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startscheduler": ((TwitterSearchEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeunit": ((TwitterSearchEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "usefixeddelay": ((TwitterSearchEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- case "sortbyid": ((TwitterSearchEndpoint) target).getProperties().setSortById(property(camelContext, boolean.class, value)); return true;
- case "httpproxyhost": ((TwitterSearchEndpoint) target).getProperties().setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxypassword": ((TwitterSearchEndpoint) target).getProperties().setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyport": ((TwitterSearchEndpoint) target).getProperties().setHttpProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "httpproxyuser": ((TwitterSearchEndpoint) target).getProperties().setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "accesstoken": ((TwitterSearchEndpoint) target).getProperties().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accesstokensecret": ((TwitterSearchEndpoint) target).getProperties().setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerkey": ((TwitterSearchEndpoint) target).getProperties().setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumersecret": ((TwitterSearchEndpoint) target).getProperties().setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ TwitterSearchEndpoint target = (TwitterSearchEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "sendemptymessagewhenidle":
+ case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
+ case "type": target.getProperties().setType(property(camelContext, org.apache.camel.component.twitter.data.EndpointType.class, value)); return true;
+ case "distancemetric":
+ case "distanceMetric": target.getProperties().setDistanceMetric(property(camelContext, java.lang.String.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "extendedmode":
+ case "extendedMode": target.getProperties().setExtendedMode(property(camelContext, boolean.class, value)); return true;
+ case "latitude": target.getProperties().setLatitude(property(camelContext, java.lang.Double.class, value)); return true;
+ case "locations": target.getProperties().setLocations(property(camelContext, java.lang.String.class, value)); return true;
+ case "longitude": target.getProperties().setLongitude(property(camelContext, java.lang.Double.class, value)); return true;
+ case "pollstrategy":
+ case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
+ case "radius": target.getProperties().setRadius(property(camelContext, java.lang.Double.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "count": target.getProperties().setCount(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "filterold":
+ case "filterOld": target.getProperties().setFilterOld(property(camelContext, boolean.class, value)); return true;
+ case "lang": target.getProperties().setLang(property(camelContext, java.lang.String.class, value)); return true;
+ case "numberofpages":
+ case "numberOfPages": target.getProperties().setNumberOfPages(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "sinceid":
+ case "sinceId": target.getProperties().setSinceId(property(camelContext, long.class, value)); return true;
+ case "userids":
+ case "userIds": target.getProperties().setUserIds(property(camelContext, java.lang.String.class, value)); return true;
+ case "backofferrorthreshold":
+ case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffidlethreshold":
+ case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffmultiplier":
+ case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true;
+ case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
+ case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true;
+ case "initialdelay":
+ case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true;
+ case "repeatcount":
+ case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true;
+ case "runlogginglevel":
+ case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
+ case "scheduledexecutorservice":
+ case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
+ case "scheduler": target.setScheduler(property(camelContext, java.lang.String.class, value)); return true;
+ case "schedulerproperties":
+ case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
+ case "startscheduler":
+ case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true;
+ case "timeunit":
+ case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
+ case "usefixeddelay":
+ case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
+ case "sortbyid":
+ case "sortById": target.getProperties().setSortById(property(camelContext, boolean.class, value)); return true;
+ case "httpproxyhost":
+ case "httpProxyHost": target.getProperties().setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxypassword":
+ case "httpProxyPassword": target.getProperties().setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyport":
+ case "httpProxyPort": target.getProperties().setHttpProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "httpproxyuser":
+ case "httpProxyUser": target.getProperties().setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
+ case "accesstoken":
+ case "accessToken": target.getProperties().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "accesstokensecret":
+ case "accessTokenSecret": target.getProperties().setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumerkey":
+ case "consumerKey": target.getProperties().setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumersecret":
+ case "consumerSecret": target.getProperties().setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/timeline/TwitterTimelineComponentConfigurer.java b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/timeline/TwitterTimelineComponentConfigurer.java
index c1b997b..63e2909 100644
--- a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/timeline/TwitterTimelineComponentConfigurer.java
+++ b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/timeline/TwitterTimelineComponentConfigurer.java
@@ -12,45 +12,32 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class TwitterTimelineComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "accessToken": ((TwitterTimelineComponent) target).setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accessTokenSecret": ((TwitterTimelineComponent) target).setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerKey": ((TwitterTimelineComponent) target).setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerSecret": ((TwitterTimelineComponent) target).setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyHost": ((TwitterTimelineComponent) target).setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyUser": ((TwitterTimelineComponent) target).setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPassword": ((TwitterTimelineComponent) target).setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPort": ((TwitterTimelineComponent) target).setHttpProxyPort(property(camelContext, int.class, value)); return true;
- case "basicPropertyBinding": ((TwitterTimelineComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazyStartProducer": ((TwitterTimelineComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeErrorHandler": ((TwitterTimelineComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "accesstoken": ((TwitterTimelineComponent) target).setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accesstokensecret": ((TwitterTimelineComponent) target).setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerkey": ((TwitterTimelineComponent) target).setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumersecret": ((TwitterTimelineComponent) target).setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyhost": ((TwitterTimelineComponent) target).setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyuser": ((TwitterTimelineComponent) target).setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxypassword": ((TwitterTimelineComponent) target).setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyport": ((TwitterTimelineComponent) target).setHttpProxyPort(property(camelContext, int.class, value)); return true;
- case "basicpropertybinding": ((TwitterTimelineComponent) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "lazystartproducer": ((TwitterTimelineComponent) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "bridgeerrorhandler": ((TwitterTimelineComponent) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ TwitterTimelineComponent target = (TwitterTimelineComponent) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstoken":
+ case "accessToken": target.setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "accesstokensecret":
+ case "accessTokenSecret": target.setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumerkey":
+ case "consumerKey": target.setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumersecret":
+ case "consumerSecret": target.setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyhost":
+ case "httpProxyHost": target.setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyuser":
+ case "httpProxyUser": target.setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxypassword":
+ case "httpProxyPassword": target.setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyport":
+ case "httpProxyPort": target.setHttpProxyPort(property(camelContext, int.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/timeline/TwitterTimelineEndpointConfigurer.java b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/timeline/TwitterTimelineEndpointConfigurer.java
index 9acff4b..cd5bbc4 100644
--- a/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/timeline/TwitterTimelineEndpointConfigurer.java
+++ b/components/camel-twitter/src/generated/java/org/apache/camel/component/twitter/timeline/TwitterTimelineEndpointConfigurer.java
@@ -12,113 +12,88 @@ import org.apache.camel.support.component.PropertyConfigurerSupport;
public class TwitterTimelineEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer {
@Override
- public boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) {
- if (ignoreCase) {
- return doConfigureIgnoreCase(camelContext, target, name, value);
- } else {
- return doConfigure(camelContext, target, name, value);
- }
- }
-
- private static boolean doConfigure(CamelContext camelContext, Object target, String name, Object value) {
- switch (name) {
- case "user": ((TwitterTimelineEndpoint) target).setUser(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeErrorHandler": ((TwitterTimelineEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendEmptyMessageWhenIdle": ((TwitterTimelineEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "type": ((TwitterTimelineEndpoint) target).getProperties().setType(property(camelContext, org.apache.camel.component.twitter.data.EndpointType.class, value)); return true;
- case "distanceMetric": ((TwitterTimelineEndpoint) target).getProperties().setDistanceMetric(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionHandler": ((TwitterTimelineEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangePattern": ((TwitterTimelineEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "extendedMode": ((TwitterTimelineEndpoint) target).getProperties().setExtendedMode(property(camelContext, boolean.class, value)); return true;
- case "latitude": ((TwitterTimelineEndpoint) target).getProperties().setLatitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "locations": ((TwitterTimelineEndpoint) target).getProperties().setLocations(property(camelContext, java.lang.String.class, value)); return true;
- case "longitude": ((TwitterTimelineEndpoint) target).getProperties().setLongitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "pollStrategy": ((TwitterTimelineEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "radius": ((TwitterTimelineEndpoint) target).getProperties().setRadius(property(camelContext, java.lang.Double.class, value)); return true;
- case "lazyStartProducer": ((TwitterTimelineEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicPropertyBinding": ((TwitterTimelineEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((TwitterTimelineEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "count": ((TwitterTimelineEndpoint) target).getProperties().setCount(property(camelContext, java.lang.Integer.class, value)); return true;
- case "filterOld": ((TwitterTimelineEndpoint) target).getProperties().setFilterOld(property(camelContext, boolean.class, value)); return true;
- case "lang": ((TwitterTimelineEndpoint) target).getProperties().setLang(property(camelContext, java.lang.String.class, value)); return true;
- case "numberOfPages": ((TwitterTimelineEndpoint) target).getProperties().setNumberOfPages(property(camelContext, java.lang.Integer.class, value)); return true;
- case "sinceId": ((TwitterTimelineEndpoint) target).getProperties().setSinceId(property(camelContext, long.class, value)); return true;
- case "userIds": ((TwitterTimelineEndpoint) target).getProperties().setUserIds(property(camelContext, java.lang.String.class, value)); return true;
- case "backoffErrorThreshold": ((TwitterTimelineEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffIdleThreshold": ((TwitterTimelineEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffMultiplier": ((TwitterTimelineEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((TwitterTimelineEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((TwitterTimelineEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialDelay": ((TwitterTimelineEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatCount": ((TwitterTimelineEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runLoggingLevel": ((TwitterTimelineEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledExecutorService": ((TwitterTimelineEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((TwitterTimelineEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerProperties": ((TwitterTimelineEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startScheduler": ((TwitterTimelineEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeUnit": ((TwitterTimelineEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "useFixedDelay": ((TwitterTimelineEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- case "sortById": ((TwitterTimelineEndpoint) target).getProperties().setSortById(property(camelContext, boolean.class, value)); return true;
- case "httpProxyHost": ((TwitterTimelineEndpoint) target).getProperties().setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPassword": ((TwitterTimelineEndpoint) target).getProperties().setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpProxyPort": ((TwitterTimelineEndpoint) target).getProperties().setHttpProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "httpProxyUser": ((TwitterTimelineEndpoint) target).getProperties().setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "accessToken": ((TwitterTimelineEndpoint) target).getProperties().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accessTokenSecret": ((TwitterTimelineEndpoint) target).getProperties().setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerKey": ((TwitterTimelineEndpoint) target).getProperties().setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerSecret": ((TwitterTimelineEndpoint) target).getProperties().setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
- }
- }
-
- private static boolean doConfigureIgnoreCase(CamelContext camelContext, Object target, String name, Object value) {
- switch (name.toLowerCase()) {
- case "user": ((TwitterTimelineEndpoint) target).setUser(property(camelContext, java.lang.String.class, value)); return true;
- case "bridgeerrorhandler": ((TwitterTimelineEndpoint) target).setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
- case "sendemptymessagewhenidle": ((TwitterTimelineEndpoint) target).setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
- case "type": ((TwitterTimelineEndpoint) target).getProperties().setType(property(camelContext, org.apache.camel.component.twitter.data.EndpointType.class, value)); return true;
- case "distancemetric": ((TwitterTimelineEndpoint) target).getProperties().setDistanceMetric(property(camelContext, java.lang.String.class, value)); return true;
- case "exceptionhandler": ((TwitterTimelineEndpoint) target).setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
- case "exchangepattern": ((TwitterTimelineEndpoint) target).setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
- case "extendedmode": ((TwitterTimelineEndpoint) target).getProperties().setExtendedMode(property(camelContext, boolean.class, value)); return true;
- case "latitude": ((TwitterTimelineEndpoint) target).getProperties().setLatitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "locations": ((TwitterTimelineEndpoint) target).getProperties().setLocations(property(camelContext, java.lang.String.class, value)); return true;
- case "longitude": ((TwitterTimelineEndpoint) target).getProperties().setLongitude(property(camelContext, java.lang.Double.class, value)); return true;
- case "pollstrategy": ((TwitterTimelineEndpoint) target).setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
- case "radius": ((TwitterTimelineEndpoint) target).getProperties().setRadius(property(camelContext, java.lang.Double.class, value)); return true;
- case "lazystartproducer": ((TwitterTimelineEndpoint) target).setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
- case "basicpropertybinding": ((TwitterTimelineEndpoint) target).setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
- case "synchronous": ((TwitterTimelineEndpoint) target).setSynchronous(property(camelContext, boolean.class, value)); return true;
- case "count": ((TwitterTimelineEndpoint) target).getProperties().setCount(property(camelContext, java.lang.Integer.class, value)); return true;
- case "filterold": ((TwitterTimelineEndpoint) target).getProperties().setFilterOld(property(camelContext, boolean.class, value)); return true;
- case "lang": ((TwitterTimelineEndpoint) target).getProperties().setLang(property(camelContext, java.lang.String.class, value)); return true;
- case "numberofpages": ((TwitterTimelineEndpoint) target).getProperties().setNumberOfPages(property(camelContext, java.lang.Integer.class, value)); return true;
- case "sinceid": ((TwitterTimelineEndpoint) target).getProperties().setSinceId(property(camelContext, long.class, value)); return true;
- case "userids": ((TwitterTimelineEndpoint) target).getProperties().setUserIds(property(camelContext, java.lang.String.class, value)); return true;
- case "backofferrorthreshold": ((TwitterTimelineEndpoint) target).setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
- case "backoffidlethreshold": ((TwitterTimelineEndpoint) target).setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
- case "backoffmultiplier": ((TwitterTimelineEndpoint) target).setBackoffMultiplier(property(camelContext, int.class, value)); return true;
- case "delay": ((TwitterTimelineEndpoint) target).setDelay(property(camelContext, long.class, value)); return true;
- case "greedy": ((TwitterTimelineEndpoint) target).setGreedy(property(camelContext, boolean.class, value)); return true;
- case "initialdelay": ((TwitterTimelineEndpoint) target).setInitialDelay(property(camelContext, long.class, value)); return true;
- case "repeatcount": ((TwitterTimelineEndpoint) target).setRepeatCount(property(camelContext, long.class, value)); return true;
- case "runlogginglevel": ((TwitterTimelineEndpoint) target).setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
- case "scheduledexecutorservice": ((TwitterTimelineEndpoint) target).setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
- case "scheduler": ((TwitterTimelineEndpoint) target).setScheduler(property(camelContext, java.lang.String.class, value)); return true;
- case "schedulerproperties": ((TwitterTimelineEndpoint) target).setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
- case "startscheduler": ((TwitterTimelineEndpoint) target).setStartScheduler(property(camelContext, boolean.class, value)); return true;
- case "timeunit": ((TwitterTimelineEndpoint) target).setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
- case "usefixeddelay": ((TwitterTimelineEndpoint) target).setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
- case "sortbyid": ((TwitterTimelineEndpoint) target).getProperties().setSortById(property(camelContext, boolean.class, value)); return true;
- case "httpproxyhost": ((TwitterTimelineEndpoint) target).getProperties().setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxypassword": ((TwitterTimelineEndpoint) target).getProperties().setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
- case "httpproxyport": ((TwitterTimelineEndpoint) target).getProperties().setHttpProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
- case "httpproxyuser": ((TwitterTimelineEndpoint) target).getProperties().setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
- case "accesstoken": ((TwitterTimelineEndpoint) target).getProperties().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
- case "accesstokensecret": ((TwitterTimelineEndpoint) target).getProperties().setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
- case "consumerkey": ((TwitterTimelineEndpoint) target).getProperties().setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
- case "consumersecret": ((TwitterTimelineEndpoint) target).getProperties().setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
- default: return false;
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ TwitterTimelineEndpoint target = (TwitterTimelineEndpoint) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "user": target.setUser(property(camelContext, java.lang.String.class, value)); return true;
+ case "bridgeerrorhandler":
+ case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
+ case "sendemptymessagewhenidle":
+ case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true;
+ case "type": target.getProperties().setType(property(camelContext, org.apache.camel.component.twitter.data.EndpointType.class, value)); return true;
+ case "distancemetric":
+ case "distanceMetric": target.getProperties().setDistanceMetric(property(camelContext, java.lang.String.class, value)); return true;
+ case "exceptionhandler":
+ case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true;
+ case "exchangepattern":
+ case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true;
+ case "extendedmode":
+ case "extendedMode": target.getProperties().setExtendedMode(property(camelContext, boolean.class, value)); return true;
+ case "latitude": target.getProperties().setLatitude(property(camelContext, java.lang.Double.class, value)); return true;
+ case "locations": target.getProperties().setLocations(property(camelContext, java.lang.String.class, value)); return true;
+ case "longitude": target.getProperties().setLongitude(property(camelContext, java.lang.Double.class, value)); return true;
+ case "pollstrategy":
+ case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
+ case "radius": target.getProperties().setRadius(property(camelContext, java.lang.Double.class, value)); return true;
+ case "lazystartproducer":
+ case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "basicpropertybinding":
+ case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
+ case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true;
+ case "count": target.getProperties().setCount(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "filterold":
+ case "filterOld": target.getProperties().setFilterOld(property(camelContext, boolean.class, value)); return true;
+ case "lang": target.getProperties().setLang(property(camelContext, java.lang.String.class, value)); return true;
+ case "numberofpages":
+ case "numberOfPages": target.getProperties().setNumberOfPages(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "sinceid":
+ case "sinceId": target.getProperties().setSinceId(property(camelContext, long.class, value)); return true;
+ case "userids":
+ case "userIds": target.getProperties().setUserIds(property(camelContext, java.lang.String.class, value)); return true;
+ case "backofferrorthreshold":
+ case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffidlethreshold":
+ case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true;
+ case "backoffmultiplier":
+ case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true;
+ case "delay": target.setDelay(property(camelContext, long.class, value)); return true;
+ case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true;
+ case "initialdelay":
+ case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true;
+ case "repeatcount":
+ case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true;
+ case "runlogginglevel":
+ case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
+ case "scheduledexecutorservice":
+ case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true;
+ case "scheduler": target.setScheduler(property(camelContext, java.lang.String.class, value)); return true;
+ case "schedulerproperties":
+ case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true;
+ case "startscheduler":
+ case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true;
+ case "timeunit":
+ case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true;
+ case "usefixeddelay":
+ case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true;
+ case "sortbyid":
+ case "sortById": target.getProperties().setSortById(property(camelContext, boolean.class, value)); return true;
+ case "httpproxyhost":
+ case "httpProxyHost": target.getProperties().setHttpProxyHost(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxypassword":
+ case "httpProxyPassword": target.getProperties().setHttpProxyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpproxyport":
+ case "httpProxyPort": target.getProperties().setHttpProxyPort(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "httpproxyuser":
+ case "httpProxyUser": target.getProperties().setHttpProxyUser(property(camelContext, java.lang.String.class, value)); return true;
+ case "accesstoken":
+ case "accessToken": target.getProperties().setAccessToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "accesstokensecret":
+ case "accessTokenSecret": target.getProperties().setAccessTokenSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumerkey":
+ case "consumerKey": target.getProperties().setConsumerKey(property(camelContext, java.lang.String.class, value)); return true;
+ case "consumersecret":
+ case "consumerSecret": target.getProperties().setConsumerSecret(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
}
}
diff --git a/components/camel-twitter/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-twitter/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 6477810..4aa8c90 100644
--- a/components/camel-twitter/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ b/components/camel-twitter/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-components=twitter-search twitter-directmessage twitter-timeline
+components=twitter-directmessage twitter-search twitter-timeline
groupId=org.apache.camel
artifactId=camel-twitter
version=3.1.0-SNAPSHOT
diff --git a/components/camel-univocity-parsers/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties b/components/camel-univocity-parsers/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties
index fc7b825..f199810 100644
--- a/components/camel-univocity-parsers/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties
+++ b/components/camel-univocity-parsers/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties
@@ -1,5 +1,5 @@
# Generated by camel build tools - do NOT edit this file!
-dataFormats=univocity-fixed univocity-tsv univocity-csv
+dataFormats=univocity-csv univocity-fixed univocity-tsv
groupId=org.apache.camel
artifactId=camel-univocity-parsers
version=3.1.0-SNAPSHOT