You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/09/03 11:46:31 UTC

[camel] 10/10: CAMEL-15478: Api method can lookup from nice name to enum constant that are upper and underscore style.

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit bce8d4d74f11a73f6957ccdf804153125542a85e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 3 13:45:44 2020 +0200

    CAMEL-15478: Api method can lookup from nice name to enum constant that are upper and underscore style.
---
 .../apache/camel/component/as2/internal/AS2ApiName.java   | 15 +++++++++++++++
 .../component/as2/internal/AS2ClientManagerApiMethod.java | 14 ++++++++++++++
 .../component/as2/internal/AS2ServerManagerApiMethod.java | 14 ++++++++++++++
 .../apache/camel/component/box/internal/BoxApiName.java   | 15 +++++++++++++++
 .../box/internal/BoxCollaborationsManagerApiMethod.java   | 14 ++++++++++++++
 .../box/internal/BoxCommentsManagerApiMethod.java         | 14 ++++++++++++++
 .../box/internal/BoxEventLogsManagerApiMethod.java        | 14 ++++++++++++++
 .../component/box/internal/BoxEventsManagerApiMethod.java | 14 ++++++++++++++
 .../component/box/internal/BoxFilesManagerApiMethod.java  | 14 ++++++++++++++
 .../box/internal/BoxFoldersManagerApiMethod.java          | 14 ++++++++++++++
 .../component/box/internal/BoxGroupsManagerApiMethod.java | 14 ++++++++++++++
 .../component/box/internal/BoxSearchManagerApiMethod.java | 14 ++++++++++++++
 .../component/box/internal/BoxTasksManagerApiMethod.java  | 14 ++++++++++++++
 .../component/box/internal/BoxUsersManagerApiMethod.java  | 14 ++++++++++++++
 .../braintree/internal/AddOnGatewayApiMethod.java         | 14 ++++++++++++++
 .../braintree/internal/AddressGatewayApiMethod.java       | 14 ++++++++++++++
 .../component/braintree/internal/BraintreeApiName.java    | 15 +++++++++++++++
 .../braintree/internal/ClientTokenGatewayApiMethod.java   | 14 ++++++++++++++
 .../internal/CreditCardVerificationGatewayApiMethod.java  | 14 ++++++++++++++
 .../braintree/internal/CustomerGatewayApiMethod.java      | 14 ++++++++++++++
 .../braintree/internal/DiscountGatewayApiMethod.java      | 14 ++++++++++++++
 .../braintree/internal/DisputeGatewayApiMethod.java       | 14 ++++++++++++++
 .../internal/DocumentUploadGatewayApiMethod.java          | 14 ++++++++++++++
 .../internal/MerchantAccountGatewayApiMethod.java         | 14 ++++++++++++++
 .../braintree/internal/PaymentMethodGatewayApiMethod.java | 14 ++++++++++++++
 .../internal/PaymentMethodNonceGatewayApiMethod.java      | 14 ++++++++++++++
 .../braintree/internal/PlanGatewayApiMethod.java          | 14 ++++++++++++++
 .../braintree/internal/ReportGatewayApiMethod.java        | 14 ++++++++++++++
 .../internal/SettlementBatchSummaryGatewayApiMethod.java  | 14 ++++++++++++++
 .../braintree/internal/SubscriptionGatewayApiMethod.java  | 14 ++++++++++++++
 .../braintree/internal/TransactionGatewayApiMethod.java   | 14 ++++++++++++++
 .../internal/WebhookNotificationGatewayApiMethod.java     | 14 ++++++++++++++
 .../apache/camel/component/fhir/internal/FhirApiName.java | 15 +++++++++++++++
 .../fhir/internal/FhirCapabilitiesApiMethod.java          | 14 ++++++++++++++
 .../component/fhir/internal/FhirCreateApiMethod.java      | 14 ++++++++++++++
 .../component/fhir/internal/FhirDeleteApiMethod.java      | 14 ++++++++++++++
 .../component/fhir/internal/FhirHistoryApiMethod.java     | 14 ++++++++++++++
 .../component/fhir/internal/FhirLoadPageApiMethod.java    | 14 ++++++++++++++
 .../camel/component/fhir/internal/FhirMetaApiMethod.java  | 14 ++++++++++++++
 .../component/fhir/internal/FhirOperationApiMethod.java   | 14 ++++++++++++++
 .../camel/component/fhir/internal/FhirPatchApiMethod.java | 14 ++++++++++++++
 .../camel/component/fhir/internal/FhirReadApiMethod.java  | 14 ++++++++++++++
 .../component/fhir/internal/FhirSearchApiMethod.java      | 14 ++++++++++++++
 .../component/fhir/internal/FhirTransactionApiMethod.java | 14 ++++++++++++++
 .../component/fhir/internal/FhirUpdateApiMethod.java      | 14 ++++++++++++++
 .../component/fhir/internal/FhirValidateApiMethod.java    | 14 ++++++++++++++
 .../google/calendar/internal/CalendarAclApiMethod.java    | 14 ++++++++++++++
 .../calendar/internal/CalendarCalendarListApiMethod.java  | 14 ++++++++++++++
 .../calendar/internal/CalendarCalendarsApiMethod.java     | 14 ++++++++++++++
 .../calendar/internal/CalendarChannelsApiMethod.java      | 14 ++++++++++++++
 .../google/calendar/internal/CalendarColorsApiMethod.java | 14 ++++++++++++++
 .../google/calendar/internal/CalendarEventsApiMethod.java | 14 ++++++++++++++
 .../calendar/internal/CalendarFreebusyApiMethod.java      | 14 ++++++++++++++
 .../calendar/internal/CalendarSettingsApiMethod.java      | 14 ++++++++++++++
 .../google/calendar/internal/GoogleCalendarApiName.java   | 15 +++++++++++++++
 .../google/drive/internal/DriveAboutApiMethod.java        | 14 ++++++++++++++
 .../google/drive/internal/DriveAppsApiMethod.java         | 14 ++++++++++++++
 .../google/drive/internal/DriveChangesApiMethod.java      | 14 ++++++++++++++
 .../google/drive/internal/DriveChannelsApiMethod.java     | 14 ++++++++++++++
 .../google/drive/internal/DriveChildrenApiMethod.java     | 14 ++++++++++++++
 .../google/drive/internal/DriveCommentsApiMethod.java     | 14 ++++++++++++++
 .../google/drive/internal/DriveFilesApiMethod.java        | 14 ++++++++++++++
 .../google/drive/internal/DriveParentsApiMethod.java      | 14 ++++++++++++++
 .../google/drive/internal/DrivePermissionsApiMethod.java  | 14 ++++++++++++++
 .../google/drive/internal/DrivePropertiesApiMethod.java   | 14 ++++++++++++++
 .../google/drive/internal/DriveRealtimeApiMethod.java     | 14 ++++++++++++++
 .../google/drive/internal/DriveRepliesApiMethod.java      | 14 ++++++++++++++
 .../google/drive/internal/DriveRevisionsApiMethod.java    | 14 ++++++++++++++
 .../google/drive/internal/GoogleDriveApiName.java         | 15 +++++++++++++++
 .../google/mail/internal/GmailUsersApiMethod.java         | 14 ++++++++++++++
 .../google/mail/internal/GmailUsersDraftsApiMethod.java   | 14 ++++++++++++++
 .../google/mail/internal/GmailUsersHistoryApiMethod.java  | 14 ++++++++++++++
 .../google/mail/internal/GmailUsersLabelsApiMethod.java   | 14 ++++++++++++++
 .../google/mail/internal/GmailUsersMessagesApiMethod.java | 14 ++++++++++++++
 .../internal/GmailUsersMessagesAttachmentsApiMethod.java  | 14 ++++++++++++++
 .../google/mail/internal/GmailUsersThreadsApiMethod.java  | 14 ++++++++++++++
 .../component/google/mail/internal/GoogleMailApiName.java | 15 +++++++++++++++
 .../google/sheets/internal/GoogleSheetsApiName.java       | 15 +++++++++++++++
 .../sheets/internal/SheetsSpreadsheetsApiMethod.java      | 14 ++++++++++++++
 .../internal/SheetsSpreadsheetsValuesApiMethod.java       | 14 ++++++++++++++
 .../camel/component/olingo2/internal/Olingo2ApiName.java  | 15 +++++++++++++++
 .../component/olingo2/internal/Olingo2AppApiMethod.java   | 14 ++++++++++++++
 .../camel/component/olingo4/internal/Olingo4ApiName.java  | 15 +++++++++++++++
 .../component/olingo4/internal/Olingo4AppApiMethod.java   | 14 ++++++++++++++
 .../camel/component/twilio/internal/AccountApiMethod.java | 14 ++++++++++++++
 .../camel/component/twilio/internal/AddressApiMethod.java | 14 ++++++++++++++
 .../internal/AddressDependentPhoneNumberApiMethod.java    | 14 ++++++++++++++
 .../component/twilio/internal/ApplicationApiMethod.java   | 14 ++++++++++++++
 .../internal/AvailablePhoneNumberCountryApiMethod.java    | 14 ++++++++++++++
 .../AvailablePhoneNumberCountryLocalApiMethod.java        | 14 ++++++++++++++
 .../AvailablePhoneNumberCountryMobileApiMethod.java       | 14 ++++++++++++++
 .../AvailablePhoneNumberCountryTollFreeApiMethod.java     | 14 ++++++++++++++
 .../camel/component/twilio/internal/CallApiMethod.java    | 14 ++++++++++++++
 .../component/twilio/internal/CallFeedbackApiMethod.java  | 14 ++++++++++++++
 .../twilio/internal/CallFeedbackSummaryApiMethod.java     | 14 ++++++++++++++
 .../twilio/internal/CallNotificationApiMethod.java        | 14 ++++++++++++++
 .../component/twilio/internal/CallRecordingApiMethod.java | 14 ++++++++++++++
 .../component/twilio/internal/ConferenceApiMethod.java    | 14 ++++++++++++++
 .../twilio/internal/ConferenceParticipantApiMethod.java   | 14 ++++++++++++++
 .../component/twilio/internal/ConnectAppApiMethod.java    | 14 ++++++++++++++
 .../twilio/internal/IncomingPhoneNumberApiMethod.java     | 14 ++++++++++++++
 .../internal/IncomingPhoneNumberLocalApiMethod.java       | 14 ++++++++++++++
 .../internal/IncomingPhoneNumberMobileApiMethod.java      | 14 ++++++++++++++
 .../internal/IncomingPhoneNumberTollFreeApiMethod.java    | 14 ++++++++++++++
 .../camel/component/twilio/internal/KeyApiMethod.java     | 14 ++++++++++++++
 .../camel/component/twilio/internal/MessageApiMethod.java | 14 ++++++++++++++
 .../twilio/internal/MessageFeedbackApiMethod.java         | 14 ++++++++++++++
 .../component/twilio/internal/MessageMediaApiMethod.java  | 14 ++++++++++++++
 .../camel/component/twilio/internal/NewKeyApiMethod.java  | 14 ++++++++++++++
 .../component/twilio/internal/NewSigningKeyApiMethod.java | 14 ++++++++++++++
 .../component/twilio/internal/NotificationApiMethod.java  | 14 ++++++++++++++
 .../twilio/internal/OutgoingCallerIdApiMethod.java        | 14 ++++++++++++++
 .../camel/component/twilio/internal/QueueApiMethod.java   | 14 ++++++++++++++
 .../component/twilio/internal/QueueMemberApiMethod.java   | 14 ++++++++++++++
 .../twilio/internal/RecordingAddOnResultApiMethod.java    | 14 ++++++++++++++
 .../internal/RecordingAddOnResultPayloadApiMethod.java    | 14 ++++++++++++++
 .../component/twilio/internal/RecordingApiMethod.java     | 14 ++++++++++++++
 .../twilio/internal/RecordingTranscriptionApiMethod.java  | 14 ++++++++++++++
 .../component/twilio/internal/ShortCodeApiMethod.java     | 14 ++++++++++++++
 .../component/twilio/internal/SigningKeyApiMethod.java    | 14 ++++++++++++++
 .../component/twilio/internal/SipCredentialApiMethod.java | 14 ++++++++++++++
 .../twilio/internal/SipCredentialListApiMethod.java       | 14 ++++++++++++++
 .../component/twilio/internal/SipDomainApiMethod.java     | 14 ++++++++++++++
 .../internal/SipDomainCredentialListMappingApiMethod.java | 14 ++++++++++++++
 .../SipDomainIpAccessControlListMappingApiMethod.java     | 14 ++++++++++++++
 .../twilio/internal/SipIpAccessControlListApiMethod.java  | 14 ++++++++++++++
 .../SipIpAccessControlListIpAddressApiMethod.java         | 14 ++++++++++++++
 .../camel/component/twilio/internal/TokenApiMethod.java   | 14 ++++++++++++++
 .../component/twilio/internal/TranscriptionApiMethod.java | 14 ++++++++++++++
 .../camel/component/twilio/internal/TwilioApiName.java    | 15 +++++++++++++++
 .../twilio/internal/UsageRecordAllTimeApiMethod.java      | 14 ++++++++++++++
 .../component/twilio/internal/UsageRecordApiMethod.java   | 14 ++++++++++++++
 .../twilio/internal/UsageRecordDailyApiMethod.java        | 14 ++++++++++++++
 .../twilio/internal/UsageRecordLastMonthApiMethod.java    | 14 ++++++++++++++
 .../twilio/internal/UsageRecordMonthlyApiMethod.java      | 14 ++++++++++++++
 .../twilio/internal/UsageRecordThisMonthApiMethod.java    | 14 ++++++++++++++
 .../twilio/internal/UsageRecordTodayApiMethod.java        | 14 ++++++++++++++
 .../twilio/internal/UsageRecordYearlyApiMethod.java       | 14 ++++++++++++++
 .../twilio/internal/UsageRecordYesterdayApiMethod.java    | 14 ++++++++++++++
 .../component/twilio/internal/UsageTriggerApiMethod.java  | 14 ++++++++++++++
 .../twilio/internal/ValidationRequestApiMethod.java       | 14 ++++++++++++++
 .../component/zendesk/internal/ZendeskApiMethod.java      | 14 ++++++++++++++
 .../camel/component/zendesk/internal/ZendeskApiName.java  | 15 +++++++++++++++
 .../org/apache/camel/maven/ApiComponentGeneratorMojo.java |  1 -
 .../src/main/resources/api-method-enum.vm                 | 14 ++++++++++++++
 .../src/main/resources/api-name-enum.vm                   | 15 +++++++++++++++
 146 files changed, 2043 insertions(+), 1 deletion(-)

