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 870974285dae1d5d41c8f98c8fb3360093a39e7e
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Jan 6 07:47:59 2021 +0100

    camel-main - Remove option that was removed
---
 .../MainConfigurationPropertiesConfigurer.java     |  6 -----
 .../camel-main-configuration-metadata.json         |  1 -
 core/camel-main/src/main/docs/main.adoc            |  1 -
 .../camel/main/DefaultConfigurationProperties.java | 26 ----------------------
 4 files changed, 34 deletions(-)

diff --git 
a/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
 
b/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
index c91005f..28ced68 100644
--- 
a/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
+++ 
b/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
@@ -59,8 +59,6 @@ public class MainConfigurationPropertiesConfigurer extends 
org.apache.camel.supp
         case "DurationMaxMessages": 
target.setDurationMaxMessages(property(camelContext, int.class, value)); return 
true;
         case "durationmaxseconds":
         case "DurationMaxSeconds": 
target.setDurationMaxSeconds(property(camelContext, int.class, value)); return 
true;
-        case "endpointbasicpropertybinding":
-        case "EndpointBasicPropertyBinding": 
target.setEndpointBasicPropertyBinding(property(camelContext, boolean.class, 
value)); return true;
         case "endpointbridgeerrorhandler":
         case "EndpointBridgeErrorHandler": 
target.setEndpointBridgeErrorHandler(property(camelContext, boolean.class, 
value)); return true;
         case "endpointlazystartproducer":
@@ -228,8 +226,6 @@ public class MainConfigurationPropertiesConfigurer extends 
org.apache.camel.supp
         case "DurationMaxMessages": return int.class;
         case "durationmaxseconds":
         case "DurationMaxSeconds": return int.class;
-        case "endpointbasicpropertybinding":
-        case "EndpointBasicPropertyBinding": return boolean.class;
         case "endpointbridgeerrorhandler":
         case "EndpointBridgeErrorHandler": return boolean.class;
         case "endpointlazystartproducer":
@@ -398,8 +394,6 @@ public class MainConfigurationPropertiesConfigurer extends 
org.apache.camel.supp
         case "DurationMaxMessages": return target.getDurationMaxMessages();
         case "durationmaxseconds":
         case "DurationMaxSeconds": return target.getDurationMaxSeconds();
-        case "endpointbasicpropertybinding":
-        case "EndpointBasicPropertyBinding": return 
target.isEndpointBasicPropertyBinding();
         case "endpointbridgeerrorhandler":
         case "EndpointBridgeErrorHandler": return 
target.isEndpointBridgeErrorHandler();
         case "endpointlazystartproducer":
diff --git 
a/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
 