diff --git a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java
index ca4540e..cd700de 100644
--- a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java
+++ b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.as2.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component AS2
@@ -30,6 +32,7 @@ public enum AS2ApiName implements ApiName {
     }
 
     public static AS2ApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -37,4 +40,16 @@ public enum AS2ApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java
index 0d72df1..060d4b2 100644
--- a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java
+++ b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.as2.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.as2.api.AS2ClientManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -53,6 +55,7 @@ public enum AS2ClientManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AS2ClientManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -61,6 +64,17 @@ public enum AS2ClientManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java
index 329c808..c5926f2 100644
--- a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java
+++ b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.as2.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.as2.api.AS2ServerManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -38,6 +40,7 @@ public enum AS2ServerManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AS2ServerManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -46,6 +49,17 @@ public enum AS2ServerManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxApiName.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxApiName.java
index b11ff90..169ea21 100644
--- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxApiName.java
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.box.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Box
@@ -46,6 +48,7 @@ public enum BoxApiName implements ApiName {
     }
 
     public static BoxApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -53,4 +56,16 @@ public enum BoxApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCollaborationsManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCollaborationsManagerApiMethod.java
index 50509b6..bff6192 100644
--- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCollaborationsManagerApiMethod.java
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCollaborationsManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.box.api.BoxCollaborationsManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -71,6 +73,7 @@ public enum BoxCollaborationsManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxCollaborationsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -79,6 +82,17 @@ public enum BoxCollaborationsManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCommentsManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCommentsManagerApiMethod.java
index f238810..0abbbcb 100644
--- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCommentsManagerApiMethod.java
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCommentsManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.box.api.BoxCommentsManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -65,6 +67,7 @@ public enum BoxCommentsManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxCommentsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -73,6 +76,17 @@ public enum BoxCommentsManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventLogsManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventLogsManagerApiMethod.java
index 1fa5114..e2bcc75 100644
--- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventLogsManagerApiMethod.java
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventLogsManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.box.api.BoxEventLogsManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -40,6 +42,7 @@ public enum BoxEventLogsManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxEventLogsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -48,6 +51,17 @@ public enum BoxEventLogsManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventsManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventsManagerApiMethod.java
index d9752e3..e94d861 100644
--- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventsManagerApiMethod.java
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventsManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.box.api.BoxEventsManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -38,6 +40,7 @@ public enum BoxEventsManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxEventsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -46,6 +49,17 @@ public enum BoxEventsManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFilesManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFilesManagerApiMethod.java
index 5242a45..b2b8510 100644
--- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFilesManagerApiMethod.java
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFilesManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.box.api.BoxFilesManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -183,6 +185,7 @@ public enum BoxFilesManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxFilesManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -191,6 +194,17 @@ public enum BoxFilesManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFoldersManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFoldersManagerApiMethod.java
index ea21cae..609c3e7 100644
--- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFoldersManagerApiMethod.java
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFoldersManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.box.api.BoxFoldersManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -106,6 +108,7 @@ public enum BoxFoldersManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxFoldersManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -114,6 +117,17 @@ public enum BoxFoldersManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxGroupsManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxGroupsManagerApiMethod.java
index adfb970..ab84930 100644
--- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxGroupsManagerApiMethod.java
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxGroupsManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.box.api.BoxGroupsManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -90,6 +92,7 @@ public enum BoxGroupsManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxGroupsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -98,6 +101,17 @@ public enum BoxGroupsManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxSearchManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxSearchManagerApiMethod.java
index 1014dba..25f753b 100644
--- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxSearchManagerApiMethod.java
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxSearchManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.box.api.BoxSearchManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -38,6 +40,7 @@ public enum BoxSearchManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxSearchManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -46,6 +49,17 @@ public enum BoxSearchManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxTasksManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxTasksManagerApiMethod.java
index e5d7d59..032eb3f2 100644
--- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxTasksManagerApiMethod.java
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxTasksManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.box.api.BoxTasksManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -82,6 +84,7 @@ public enum BoxTasksManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxTasksManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -90,6 +93,17 @@ public enum BoxTasksManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxUsersManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxUsersManagerApiMethod.java
index 1b46358..7b11dd5 100644
--- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxUsersManagerApiMethod.java
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxUsersManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.box.api.BoxUsersManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -96,6 +98,7 @@ public enum BoxUsersManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxUsersManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -104,6 +107,17 @@ public enum BoxUsersManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java
index 6b6e075..1630bdd 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.AddOnGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -36,6 +38,7 @@ public enum AddOnGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AddOnGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -44,6 +47,17 @@ public enum AddOnGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java
index 6dd4db3..5832c5e 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.AddressGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -57,6 +59,7 @@ public enum AddressGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AddressGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -65,6 +68,17 @@ public enum AddressGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
index 0615eb7..4cb1f78 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.braintree.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Braintree
@@ -60,6 +62,7 @@ public enum BraintreeApiName implements ApiName {
     }
 
     public static BraintreeApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -67,4 +70,16 @@ public enum BraintreeApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java