b/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
index bf887d8..7a249fd 100644
--- 
a/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
+++ 
b/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
@@ -29,7 +29,6 @@
     { "name": "camel.main.durationMaxIdleSeconds", "description": "To specify 
for how long time in seconds Camel can be idle before automatic terminating the 
JVM. You can use this to run Camel for a short while.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer", 
"javaType": "int" },
     { "name": "camel.main.durationMaxMessages", "description": "To specify how 
many messages to process by Camel before automatic terminating the JVM. You can 
use this to run Camel for a short while.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer", 
"javaType": "int" },
     { "name": "camel.main.durationMaxSeconds", "description": "To specify for 
how long time in seconds to keep running the JVM before automatic terminating 
the JVM. You can use this to run Camel for a short while.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer", 
"javaType": "int" },
-    { "name": "camel.main.endpointBasicPropertyBinding", "description": 
"Whether the endpoint should use basic property binding (Camel 2.x) or the 
newer property binding with additional capabilities. The default value is 
false.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", 
"type": "boolean", "javaType": "boolean" },
     { "name": "camel.main.endpointBridgeErrorHandler", "description": "Allows 
for bridging the consumer to the Camel routing Error Handler, which mean any 
exceptions occurred while the consumer is trying to pickup incoming messages, 
or the likes, will now be processed as a message and handled by the routing 
Error Handler. By default the consumer will use the 
org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be 
logged at WARN\/ERROR level and ignored. The default va [...]
     { "name": "camel.main.endpointLazyStartProducer", "description": "Whether 
the producer should be started lazy (on the first message). By starting lazy 
you can use this to allow CamelContext and routes to startup in situations 
where a producer may otherwise fail during starting and cause the route to fail 
being started. By deferring this startup to be lazy then the startup failure 
can be handled during routing messages via Camel's routing error handlers. 
Beware that when the first mes [...]
     { "name": "camel.main.endpointRuntimeStatisticsEnabled", "description": 
"Sets whether endpoint runtime statistics is enabled (gathers runtime usage of 
each incoming and outgoing endpoints). The default value is false.", 
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": 
"boolean", "javaType": "boolean" },
diff --git a/core/camel-main/src/main/docs/main.adoc 
b/core/camel-main/src/main/docs/main.adoc
index 886b941..32177f1 100644
--- a/core/camel-main/src/main/docs/main.adoc
+++ b/core/camel-main/src/main/docs/main.adoc
@@ -41,7 +41,6 @@ The following table lists all the options:
 | *camel.main.durationMaxIdle{zwsp}Seconds* | To specify for how long time in 
seconds Camel can be idle before automatic terminating the JVM. You can use 
this to run Camel for a short while. |  | int
 | *camel.main.durationMaxMessages* | To specify how many messages to process 
by Camel before automatic terminating the JVM. You can use this to run Camel 
for a short while. |  | int
 | *camel.main.durationMaxSeconds* | To specify for how long time in seconds to 
keep running the JVM before automatic terminating the JVM. You can use this to 
run Camel for a short while. |  | int
-| *camel.main.endpointBasic{zwsp}PropertyBinding* | Whether the endpoint 
should use basic property binding (Camel 2.x) or the newer property binding 
with additional capabilities. The default value is false. |  | boolean
 | *camel.main.endpointBridgeError{zwsp}Handler* | Allows for bridging the 
consumer to the Camel routing Error Handler, which mean any exceptions occurred 
while the consumer is trying to pickup incoming messages, or the likes, will 
now be processed as a message and handled by the routing Error Handler. By 
default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal 
with exceptions, that will be logged at WARN/ERROR level and ignored. The 
default value is false. |  | boolean
 | *camel.main.endpointLazyStart{zwsp}Producer* | Whether the producer should 
be started lazy (on the first message). By starting lazy you can use this to 
allow CamelContext and routes to startup in situations where a producer may 
otherwise fail during starting and cause the route to fail being started. By 
deferring this startup to be lazy then the startup failure can be handled 
during routing messages via Camel's routing error handlers. Beware that when 
the first message is processed the [...]
 | *camel.main.endpointRuntime{zwsp}StatisticsEnabled* | Sets whether endpoint 
runtime statistics is enabled (gathers runtime usage of each incoming and 
outgoing endpoints). The default value is false. |  | boolean
diff --git 
a/core/camel-main/src/main/java/org/apache/camel/main/DefaultConfigurationProperties.java
 
b/core/camel-main/src/main/java/org/apache/camel/main/DefaultConfigurationProperties.java
index 2a47ca3..44de80a 100644
--- 
a/core/camel-main/src/main/java/org/apache/camel/main/DefaultConfigurationProperties.java
+++ 
b/core/camel-main/src/main/java/org/apache/camel/main/DefaultConfigurationProperties.java
@@ -66,7 +66,6 @@ public abstract class DefaultConfigurationProperties<T> {
     private boolean endpointRuntimeStatisticsEnabled;
     private boolean endpointLazyStartProducer;
     private boolean endpointBridgeErrorHandler;
-    private boolean endpointBasicPropertyBinding;
     private boolean useDataType;
     private boolean useBreadcrumb;
     private boolean beanPostProcessorEnabled = true;
@@ -621,20 +620,6 @@ public abstract class DefaultConfigurationProperties<T> {
         this.endpointBridgeErrorHandler = endpointBridgeErrorHandler;
     }
 
-    public boolean isEndpointBasicPropertyBinding() {
-        return endpointBasicPropertyBinding;
-    }
-
-    /**
-     * Whether the endpoint should use basic property binding (Camel 2.x) or 
the newer property binding with additional
-     * capabilities.
-     *
-     * The default value is false.
-     */
-    public void setEndpointBasicPropertyBinding(boolean 
endpointBasicPropertyBinding) {
-        this.endpointBasicPropertyBinding = endpointBasicPropertyBinding;
-    }
-
     public boolean isUseDataType() {
         return useDataType;
     }
@@ -1492,17 +1477,6 @@ public abstract class DefaultConfigurationProperties<T> {
     }
 
     /**
-     * Whether the endpoint should use basic property binding (Camel 2.x) or 
the newer property binding with additional
-     * capabilities.
-     *
-     * The default value is false.
-     */
-    public T withEndpointBasicPropertyBinding(boolean 
endpointBasicPropertyBinding) {
-        this.endpointBasicPropertyBinding = endpointBasicPropertyBinding;
-        return (T) this;
-    }
-
-    /**
      * Whether to enable using data type on Camel messages.
      *
      * Data type are automatic turned on if one ore more routes has been 
explicit configured with input and output

Reply via email to