index 90e72f8..916762f 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.ClientTokenGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum ClientTokenGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ClientTokenGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum ClientTokenGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java
index a757ed1..fb1c7a8 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.CreditCardVerificationGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -47,6 +49,7 @@ public enum CreditCardVerificationGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CreditCardVerificationGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -55,6 +58,17 @@ public enum CreditCardVerificationGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java
index 33c1c83..6108ebe 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.CustomerGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -68,6 +70,7 @@ public enum CustomerGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CustomerGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -76,6 +79,17 @@ public enum CustomerGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java
index 3e7c7d8..d8ceea7 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.DiscountGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -36,6 +38,7 @@ public enum DiscountGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DiscountGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -44,6 +47,17 @@ public enum DiscountGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java
index 523ccaa..05fd22b 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.DisputeGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -82,6 +84,7 @@ public enum DisputeGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DisputeGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -90,6 +93,17 @@ public enum DisputeGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java
index 19e5099..7c5ed45 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.DocumentUploadGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum DocumentUploadGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DocumentUploadGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum DocumentUploadGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java
index 7322593..dfb99cc 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.MerchantAccountGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -62,6 +64,7 @@ public enum MerchantAccountGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static MerchantAccountGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -70,6 +73,17 @@ public enum MerchantAccountGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java
index 8bb26bf..d29a80f 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.PaymentMethodGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -75,6 +77,7 @@ public enum PaymentMethodGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static PaymentMethodGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -83,6 +86,17 @@ public enum PaymentMethodGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java
index 8b39828..2218d95 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.PaymentMethodNonceGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -47,6 +49,7 @@ public enum PaymentMethodNonceGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static PaymentMethodNonceGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -55,6 +58,17 @@ public enum PaymentMethodNonceGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java
index 6f51f08..bb79faf 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.PlanGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -36,6 +38,7 @@ public enum PlanGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static PlanGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -44,6 +47,17 @@ public enum PlanGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java
index feeee85..0ba0836 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.ReportGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum ReportGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ReportGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum ReportGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java
index 3323fe8..756a0a6 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.SettlementBatchSummaryGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum SettlementBatchSummaryGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SettlementBatchSummaryGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum SettlementBatchSummaryGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java
index f2e4266..d30806a 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.SubscriptionGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -88,6 +90,7 @@ public enum SubscriptionGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SubscriptionGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -96,6 +99,17 @@ public enum SubscriptionGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java
index 186985a..28ec879 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.TransactionGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -130,6 +132,7 @@ public enum TransactionGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static TransactionGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -138,6 +141,17 @@ public enum TransactionGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
index 0ad7b30..c2a0618 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.WebhookNotificationGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum WebhookNotificationGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static WebhookNotificationGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum WebhookNotificationGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java
index 911a31c..525df66 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.fhir.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Fhir
@@ -52,6 +54,7 @@ public enum FhirApiName implements ApiName {
     }
 
     public static FhirApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -59,4 +62,16 @@ public enum FhirApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java
index b1fef55..c61e7e4 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirCapabilities;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -38,6 +40,7 @@ public enum FhirCapabilitiesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirCapabilitiesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -46,6 +49,17 @@ public enum FhirCapabilitiesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java
index 17da743..2e655a3 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirCreate;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -48,6 +50,7 @@ public enum FhirCreateApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirCreateApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -56,6 +59,17 @@ public enum FhirCreateApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java
index f6f1a9f..be99f1c 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirDelete;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -57,6 +59,7 @@ public enum FhirDeleteApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirDeleteApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -65,6 +68,17 @@ public enum FhirDeleteApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java
index 4a0e619..ce602f4 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirHistory;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -61,6 +63,7 @@ public enum FhirHistoryApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirHistoryApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -69,6 +72,17 @@ public enum FhirHistoryApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java
index b467189..01e19d6 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirLoadPage;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -51,6 +53,7 @@ public enum FhirLoadPageApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirLoadPageApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -59,6 +62,17 @@ public enum FhirLoadPageApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java
index d22f183..454874a 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirMeta;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -66,6 +68,7 @@ public enum FhirMetaApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirMetaApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -74,6 +77,17 @@ public enum FhirMetaApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java
index ce8df4d..3ccafab 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirOperation;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -84,6 +86,7 @@ public enum FhirOperationApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirOperationApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -92,6 +95,17 @@ public enum FhirOperationApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java
index 0656b92..5160739 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirPatch;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -56,6 +58,7 @@ public enum FhirPatchApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirPatchApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -64,6 +67,17 @@ public enum FhirPatchApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java
index 3f03958..6762346 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirRead;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -144,6 +146,7 @@ public enum FhirReadApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirReadApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -152,6 +155,17 @@ public enum FhirReadApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java
index 21f584b..f0f58ab 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirSearch;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -38,6 +40,7 @@ public enum FhirSearchApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirSearchApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -46,6 +49,17 @@ public enum FhirSearchApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java
index b5110cf..3f3aa57 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirTransaction;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -50,6 +52,7 @@ public enum FhirTransactionApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirTransactionApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -58,6 +61,17 @@ public enum FhirTransactionApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java
index d291ed7..1ab8035 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirUpdate;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -80,6 +82,7 @@ public enum FhirUpdateApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirUpdateApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -88,6 +91,17 @@ public enum FhirUpdateApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java
index 1332b6d..0367bd4 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirValidate;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -44,6 +46,7 @@ public enum FhirValidateApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirValidateApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -52,6 +55,17 @@ public enum FhirValidateApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java
index ebf387c..ca1eea1 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Acl;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -75,6 +77,7 @@ public enum CalendarAclApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarAclApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -83,6 +86,17 @@ public enum CalendarAclApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java
index 5bc428e..d9efe08 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.CalendarList;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -68,6 +70,7 @@ public enum CalendarCalendarListApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarCalendarListApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -76,6 +79,17 @@ public enum CalendarCalendarListApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java
index 41278e8..efbafd6 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Calendars;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -64,6 +66,7 @@ public enum CalendarCalendarsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarCalendarsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -72,6 +75,17 @@ public enum CalendarCalendarsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java
index 5f27dc06..ff601c1 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Channels;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum CalendarChannelsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarChannelsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum CalendarChannelsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java
index 05a7117..0bd810a 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Colors;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -36,6 +38,7 @@ public enum CalendarColorsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarColorsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -44,6 +47,17 @@ public enum CalendarColorsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java
index 4fc1c63..f40b666 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Events;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -100,6 +102,7 @@ public enum CalendarEventsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarEventsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -108,6 +111,17 @@ public enum CalendarEventsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java
index 13374d1..42016bc 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Freebusy;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum CalendarFreebusyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarFreebusyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum CalendarFreebusyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java
index 2e01df9..d678cae 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Settings;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -46,6 +48,7 @@ public enum CalendarSettingsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarSettingsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -54,6 +57,17 @@ public enum CalendarSettingsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java
index 2abc68e..2636c91 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.google.calendar.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component GoogleCalendar
@@ -42,6 +44,7 @@ public enum GoogleCalendarApiName implements ApiName {
     }
 
     public static GoogleCalendarApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,4 +52,16 @@ public enum GoogleCalendarApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java
index 42e278c..01df3d7 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.About;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -36,6 +38,7 @@ public enum DriveAboutApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveAboutApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -44,6 +47,17 @@ public enum DriveAboutApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java
index db66086..760f183 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Apps;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum DriveAppsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveAppsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum DriveAppsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java
index 9b4fd90..910e4e5 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Changes;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -50,6 +52,7 @@ public enum DriveChangesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveChangesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -58,6 +61,17 @@ public enum DriveChangesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java
index d5f66ff..60795bb 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Channels;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum DriveChannelsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveChannelsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum DriveChannelsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java
index 0714891..358d4bf 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Children;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -55,6 +57,7 @@ public enum DriveChildrenApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveChildrenApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -63,6 +66,17 @@ public enum DriveChildrenApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java
index f21216b..3d2ff2b 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Comments;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum DriveCommentsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveCommentsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum DriveCommentsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java
index b10525a..99a5ceb 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Files;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -117,6 +119,7 @@ public enum DriveFilesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveFilesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -125,6 +128,17 @@ public enum DriveFilesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java
index d026b82..10b285a 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Parents;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -55,6 +57,7 @@ public enum DriveParentsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveParentsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -63,6 +66,17 @@ public enum DriveParentsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java
index d376e02..9d1a4f3 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Permissions;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -74,6 +76,7 @@ public enum DrivePermissionsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DrivePermissionsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -82,6 +85,17 @@ public enum DrivePermissionsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java
index b612c9b..011dde2 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Properties;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum DrivePropertiesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DrivePropertiesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum DrivePropertiesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java
index 738a214..7b72467 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Realtime;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -48,6 +50,7 @@ public enum DriveRealtimeApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveRealtimeApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -56,6 +59,17 @@ public enum DriveRealtimeApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java
index 06d495c..b91ed9d 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Replies;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -75,6 +77,7 @@ public enum DriveRepliesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveRepliesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -83,6 +86,17 @@ public enum DriveRepliesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java
index d3f668e..c5cc922 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Revisions;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -63,6 +65,7 @@ public enum DriveRevisionsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveRevisionsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -71,6 +74,17 @@ public enum DriveRevisionsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java
index 1c5b5fa..e8eaf11 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.google.drive.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component GoogleDrive
@@ -52,6 +54,7 @@ public enum GoogleDriveApiName implements ApiName {
     }
 
     public static GoogleDriveApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -59,4 +62,16 @@ public enum GoogleDriveApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java
index 30e24bd..f0a1236 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -48,6 +50,7 @@ public enum GmailUsersApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -56,6 +59,17 @@ public enum GmailUsersApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java
index 95f0e85..be8eb6a 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.Drafts;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -90,6 +92,7 @@ public enum GmailUsersDraftsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersDraftsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -98,6 +101,17 @@ public enum GmailUsersDraftsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java
index 2b377f8..2f70bb2 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.History;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum GmailUsersHistoryApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersHistoryApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum GmailUsersHistoryApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java
index c1db7f5..1a31499 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.Labels;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum GmailUsersLabelsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersLabelsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum GmailUsersLabelsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java
index 92be509..585a950 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.Messages;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -123,6 +125,7 @@ public enum GmailUsersMessagesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersMessagesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -131,6 +134,17 @@ public enum GmailUsersMessagesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java
index 25b9803..69fe198 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.Messages.Attachments;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -39,6 +41,7 @@ public enum GmailUsersMessagesAttachmentsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersMessagesAttachmentsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -47,6 +50,17 @@ public enum GmailUsersMessagesAttachmentsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java
index 3150992..a703af5 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.Threads;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -68,6 +70,7 @@ public enum GmailUsersThreadsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersThreadsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -76,6 +79,17 @@ public enum GmailUsersThreadsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java
index fc52cb5..55e220b 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.google.mail.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component GoogleMail
@@ -40,6 +42,7 @@ public enum GoogleMailApiName implements ApiName {
     }
 
     public static GoogleMailApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -47,4 +50,16 @@ public enum GoogleMailApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java
index 0b4520b..04a1f11 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.google.sheets.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component GoogleSheets
@@ -30,6 +32,7 @@ public enum GoogleSheetsApiName implements ApiName {
     }
 
     public static GoogleSheetsApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -37,4 +40,16 @@ public enum GoogleSheetsApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java
index 840c4fd..c105d57 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.sheets.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.sheets.v4.Sheets.Spreadsheets;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -66,6 +68,7 @@ public enum SheetsSpreadsheetsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SheetsSpreadsheetsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -74,6 +77,17 @@ public enum SheetsSpreadsheetsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java
index a667e48..b1a0050 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.sheets.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.sheets.v4.Sheets.Spreadsheets.Values;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -94,6 +96,7 @@ public enum SheetsSpreadsheetsValuesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SheetsSpreadsheetsValuesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -102,6 +105,17 @@ public enum SheetsSpreadsheetsValuesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java
index 88ca723..2bfa282 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java
+++ b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.olingo2.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Olingo2
@@ -28,6 +30,7 @@ public enum Olingo2ApiName implements ApiName {
     }
 
     public static Olingo2ApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -35,4 +38,16 @@ public enum Olingo2ApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java
index 3b72a71..2d182c3 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java
+++ b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.olingo2.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.olingo2.api.Olingo2App;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -101,6 +103,7 @@ public enum Olingo2AppApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static Olingo2AppApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -109,6 +112,17 @@ public enum Olingo2AppApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java
index 6fe390d..e53ca38 100644
--- a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java
+++ b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.olingo4.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Olingo4
@@ -28,6 +30,7 @@ public enum Olingo4ApiName implements ApiName {
     }
 
     public static Olingo4ApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -35,4 +38,16 @@ public enum Olingo4ApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java
index 0230496..755f9ef 100644
--- a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java
+++ b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.olingo4.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.olingo4.api.Olingo4App;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -110,6 +112,7 @@ public enum Olingo4AppApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static Olingo4AppApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -118,6 +121,17 @@ public enum Olingo4AppApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java
index d64094e..f278408 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.Account;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -58,6 +60,7 @@ public enum AccountApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AccountApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -66,6 +69,17 @@ public enum AccountApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java
index a505f8a..3f4eeeb 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Address;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -95,6 +97,7 @@ public enum AddressApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AddressApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -103,6 +106,17 @@ public enum AddressApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java
index 9dc9ea9..d43f9da 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.address.DependentPhoneNumber;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum AddressDependentPhoneNumberApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AddressDependentPhoneNumberApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum AddressDependentPhoneNumberApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java
index 0ac1a10..21e4db3 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Application;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -83,6 +85,7 @@ public enum ApplicationApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ApplicationApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -91,6 +94,17 @@ public enum ApplicationApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java
index b1256fb..9647e2c 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.AvailablePhoneNumberCountry;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -52,6 +54,7 @@ public enum AvailablePhoneNumberCountryApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AvailablePhoneNumberCountryApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -60,6 +63,17 @@ public enum AvailablePhoneNumberCountryApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java
index 3354cc5..31165da 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.availablephonenumbercountry.Local;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum AvailablePhoneNumberCountryLocalApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AvailablePhoneNumberCountryLocalApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum AvailablePhoneNumberCountryLocalApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java
index 79e9b79..ab38d30 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.availablephonenumbercountry.Mobile;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum AvailablePhoneNumberCountryMobileApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AvailablePhoneNumberCountryMobileApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum AvailablePhoneNumberCountryMobileApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java
index 9e60a35..010455b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.availablephonenumbercountry.TollFree;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum AvailablePhoneNumberCountryTollFreeApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AvailablePhoneNumberCountryTollFreeApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum AvailablePhoneNumberCountryTollFreeApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java
index 6f5ad80..6b488f2 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Call;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -119,6 +121,7 @@ public enum CallApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CallApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -127,6 +130,17 @@ public enum CallApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java
index 562ff53..15f1ad7 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.call.Feedback;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum CallFeedbackApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CallFeedbackApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum CallFeedbackApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java
index 07a3d6b..ddcb0ccd 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.call.FeedbackSummary;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -67,6 +69,7 @@ public enum CallFeedbackSummaryApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CallFeedbackSummaryApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -75,6 +78,17 @@ public enum CallFeedbackSummaryApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java
index ffba871..49e3f90 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.call.Notification;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -56,6 +58,7 @@ public enum CallNotificationApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CallNotificationApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -64,6 +67,17 @@ public enum CallNotificationApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java
index 8e08835..7cbf5a2 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.call.Recording;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -95,6 +97,7 @@ public enum CallRecordingApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CallRecordingApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -103,6 +106,17 @@ public enum CallRecordingApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java
index a19888a..0196803 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Conference;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -63,6 +65,7 @@ public enum ConferenceApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ConferenceApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -71,6 +74,17 @@ public enum ConferenceApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java
index 4fd0786..ad991a6 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.conference.Participant;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -97,6 +99,7 @@ public enum ConferenceParticipantApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ConferenceParticipantApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -105,6 +108,17 @@ public enum ConferenceParticipantApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java
index 87df131..8f31924 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.ConnectApp;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -74,6 +76,7 @@ public enum ConnectAppApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ConnectAppApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -82,6 +85,17 @@ public enum ConnectAppApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java
index 05dfe7a..29ec4bf 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.IncomingPhoneNumber;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -96,6 +98,7 @@ public enum IncomingPhoneNumberApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static IncomingPhoneNumberApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -104,6 +107,17 @@ public enum IncomingPhoneNumberApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java
index b734ac0..2e6f2b9 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.incomingphonenumber.Local;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -52,6 +54,7 @@ public enum IncomingPhoneNumberLocalApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static IncomingPhoneNumberLocalApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -60,6 +63,17 @@ public enum IncomingPhoneNumberLocalApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java
index 2a8f22e..0712b96 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.incomingphonenumber.Mobile;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -52,6 +54,7 @@ public enum IncomingPhoneNumberMobileApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static IncomingPhoneNumberMobileApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -60,6 +63,17 @@ public enum IncomingPhoneNumberMobileApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java
index ae59382..e399a7b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.incomingphonenumber.TollFree;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -52,6 +54,7 @@ public enum IncomingPhoneNumberTollFreeApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static IncomingPhoneNumberTollFreeApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -60,6 +63,17 @@ public enum IncomingPhoneNumberTollFreeApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java
index 4609ee8..99352a4 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Key;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -74,6 +76,7 @@ public enum KeyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static KeyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -82,6 +85,17 @@ public enum KeyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java
index e4b0c52..dd35c3f 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Message;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -136,6 +138,7 @@ public enum MessageApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static MessageApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -144,6 +147,17 @@ public enum MessageApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java
index b2d5ed1a..2009ec5 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.message.Feedback;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum MessageFeedbackApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static MessageFeedbackApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum MessageFeedbackApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java
index 91b6ade..ce498cc 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.message.Media;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum MessageMediaApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static MessageMediaApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum MessageMediaApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java
index e3ea90a..c59c72f 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.NewKey;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum NewKeyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static NewKeyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum NewKeyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java
index 00c95ba..d390e2e 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.NewSigningKey;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum NewSigningKeyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static NewSigningKeyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum NewSigningKeyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java
index 378474e..89870c5 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Notification;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -52,6 +54,7 @@ public enum NotificationApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static NotificationApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -60,6 +63,17 @@ public enum NotificationApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java
index 7c60f40..96f3db8 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.OutgoingCallerId;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -74,6 +76,7 @@ public enum OutgoingCallerIdApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static OutgoingCallerIdApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -82,6 +85,17 @@ public enum OutgoingCallerIdApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java
index abed1f2..1b2f1e0 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Queue;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -85,6 +87,7 @@ public enum QueueApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static QueueApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -93,6 +96,17 @@ public enum QueueApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java
index faac679..982e41b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.queue.Member;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -71,6 +73,7 @@ public enum QueueMemberApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static QueueMemberApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -79,6 +82,17 @@ public enum QueueMemberApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java
index 105c548..2926977 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.recording.AddOnResult;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum RecordingAddOnResultApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static RecordingAddOnResultApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum RecordingAddOnResultApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java
index fcbc749..50e78c9 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.recording.addonresult.Payload;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -75,6 +77,7 @@ public enum RecordingAddOnResultPayloadApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static RecordingAddOnResultPayloadApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -83,6 +86,17 @@ public enum RecordingAddOnResultPayloadApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java
index 56a314b..fa22c6a 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Recording;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -63,6 +65,7 @@ public enum RecordingApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static RecordingApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -71,6 +74,17 @@ public enum RecordingApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java
index a0326a1..565ad38 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.recording.Transcription;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum RecordingTranscriptionApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static RecordingTranscriptionApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum RecordingTranscriptionApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java
index 3c9b4a6..244c796 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.ShortCode;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -63,6 +65,7 @@ public enum ShortCodeApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ShortCodeApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -71,6 +74,17 @@ public enum ShortCodeApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java
index ad1edd7..1d5bf1b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.SigningKey;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -74,6 +76,7 @@ public enum SigningKeyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SigningKeyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -82,6 +85,17 @@ public enum SigningKeyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java
index b728c8b..b76d376 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.credentiallist.Credential;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -97,6 +99,7 @@ public enum SipCredentialApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipCredentialApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -105,6 +108,17 @@ public enum SipCredentialApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java
index 6dc1367..3f733d7 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.CredentialList;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -87,6 +89,7 @@ public enum SipCredentialListApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipCredentialListApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -95,6 +98,17 @@ public enum SipCredentialListApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java
index cffc051..4dfece4 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.Domain;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -85,6 +87,7 @@ public enum SipDomainApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipDomainApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -93,6 +96,17 @@ public enum SipDomainApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java
index dc3e148..3d178b8 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.domain.CredentialListMapping;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -82,6 +84,7 @@ public enum SipDomainCredentialListMappingApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipDomainCredentialListMappingApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -90,6 +93,17 @@ public enum SipDomainCredentialListMappingApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java
index 5dc2249..36a9a8d 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.domain.IpAccessControlListMapping;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -82,6 +84,7 @@ public enum SipDomainIpAccessControlListMappingApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipDomainIpAccessControlListMappingApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -90,6 +93,17 @@ public enum SipDomainIpAccessControlListMappingApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java
index 2683e99..6704918 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.IpAccessControlList;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -87,6 +89,7 @@ public enum SipIpAccessControlListApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipIpAccessControlListApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -95,6 +98,17 @@ public enum SipIpAccessControlListApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java
index 4a7dec2..2854546 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.ipaccesscontrollist.IpAddress;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -97,6 +99,7 @@ public enum SipIpAccessControlListIpAddressApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipIpAccessControlListIpAddressApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -105,6 +108,17 @@ public enum SipIpAccessControlListIpAddressApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java
index d6bfe44..009fd70 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Token;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum TokenApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static TokenApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum TokenApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java
index b812100..0328dec 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Transcription;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -63,6 +65,7 @@ public enum TranscriptionApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static TranscriptionApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -71,6 +74,17 @@ public enum TranscriptionApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java
index 256ae18..5bb4c2e 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.twilio.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Twilio
@@ -138,6 +140,7 @@ public enum TwilioApiName implements ApiName {
     }
 
     public static TwilioApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -145,4 +148,16 @@ public enum TwilioApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java
index 3e9ae6a..f9ee99a 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.AllTime;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordAllTimeApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordAllTimeApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordAllTimeApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java
index dfcf798..17fb24c 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.Record;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java
index c1f8515..82f7931 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.Daily;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordDailyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordDailyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordDailyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java
index 2c5ef33..529c071 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.LastMonth;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordLastMonthApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordLastMonthApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordLastMonthApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java
index 37bc30d..f42237e 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.Monthly;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordMonthlyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordMonthlyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordMonthlyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java
index 984d566..0008019 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.ThisMonth;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordThisMonthApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordThisMonthApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordThisMonthApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java
index 65980a1..fe8a5be 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.Today;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordTodayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordTodayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordTodayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java
index de02600..3681eda 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.Yearly;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordYearlyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordYearlyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordYearlyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java
index cb2ee98..66a723d 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.Yesterday;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordYesterdayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordYesterdayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordYesterdayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
index 6af7de5..a0fecfd 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.Trigger;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -89,6 +91,7 @@ public enum UsageTriggerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageTriggerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -97,6 +100,17 @@ public enum UsageTriggerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java
index 971ed38..2ce415b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.ValidationRequest;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum ValidationRequestApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ValidationRequestApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum ValidationRequestApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java
index af52a1a..c032f40 100644
--- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java
+++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.zendesk.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.zendesk.client.v2.Zendesk;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -1811,6 +1813,7 @@ public enum ZendeskApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ZendeskApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -1819,6 +1822,17 @@ public enum ZendeskApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java
index 6b61870..e02f675 100644
--- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java
+++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.zendesk.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Zendesk
@@ -28,6 +30,7 @@ public enum ZendeskApiName implements ApiName {
     }
 
     public static ZendeskApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -35,4 +38,16 @@ public enum ZendeskApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
index 9e72ba5..2afdbaf 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
@@ -279,7 +279,6 @@ public class ApiComponentGeneratorMojo extends AbstractApiMethodBaseMojo {
     }
 
     public static String getNullableOptionValues(String[] nullableOptions) {
-
         if (nullableOptions == null || nullableOptions.length == 0) {
             return "";
         }
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm
index 345646b..4f2d559 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm
@@ -38,12 +38,14 @@ package $packageName;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import $proxyType.CanonicalName;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -71,6 +73,7 @@ public enum $enumName implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static $enumName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -79,6 +82,17 @@ public enum $enumName implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm
index 591871b..024665a 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm
@@ -36,7 +36,9 @@
  */
 package $packageName;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component $componentName
@@ -63,6 +65,7 @@ public enum $apiNameEnum implements ApiName {
     }
 
     public static $apiNameEnum fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -70,4 +73,16 @@ public enum $apiNameEnum implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }