camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/3] camel git commit: CAMEL-10042: camel-spring-boot - Add default values to auto configuration
Date Fri, 10 Jun 2016 13:37:52 GMT
Repository: camel
Updated Branches:
  refs/heads/master 8d81593ad -> 6bce8a15a


http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
index b027c28..8862b42 100644
--- a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
+++ b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
@@ -58,7 +58,7 @@ public class JmsComponentConfiguration {
      * queue on the JMS broker. To avoid this its recommended to enable this
      * option.
      */
-    private boolean acceptMessagesWhileStopping;
+    private Boolean acceptMessagesWhileStopping = false;
     /**
      * Whether the DefaultMessageListenerContainer used in the reply managers
      * for request-reply messaging allow the
@@ -68,7 +68,7 @@ public class JmsComponentConfiguration {
      * ability is enabled by default in the regular JMS consumers but to enable
      * for reply managers you must enable this flag.
      */
-    private boolean allowReplyManagerQuickStop;
+    private Boolean allowReplyManagerQuickStop = false;
     /**
      * The JMS acknowledgement mode defined as an Integer. Allows you to set
      * vendor-specific extensions to the acknowledgment mode. For the regular
@@ -81,7 +81,7 @@ public class JmsComponentConfiguration {
      * but sometimes can catch early any issues with the underlying JMS provider
      * and the use of JMS properties
      */
-    private boolean eagerLoadingOfProperties;
+    private Boolean eagerLoadingOfProperties = false;
     /**
      * The JMS acknowledgement name which is one of: SESSION_TRANSACTED
      * CLIENT_ACKNOWLEDGE AUTO_ACKNOWLEDGE DUPS_OK_ACKNOWLEDGE
@@ -90,7 +90,7 @@ public class JmsComponentConfiguration {
     /**
      * Specifies whether the consumer container should auto-startup.
      */
-    private boolean autoStartup;
+    private Boolean autoStartup = false;
     /**
      * Sets the cache level by ID for the underlying JMS resources. See
      * cacheLevelName option for more details.
@@ -142,7 +142,7 @@ public class JmsComponentConfiguration {
     /**
      * Specifies whether persistent delivery is used by default.
      */
-    private boolean deliveryPersistent;
+    private Boolean deliveryPersistent = false;
     /**
      * Specifies the delivery mode to be used. Possible values are Possibles
      * values are those defined by javax.jms.DeliveryMode. NON_PERSISTENT = 1
@@ -178,7 +178,7 @@ public class JmsComponentConfiguration {
      * Allows to control whether stacktraces should be logged or not by the
      * default errorHandler.
      */
-    private boolean errorHandlerLogStackTrace;
+    private Boolean errorHandlerLogStackTrace = false;
     /**
      * Set if the deliveryMode priority or timeToLive qualities of service
      * should be used when sending messages. This option is based on Spring's
@@ -187,12 +187,12 @@ public class JmsComponentConfiguration {
      * option which operates at message granularity reading QoS properties
      * exclusively from the Camel In message headers.
      */
-    private boolean explicitQosEnabled;
+    private Boolean explicitQosEnabled = false;
     /**
      * Specifies whether the listener session should be exposed when consuming
      * messages.
      */
-    private boolean exposeListenerSession;
+    private Boolean exposeListenerSession = false;
     /**
      * Specifies the limit for idle executions of a receive task not having
      * received any message within its execution. If this limit is reached the
@@ -244,16 +244,16 @@ public class JmsComponentConfiguration {
      * suited payload type such as javax.jms.TextMessage to a String etc. See
      * section about how mapping works below for more details.
      */
-    private boolean mapJmsMessage;
+    private Boolean mapJmsMessage = false;
     /**
      * When sending specifies whether message IDs should be added.
      */
-    private boolean messageIdEnabled;
+    private Boolean messageIdEnabled = false;
     /**
      * Specifies whether timestamps should be enabled by default on sending
      * messages.
      */
-    private boolean messageTimestampEnabled;
+    private Boolean messageTimestampEnabled = false;
     /**
      * If true Camel will always make a JMS message copy of the message when it
      * is passed to the producer for sending. Copying the message is needed in
@@ -261,12 +261,12 @@ public class JmsComponentConfiguration {
      * (incidentally Camel will set the alwaysCopyMessage option to true if a
      * replyToDestinationSelectorName is set)
      */
-    private boolean alwaysCopyMessage;
+    private Boolean alwaysCopyMessage = false;
     /**
      * Specifies whether JMSMessageID should always be used as JMSCorrelationID
      * for InOut messages.
      */
-    private boolean useMessageIDAsCorrelationID;
+    private Boolean useMessageIDAsCorrelationID = false;
     /**
      * Values greater than 1 specify the message priority when sending (where 0
      * is the lowest priority and 9 is the highest). The explicitQosEnabled
@@ -277,7 +277,7 @@ public class JmsComponentConfiguration {
      * Specifies whether to inhibit the delivery of messages published by its
      * own connection.
      */
-    private boolean pubSubNoLocal;
+    private Boolean pubSubNoLocal = false;
     /**
      * The timeout for receiving messages (in milliseconds).
      */
@@ -293,7 +293,7 @@ public class JmsComponentConfiguration {
      * and a clientId.
      */
     @Deprecated
-    private boolean subscriptionDurable;
+    private Boolean subscriptionDurable = false;
     /**
      * Allows you to specify a custom task executor for consuming messages.
      */
@@ -306,12 +306,12 @@ public class JmsComponentConfiguration {
     /**
      * Specifies whether to use transacted mode
      */
-    private boolean transacted;
+    private Boolean transacted = false;
     /**
      * If true Camel will create a JmsTransactionManager if there is no
      * transactionManager injected when option transacted=true.
      */
-    private boolean lazyCreateTransactionManager;
+    private Boolean lazyCreateTransactionManager = false;
     /**
      * The Spring transaction manager to use.
      */
@@ -332,7 +332,7 @@ public class JmsComponentConfiguration {
      * exception on startup. This ensures that Camel is not started with failed
      * connections. The JMS producers is tested as well.
      */
-    private boolean testConnectionOnStartup;
+    private Boolean testConnectionOnStartup = false;
     /**
      * Whether to startup the JmsConsumer message listener asynchronously when
      * starting a route. For example if a JmsConsumer cannot get a connection to
@@ -345,19 +345,19 @@ public class JmsComponentConfiguration {
      * will not be able to receive messages; You can then restart the route to
      * retry.
      */
-    private boolean asyncStartListener;
+    private Boolean asyncStartListener = false;
     /**
      * Whether to stop the JmsConsumer message listener asynchronously when
      * stopping a route.
      */
-    private boolean asyncStopListener;
+    private Boolean asyncStopListener = false;
     /**
      * When using mapJmsMessage=false Camel will create a new JMS message to
      * send to a new JMS destination if you touch the headers (get or set)
      * during the route. Set this option to true to force Camel to send the
      * original JMS message that was received.
      */
-    private boolean forceSendOriginalMessage;
+    private Boolean forceSendOriginalMessage = false;
     /**
      * The timeout for waiting for a reply when using the InOut Exchange Pattern
      * (in milliseconds). The default is 20 seconds. You can include the header
@@ -383,7 +383,7 @@ public class JmsComponentConfiguration {
      * enable this option on both the producer and consumer side so Camel knows
      * the payloads is an Exchange and not a regular payload.
      */
-    private boolean transferExchange;
+    private Boolean transferExchange = false;
     /**
      * If enabled and you are using Request Reply messaging (InOut) and an
      * Exchange failed on the consumer side then the caused Exception will be
@@ -396,7 +396,7 @@ public class JmsComponentConfiguration {
      * wrapped in an outer exception such as
      * org.apache.camel.RuntimeCamelException when returned to the producer.
      */
-    private boolean transferException;
+    private Boolean transferException = false;
     /**
      * If enabled and you are using Request Reply messaging (InOut) and an
      * Exchange failed with a SOAP fault (not exception) on the consumer side
@@ -407,7 +407,7 @@ public class JmsComponentConfiguration {
      * You may want to enable this when using Camel components that support
      * faults such as SOAP based such as cxf or spring-ws.
      */
-    private boolean transferFault;
+    private Boolean transferFault = false;
     /**
      * Allows you to use your own implementation of the
      * org.springframework.jms.core.JmsOperations interface. Camel uses
@@ -444,7 +444,7 @@ public class JmsComponentConfiguration {
      * explicitQosEnabled option by contrast will only use options set on the
      * endpoint and not values from the message header.
      */
-    private boolean preserveMessageQos;
+    private Boolean preserveMessageQos = false;
     /**
      * Whether the JmsConsumer processes the Exchange asynchronously. If enabled
      * then the JmsConsumer may pickup the next message from the JMS queue while
@@ -456,26 +456,26 @@ public class JmsComponentConfiguration {
      * asyncConsumer=true does not run asynchronously as transaction must be
      * executed synchronously (Camel 3.0 may support async transactions).
      */
-    private boolean asyncConsumer;
+    private Boolean asyncConsumer = false;
     /**
      * Whether to allow sending messages with no body. If this option is false
      * and the message body is null then an JMSException is thrown.
      */
-    private boolean allowNullBody;
+    private Boolean allowNullBody = false;
     /**
      * Only applicable when sending to JMS destination using InOnly (eg fire and
      * forget). Enabling this option will enrich the Camel Exchange with the
      * actual JMSMessageID that was used by the JMS client when the message was
      * sent to the JMS destination.
      */
-    private boolean includeSentJMSMessageID;
+    private Boolean includeSentJMSMessageID = false;
     /**
      * Whether to include all JMSXxxx properties when mapping from JMS to Camel
      * Message. Setting this to true will include properties such as JMSXAppID
      * and JMSXUserID etc. Note: If you are using a custom headerFilterStrategy
      * then this option does not apply.
      */
-    private boolean includeAllJMSXProperties;
+    private Boolean includeAllJMSXProperties = false;
     /**
      * Specifies what default TaskExecutor type to use in the
      * DefaultMessageListenerContainer for both consumer endpoints and the
@@ -539,20 +539,20 @@ public class JmsComponentConfiguration {
         this.configuration = configuration;
     }
 
-    public boolean isAcceptMessagesWhileStopping() {
+    public Boolean getAcceptMessagesWhileStopping() {
         return acceptMessagesWhileStopping;
     }
 
     public void setAcceptMessagesWhileStopping(
-            boolean acceptMessagesWhileStopping) {
+            Boolean acceptMessagesWhileStopping) {
         this.acceptMessagesWhileStopping = acceptMessagesWhileStopping;
     }
 
-    public boolean isAllowReplyManagerQuickStop() {
+    public Boolean getAllowReplyManagerQuickStop() {
         return allowReplyManagerQuickStop;
     }
 
-    public void setAllowReplyManagerQuickStop(boolean allowReplyManagerQuickStop) {
+    public void setAllowReplyManagerQuickStop(Boolean allowReplyManagerQuickStop) {
         this.allowReplyManagerQuickStop = allowReplyManagerQuickStop;
     }
 
@@ -564,11 +564,11 @@ public class JmsComponentConfiguration {
         this.acknowledgementMode = acknowledgementMode;
     }
 
-    public boolean isEagerLoadingOfProperties() {
+    public Boolean getEagerLoadingOfProperties() {
         return eagerLoadingOfProperties;
     }
 
-    public void setEagerLoadingOfProperties(boolean eagerLoadingOfProperties) {
+    public void setEagerLoadingOfProperties(Boolean eagerLoadingOfProperties) {
         this.eagerLoadingOfProperties = eagerLoadingOfProperties;
     }
 
@@ -580,11 +580,11 @@ public class JmsComponentConfiguration {
         this.acknowledgementModeName = acknowledgementModeName;
     }
 
-    public boolean isAutoStartup() {
+    public Boolean getAutoStartup() {
         return autoStartup;
     }
 
-    public void setAutoStartup(boolean autoStartup) {
+    public void setAutoStartup(Boolean autoStartup) {
         this.autoStartup = autoStartup;
     }
 
@@ -644,11 +644,11 @@ public class JmsComponentConfiguration {
         this.connectionFactory = connectionFactory;
     }
 
-    public boolean isDeliveryPersistent() {
+    public Boolean getDeliveryPersistent() {
         return deliveryPersistent;
     }
 
-    public void setDeliveryPersistent(boolean deliveryPersistent) {
+    public void setDeliveryPersistent(Boolean deliveryPersistent) {
         this.deliveryPersistent = deliveryPersistent;
     }
 
@@ -693,27 +693,27 @@ public class JmsComponentConfiguration {
         this.errorHandlerLoggingLevel = errorHandlerLoggingLevel;
     }
 
-    public boolean isErrorHandlerLogStackTrace() {
+    public Boolean getErrorHandlerLogStackTrace() {
         return errorHandlerLogStackTrace;
     }
 
-    public void setErrorHandlerLogStackTrace(boolean errorHandlerLogStackTrace) {
+    public void setErrorHandlerLogStackTrace(Boolean errorHandlerLogStackTrace) {
         this.errorHandlerLogStackTrace = errorHandlerLogStackTrace;
     }
 
-    public boolean isExplicitQosEnabled() {
+    public Boolean getExplicitQosEnabled() {
         return explicitQosEnabled;
     }
 
-    public void setExplicitQosEnabled(boolean explicitQosEnabled) {
+    public void setExplicitQosEnabled(Boolean explicitQosEnabled) {
         this.explicitQosEnabled = explicitQosEnabled;
     }
 
-    public boolean isExposeListenerSession() {
+    public Boolean getExposeListenerSession() {
         return exposeListenerSession;
     }
 
-    public void setExposeListenerSession(boolean exposeListenerSession) {
+    public void setExposeListenerSession(Boolean exposeListenerSession) {
         this.exposeListenerSession = exposeListenerSession;
     }
 
@@ -775,44 +775,44 @@ public class JmsComponentConfiguration {
         this.messageConverter = messageConverter;
     }
 
-    public boolean isMapJmsMessage() {
+    public Boolean getMapJmsMessage() {
         return mapJmsMessage;
     }
 
-    public void setMapJmsMessage(boolean mapJmsMessage) {
+    public void setMapJmsMessage(Boolean mapJmsMessage) {
         this.mapJmsMessage = mapJmsMessage;
     }
 
-    public boolean isMessageIdEnabled() {
+    public Boolean getMessageIdEnabled() {
         return messageIdEnabled;
     }
 
-    public void setMessageIdEnabled(boolean messageIdEnabled) {
+    public void setMessageIdEnabled(Boolean messageIdEnabled) {
         this.messageIdEnabled = messageIdEnabled;
     }
 
-    public boolean isMessageTimestampEnabled() {
+    public Boolean getMessageTimestampEnabled() {
         return messageTimestampEnabled;
     }
 
-    public void setMessageTimestampEnabled(boolean messageTimestampEnabled) {
+    public void setMessageTimestampEnabled(Boolean messageTimestampEnabled) {
         this.messageTimestampEnabled = messageTimestampEnabled;
     }
 
-    public boolean isAlwaysCopyMessage() {
+    public Boolean getAlwaysCopyMessage() {
         return alwaysCopyMessage;
     }
 
-    public void setAlwaysCopyMessage(boolean alwaysCopyMessage) {
+    public void setAlwaysCopyMessage(Boolean alwaysCopyMessage) {
         this.alwaysCopyMessage = alwaysCopyMessage;
     }
 
-    public boolean isUseMessageIDAsCorrelationID() {
+    public Boolean getUseMessageIDAsCorrelationID() {
         return useMessageIDAsCorrelationID;
     }
 
     public void setUseMessageIDAsCorrelationID(
-            boolean useMessageIDAsCorrelationID) {
+            Boolean useMessageIDAsCorrelationID) {
         this.useMessageIDAsCorrelationID = useMessageIDAsCorrelationID;
     }
 
@@ -824,11 +824,11 @@ public class JmsComponentConfiguration {
         this.priority = priority;
     }
 
-    public boolean isPubSubNoLocal() {
+    public Boolean getPubSubNoLocal() {
         return pubSubNoLocal;
     }
 
-    public void setPubSubNoLocal(boolean pubSubNoLocal) {
+    public void setPubSubNoLocal(Boolean pubSubNoLocal) {
         this.pubSubNoLocal = pubSubNoLocal;
     }
 
@@ -848,11 +848,11 @@ public class JmsComponentConfiguration {
         this.recoveryInterval = recoveryInterval;
     }
 
-    public boolean isSubscriptionDurable() {
+    public Boolean getSubscriptionDurable() {
         return subscriptionDurable;
     }
 
-    public void setSubscriptionDurable(boolean subscriptionDurable) {
+    public void setSubscriptionDurable(Boolean subscriptionDurable) {
         this.subscriptionDurable = subscriptionDurable;
     }
 
@@ -872,20 +872,20 @@ public class JmsComponentConfiguration {
         this.timeToLive = timeToLive;
     }
 
-    public boolean isTransacted() {
+    public Boolean getTransacted() {
         return transacted;
     }
 
-    public void setTransacted(boolean transacted) {
+    public void setTransacted(Boolean transacted) {
         this.transacted = transacted;
     }
 
-    public boolean isLazyCreateTransactionManager() {
+    public Boolean getLazyCreateTransactionManager() {
         return lazyCreateTransactionManager;
     }
 
     public void setLazyCreateTransactionManager(
-            boolean lazyCreateTransactionManager) {
+            Boolean lazyCreateTransactionManager) {
         this.lazyCreateTransactionManager = lazyCreateTransactionManager;
     }
 
@@ -914,35 +914,35 @@ public class JmsComponentConfiguration {
         this.transactionTimeout = transactionTimeout;
     }
 
-    public boolean isTestConnectionOnStartup() {
+    public Boolean getTestConnectionOnStartup() {
         return testConnectionOnStartup;
     }
 
-    public void setTestConnectionOnStartup(boolean testConnectionOnStartup) {
+    public void setTestConnectionOnStartup(Boolean testConnectionOnStartup) {
         this.testConnectionOnStartup = testConnectionOnStartup;
     }
 
-    public boolean isAsyncStartListener() {
+    public Boolean getAsyncStartListener() {
         return asyncStartListener;
     }
 
-    public void setAsyncStartListener(boolean asyncStartListener) {
+    public void setAsyncStartListener(Boolean asyncStartListener) {
         this.asyncStartListener = asyncStartListener;
     }
 
-    public boolean isAsyncStopListener() {
+    public Boolean getAsyncStopListener() {
         return asyncStopListener;
     }
 
-    public void setAsyncStopListener(boolean asyncStopListener) {
+    public void setAsyncStopListener(Boolean asyncStopListener) {
         this.asyncStopListener = asyncStopListener;
     }
 
-    public boolean isForceSendOriginalMessage() {
+    public Boolean getForceSendOriginalMessage() {
         return forceSendOriginalMessage;
     }
 
-    public void setForceSendOriginalMessage(boolean forceSendOriginalMessage) {
+    public void setForceSendOriginalMessage(Boolean forceSendOriginalMessage) {
         this.forceSendOriginalMessage = forceSendOriginalMessage;
     }
 
@@ -963,27 +963,27 @@ public class JmsComponentConfiguration {
         this.requestTimeoutCheckerInterval = requestTimeoutCheckerInterval;
     }
 
-    public boolean isTransferExchange() {
+    public Boolean getTransferExchange() {
         return transferExchange;
     }
 
-    public void setTransferExchange(boolean transferExchange) {
+    public void setTransferExchange(Boolean transferExchange) {
         this.transferExchange = transferExchange;
     }
 
-    public boolean isTransferException() {
+    public Boolean getTransferException() {
         return transferException;
     }
 
-    public void setTransferException(boolean transferException) {
+    public void setTransferException(Boolean transferException) {
         this.transferException = transferException;
     }
 
-    public boolean isTransferFault() {
+    public Boolean getTransferFault() {
         return transferFault;
     }
 
-    public void setTransferFault(boolean transferFault) {
+    public void setTransferFault(Boolean transferFault) {
         this.transferFault = transferFault;
     }
 
@@ -1011,43 +1011,43 @@ public class JmsComponentConfiguration {
         this.replyToType = replyToType;
     }
 
-    public boolean isPreserveMessageQos() {
+    public Boolean getPreserveMessageQos() {
         return preserveMessageQos;
     }
 
-    public void setPreserveMessageQos(boolean preserveMessageQos) {
+    public void setPreserveMessageQos(Boolean preserveMessageQos) {
         this.preserveMessageQos = preserveMessageQos;
     }
 
-    public boolean isAsyncConsumer() {
+    public Boolean getAsyncConsumer() {
         return asyncConsumer;
     }
 
-    public void setAsyncConsumer(boolean asyncConsumer) {
+    public void setAsyncConsumer(Boolean asyncConsumer) {
         this.asyncConsumer = asyncConsumer;
     }
 
-    public boolean isAllowNullBody() {
+    public Boolean getAllowNullBody() {
         return allowNullBody;
     }
 
-    public void setAllowNullBody(boolean allowNullBody) {
+    public void setAllowNullBody(Boolean allowNullBody) {
         this.allowNullBody = allowNullBody;
     }
 
-    public boolean isIncludeSentJMSMessageID() {
+    public Boolean getIncludeSentJMSMessageID() {
         return includeSentJMSMessageID;
     }
 
-    public void setIncludeSentJMSMessageID(boolean includeSentJMSMessageID) {
+    public void setIncludeSentJMSMessageID(Boolean includeSentJMSMessageID) {
         this.includeSentJMSMessageID = includeSentJMSMessageID;
     }
 
-    public boolean isIncludeAllJMSXProperties() {
+    public Boolean getIncludeAllJMSXProperties() {
         return includeAllJMSXProperties;
     }
 
-    public void setIncludeAllJMSXProperties(boolean includeAllJMSXProperties) {
+    public void setIncludeAllJMSXProperties(Boolean includeAllJMSXProperties) {
         this.includeAllJMSXProperties = includeAllJMSXProperties;
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
index 44050ce..246ecdb 100644
--- a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
+++ b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
@@ -45,13 +45,13 @@ public class JpaComponentConfiguration {
      * also be set globally on the JpaComponent instead of having to set it on
      * all endpoints.
      */
-    private boolean joinTransaction;
+    private Boolean joinTransaction = false;
     /**
      * Whether to use Spring's SharedEntityManager for the consumer/producer.
      * Note in most cases joinTransaction should be set to false as this is not
      * an EXTENDED EntityManager.
      */
-    private boolean sharedEntityManager;
+    private Boolean sharedEntityManager = false;
 
     public EntityManagerFactory getEntityManagerFactory() {
         return entityManagerFactory;
@@ -71,19 +71,19 @@ public class JpaComponentConfiguration {
         this.transactionManager = transactionManager;
     }
 
-    public boolean isJoinTransaction() {
+    public Boolean getJoinTransaction() {
         return joinTransaction;
     }
 
-    public void setJoinTransaction(boolean joinTransaction) {
+    public void setJoinTransaction(Boolean joinTransaction) {
         this.joinTransaction = joinTransaction;
     }
 
-    public boolean isSharedEntityManager() {
+    public Boolean getSharedEntityManager() {
         return sharedEntityManager;
     }
 
-    public void setSharedEntityManager(boolean sharedEntityManager) {
+    public void setSharedEntityManager(Boolean sharedEntityManager) {
         this.sharedEntityManager = sharedEntityManager;
     }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java
index 4fa0f5f..f843bdc 100644
--- a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java
+++ b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java
@@ -31,13 +31,13 @@ public class ScpComponentConfiguration {
      * down to DEBUG logging by default. But setting this option to true turns
      * on the verbose logging again.
      */
-    private boolean verboseLogging;
+    private Boolean verboseLogging = false;
 
-    public boolean isVerboseLogging() {
+    public Boolean getVerboseLogging() {
         return verboseLogging;
     }
 
-    public void setVerboseLogging(boolean verboseLogging) {
+    public void setVerboseLogging(Boolean verboseLogging) {
         this.verboseLogging = verboseLogging;
     }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-lzf/src/main/java/org/apache/camel/dataformat/lzf/springboot/LZFDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-lzf/src/main/java/org/apache/camel/dataformat/lzf/springboot/LZFDataFormatConfiguration.java b/components/camel-lzf/src/main/java/org/apache/camel/dataformat/lzf/springboot/LZFDataFormatConfiguration.java
index 8aa14e5..14eb87b 100644
--- a/components/camel-lzf/src/main/java/org/apache/camel/dataformat/lzf/springboot/LZFDataFormatConfiguration.java
+++ b/components/camel-lzf/src/main/java/org/apache/camel/dataformat/lzf/springboot/LZFDataFormatConfiguration.java
@@ -29,7 +29,7 @@ public class LZFDataFormatConfiguration {
     /**
      * Enable encoding (compress) using multiple processing cores.
      */
-    private Boolean usingParallelCompression;
+    private Boolean usingParallelCompression = false;
 
     public Boolean getUsingParallelCompression() {
         return usingParallelCompression;

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-mail/src/main/java/org/apache/camel/dataformat/mime/multipart/springboot/MimeMultipartDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mail/src/main/java/org/apache/camel/dataformat/mime/multipart/springboot/MimeMultipartDataFormatConfiguration.java b/components/camel-mail/src/main/java/org/apache/camel/dataformat/mime/multipart/springboot/MimeMultipartDataFormatConfiguration.java
index d2af309..a881a5d 100644
--- a/components/camel-mail/src/main/java/org/apache/camel/dataformat/mime/multipart/springboot/MimeMultipartDataFormatConfiguration.java
+++ b/components/camel-mail/src/main/java/org/apache/camel/dataformat/mime/multipart/springboot/MimeMultipartDataFormatConfiguration.java
@@ -34,12 +34,12 @@ public class MimeMultipartDataFormatConfiguration {
      * Defines whether a message without attachment is also marshaled into a
      * MIME Multipart (with only one body part). Default is false.
      */
-    private Boolean multipartWithoutAttachment;
+    private Boolean multipartWithoutAttachment = false;
     /**
      * Defines whether the MIME-Multipart headers are part of the message body
      * (true) or are set as Camel headers (false). Default is false.
      */
-    private Boolean headersInline;
+    private Boolean headersInline = false;
     /**
      * A regex that defines which Camel headers are also included as MIME
      * headers into the MIME multipart. This will only work if headersInline is
@@ -50,7 +50,7 @@ public class MimeMultipartDataFormatConfiguration {
      * Defines whether the content of binary parts in the MIME multipart is
      * binary (true) or Base-64 encoded (false) Default is false.
      */
-    private Boolean binaryContent;
+    private Boolean binaryContent = false;
 
     public String getMultipartSubType() {
         return multipartSubType;

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
index ad2828d..5c63e34 100644
--- a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
+++ b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
@@ -54,12 +54,12 @@ public class QuartzComponentConfiguration {
      * Whether or not the scheduler should be auto started. This options is
      * default true
      */
-    private boolean autoStartScheduler;
+    private Boolean autoStartScheduler = false;
     /**
      * Whether to enable Quartz JMX which allows to manage the Quartz scheduler
      * from JMX. This options is default true
      */
-    private boolean enableJmx;
+    private Boolean enableJmx = false;
 
     public SchedulerFactory getFactory() {
         return factory;
@@ -101,19 +101,19 @@ public class QuartzComponentConfiguration {
         this.startDelayedSeconds = startDelayedSeconds;
     }
 
-    public boolean isAutoStartScheduler() {
+    public Boolean getAutoStartScheduler() {
         return autoStartScheduler;
     }
 
-    public void setAutoStartScheduler(boolean autoStartScheduler) {
+    public void setAutoStartScheduler(Boolean autoStartScheduler) {
         this.autoStartScheduler = autoStartScheduler;
     }
 
-    public boolean isEnableJmx() {
+    public Boolean getEnableJmx() {
         return enableJmx;
     }
 
-    public void setEnableJmx(boolean enableJmx) {
+    public void setEnableJmx(Boolean enableJmx) {
         this.enableJmx = enableJmx;
     }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
index bf1836b..3f37ca4 100644
--- a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
+++ b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
@@ -33,7 +33,7 @@ public class QuartzComponentConfiguration {
      * Whether or not the scheduler should be auto started. This options is
      * default true
      */
-    private boolean autoStartScheduler;
+    private Boolean autoStartScheduler = false;
     /**
      * Seconds to wait before starting the quartz scheduler.
      */
@@ -42,12 +42,12 @@ public class QuartzComponentConfiguration {
      * Whether to prefix the quartz job with the endpoint id. This option is
      * default false.
      */
-    private boolean prefixJobNameWithEndpointId;
+    private Boolean prefixJobNameWithEndpointId = false;
     /**
      * Whether to enable Quartz JMX which allows to manage the Quartz scheduler
      * from JMX. This options is default true
      */
-    private boolean enableJmx;
+    private Boolean enableJmx = false;
     /**
      * Properties to configure the Quartz scheduler.
      */
@@ -63,7 +63,7 @@ public class QuartzComponentConfiguration {
      * to false to reuse Quartz scheduler instances between multiple
      * CamelContext's.
      */
-    private boolean prefixInstanceName;
+    private Boolean prefixInstanceName = false;
     /**
      * To use the custom SchedulerFactory which is used to create the Scheduler.
      */
@@ -74,11 +74,11 @@ public class QuartzComponentConfiguration {
      */
     private Scheduler scheduler;
 
-    public boolean isAutoStartScheduler() {
+    public Boolean getAutoStartScheduler() {
         return autoStartScheduler;
     }
 
-    public void setAutoStartScheduler(boolean autoStartScheduler) {
+    public void setAutoStartScheduler(Boolean autoStartScheduler) {
         this.autoStartScheduler = autoStartScheduler;
     }
 
@@ -90,20 +90,20 @@ public class QuartzComponentConfiguration {
         this.startDelayedSeconds = startDelayedSeconds;
     }
 
-    public boolean isPrefixJobNameWithEndpointId() {
+    public Boolean getPrefixJobNameWithEndpointId() {
         return prefixJobNameWithEndpointId;
     }
 
     public void setPrefixJobNameWithEndpointId(
-            boolean prefixJobNameWithEndpointId) {
+            Boolean prefixJobNameWithEndpointId) {
         this.prefixJobNameWithEndpointId = prefixJobNameWithEndpointId;
     }
 
-    public boolean isEnableJmx() {
+    public Boolean getEnableJmx() {
         return enableJmx;
     }
 
-    public void setEnableJmx(boolean enableJmx) {
+    public void setEnableJmx(Boolean enableJmx) {
         this.enableJmx = enableJmx;
     }
 
@@ -123,11 +123,11 @@ public class QuartzComponentConfiguration {
         this.propertiesFile = propertiesFile;
     }
 
-    public boolean isPrefixInstanceName() {
+    public Boolean getPrefixInstanceName() {
         return prefixInstanceName;
     }
 
-    public void setPrefixInstanceName(boolean prefixInstanceName) {
+    public void setPrefixInstanceName(Boolean prefixInstanceName) {
         this.prefixInstanceName = prefixInstanceName;
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
index e05070f..ea72088 100644
--- a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
+++ b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
@@ -53,7 +53,7 @@ public class QuickfixjComponentConfiguration {
      * If set to true the engines will be created and started when needed (when
      * first message is send)
      */
-    private boolean lazyCreateEngines;
+    private Boolean lazyCreateEngines = false;
 
     public MessageFactory getMessageFactory() {
         return messageFactory;
@@ -88,11 +88,11 @@ public class QuickfixjComponentConfiguration {
         this.configurations = configurations;
     }
 
-    public boolean isLazyCreateEngines() {
+    public Boolean getLazyCreateEngines() {
         return lazyCreateEngines;
     }
 
-    public void setLazyCreateEngines(boolean lazyCreateEngines) {
+    public void setLazyCreateEngines(Boolean lazyCreateEngines) {
         this.lazyCreateEngines = lazyCreateEngines;
     }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
index 7c581db..cb65d97 100644
--- a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
+++ b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
@@ -110,7 +110,7 @@ public class RestletComponentConfiguration {
      * request input stream into a stream cache and put it into message body if
      * this option is false to support reading the stream multiple times.
      */
-    private boolean disableStreamCache;
+    private Boolean disableStreamCache = false;
     /**
      * To configure the port number for the restlet consumer routes. This allows
      * to configure this once to reuse the same port for these consumers.
@@ -253,11 +253,11 @@ public class RestletComponentConfiguration {
         this.maxQueued = maxQueued;
     }
 
-    public boolean isDisableStreamCache() {
+    public Boolean getDisableStreamCache() {
         return disableStreamCache;
     }
 
-    public void setDisableStreamCache(boolean disableStreamCache) {
+    public void setDisableStreamCache(Boolean disableStreamCache) {
         this.disableStreamCache = disableStreamCache;
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
index 37c73ea..1b88a01 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
@@ -67,11 +67,11 @@ public class SalesforceComponentConfiguration {
     /**
      * Enable for Socks4 proxy false by default
      */
-    private boolean isHttpProxySocks4;
+    private Boolean isHttpProxySocks4 = false;
     /**
      * Enable for TLS connections true by default
      */
-    private boolean isHttpProxySecure;
+    private Boolean isHttpProxySecure = false;
     /**
      * HTTP proxy included addresses
      */
@@ -91,7 +91,7 @@ public class SalesforceComponentConfiguration {
     /**
      * Use HTTP proxy Digest authentication false by default
      */
-    private boolean httpProxyUseDigestAuth;
+    private Boolean httpProxyUseDigestAuth = false;
     /**
      * Package names to scan for DTO classes (multiple packages can be separated
      * by comma).
@@ -163,19 +163,19 @@ public class SalesforceComponentConfiguration {
         this.httpProxyPassword = httpProxyPassword;
     }
 
-    public boolean isIsHttpProxySocks4() {
+    public Boolean getIsHttpProxySocks4() {
         return isHttpProxySocks4;
     }
 
-    public void setIsHttpProxySocks4(boolean isHttpProxySocks4) {
+    public void setIsHttpProxySocks4(Boolean isHttpProxySocks4) {
         this.isHttpProxySocks4 = isHttpProxySocks4;
     }
 
-    public boolean isIsHttpProxySecure() {
+    public Boolean getIsHttpProxySecure() {
         return isHttpProxySecure;
     }
 
-    public void setIsHttpProxySecure(boolean isHttpProxySecure) {
+    public void setIsHttpProxySecure(Boolean isHttpProxySecure) {
         this.isHttpProxySecure = isHttpProxySecure;
     }
 
@@ -213,11 +213,11 @@ public class SalesforceComponentConfiguration {
         this.httpProxyRealm = httpProxyRealm;
     }
 
-    public boolean isHttpProxyUseDigestAuth() {
+    public Boolean getHttpProxyUseDigestAuth() {
         return httpProxyUseDigestAuth;
     }
 
-    public void setHttpProxyUseDigestAuth(boolean httpProxyUseDigestAuth) {
+    public void setHttpProxyUseDigestAuth(Boolean httpProxyUseDigestAuth) {
         this.httpProxyUseDigestAuth = httpProxyUseDigestAuth;
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
index 56c156c..be38061 100644
--- a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
+++ b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
@@ -44,7 +44,7 @@ public class ServletComponentConfiguration {
      * Exchange. This is turn off by default as this may require servet specific
      * configuration to enable this when using Servlet's.
      */
-    private boolean attachmentMultipartBinding;
+    private Boolean attachmentMultipartBinding = false;
     /**
      * To use a custom HttpBinding to control the mapping between Camel message
      * and HttpClient.
@@ -61,7 +61,7 @@ public class ServletComponentConfiguration {
      * the incoming data from the request to Java and that can be a potential
      * security risk.
      */
-    private boolean allowJavaSerializedObject;
+    private Boolean allowJavaSerializedObject = false;
     /**
      * To use a custom HeaderFilterStrategy to filter header to and from Camel
      * message.
@@ -84,11 +84,11 @@ public class ServletComponentConfiguration {
         this.httpRegistry = httpRegistry;
     }
 
-    public boolean isAttachmentMultipartBinding() {
+    public Boolean getAttachmentMultipartBinding() {
         return attachmentMultipartBinding;
     }
 
-    public void setAttachmentMultipartBinding(boolean attachmentMultipartBinding) {
+    public void setAttachmentMultipartBinding(Boolean attachmentMultipartBinding) {
         this.attachmentMultipartBinding = attachmentMultipartBinding;
     }
 
@@ -108,11 +108,11 @@ public class ServletComponentConfiguration {
         this.httpConfiguration = httpConfiguration;
     }
 
-    public boolean isAllowJavaSerializedObject() {
+    public Boolean getAllowJavaSerializedObject() {
         return allowJavaSerializedObject;
     }
 
-    public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
+    public void setAllowJavaSerializedObject(Boolean allowJavaSerializedObject) {
         this.allowJavaSerializedObject = allowJavaSerializedObject;
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-snakeyaml/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-snakeyaml/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatConfiguration.java b/components/camel-snakeyaml/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatConfiguration.java
index 812ab2d..613f989 100644
--- a/components/camel-snakeyaml/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatConfiguration.java
+++ b/components/camel-snakeyaml/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatConfiguration.java
@@ -54,12 +54,12 @@ public class SnakeYAMLDataFormatConfiguration {
     /**
      * Use ApplicationContextClassLoader as custom ClassLoader
      */
-    private Boolean useApplicationContextClassLoader;
+    private Boolean useApplicationContextClassLoader = true;
     /**
      * Force the emitter to produce a pretty YAML document when using the flow
      * style.
      */
-    private Boolean prettyFlow;
+    private Boolean prettyFlow = false;
 
     public YAMLLibrary getLibrary() {
         return library;

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
index f8d5ea6..42e0745 100644
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
@@ -35,7 +35,7 @@ public class SqlComponentConfiguration {
      * Sets whether to use placeholder and replace all placeholder characters
      * with sign in the SQL queries. This option is default true
      */
-    private boolean usePlaceholder;
+    private Boolean usePlaceholder = true;
 
     public DataSource getDataSource() {
         return dataSource;
@@ -45,11 +45,11 @@ public class SqlComponentConfiguration {
         this.dataSource = dataSource;
     }
 
-    public boolean isUsePlaceholder() {
+    public Boolean getUsePlaceholder() {
         return usePlaceholder;
     }
 
-    public void setUsePlaceholder(boolean usePlaceholder) {
+    public void setUsePlaceholder(Boolean usePlaceholder) {
         this.usePlaceholder = usePlaceholder;
     }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-tarfile/src/main/java/org/apache/camel/dataformat/tarfile/springboot/TarFileDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-tarfile/src/main/java/org/apache/camel/dataformat/tarfile/springboot/TarFileDataFormatConfiguration.java b/components/camel-tarfile/src/main/java/org/apache/camel/dataformat/tarfile/springboot/TarFileDataFormatConfiguration.java
index 313b008..3b87904 100644
--- a/components/camel-tarfile/src/main/java/org/apache/camel/dataformat/tarfile/springboot/TarFileDataFormatConfiguration.java
+++ b/components/camel-tarfile/src/main/java/org/apache/camel/dataformat/tarfile/springboot/TarFileDataFormatConfiguration.java
@@ -31,7 +31,7 @@ public class TarFileDataFormatConfiguration {
      * allows to work with the splitter EIP to split the data using an iterator
      * in a streaming mode.
      */
-    private Boolean usingIterator;
+    private Boolean usingIterator = false;
 
     public Boolean getUsingIterator() {
         return usingIterator;

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityCsvDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityCsvDataFormatConfiguration.java b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityCsvDataFormatConfiguration.java
index 2711a90..8d5545d 100644
--- a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityCsvDataFormatConfiguration.java
+++ b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityCsvDataFormatConfiguration.java
@@ -29,7 +29,7 @@ public class UniVocityCsvDataFormatConfiguration {
     /**
      * Whether or not all values must be quoted when writing them.
      */
-    private Boolean quoteAllFields;
+    private Boolean quoteAllFields = false;
     /**
      * The quote symbol.
      */
@@ -49,28 +49,28 @@ public class UniVocityCsvDataFormatConfiguration {
     /**
      * Whether or not the empty lines must be ignored. The default value is true
      */
-    private Boolean skipEmptyLines;
+    private Boolean skipEmptyLines = true;
     /**
      * Whether or not the trailing white spaces must ignored. The default value
      * is true
      */
-    private Boolean ignoreTrailingWhitespaces;
+    private Boolean ignoreTrailingWhitespaces = true;
     /**
      * Whether or not the leading white spaces must be ignored. The default
      * value is true
      */
-    private Boolean ignoreLeadingWhitespaces;
+    private Boolean ignoreLeadingWhitespaces = true;
     /**
      * Whether or not the headers are disabled. When defined this option
      * explicitly sets the headers as null which indicates that there is no
      * header. The default value is false
      */
-    private Boolean headersDisabled;
+    private Boolean headersDisabled = false;
     /**
      * Whether or not the header must be read in the first line of the test
      * document The default value is false
      */
-    private Boolean headerExtractionEnabled;
+    private Boolean headerExtractionEnabled = false;
     /**
      * The maximum number of record to read.
      */
@@ -97,13 +97,13 @@ public class UniVocityCsvDataFormatConfiguration {
      * on the fly or if all the lines must be read at one. The default value is
      * false
      */
-    private Boolean lazyLoad;
+    private Boolean lazyLoad = false;
     /**
      * Whether the unmarshalling should produce maps for the lines values
      * instead of lists. It requires to have header (either defined or
      * collected). The default value is false
      */
-    private Boolean asMap;
+    private Boolean asMap = false;
 
     public Boolean getQuoteAllFields() {
         return quoteAllFields;

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityFixedWidthDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityFixedWidthDataFormatConfiguration.java b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityFixedWidthDataFormatConfiguration.java
index c7028aa..14ac124 100644
--- a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityFixedWidthDataFormatConfiguration.java
+++ b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityFixedWidthDataFormatConfiguration.java
@@ -30,11 +30,11 @@ public class UniVocityFixedWidthDataFormatConfiguration {
      * Whether or not the trailing characters until new line must be ignored.
      * The default value is false
      */
-    private Boolean skipTrailingCharsUntilNewline;
+    private Boolean skipTrailingCharsUntilNewline = false;
     /**
      * Whether or not the record ends on new line. The default value is false
      */
-    private Boolean recordEndsOnNewline;
+    private Boolean recordEndsOnNewline = false;
     /**
      * The padding character. The default value is a space
      */
@@ -46,28 +46,28 @@ public class UniVocityFixedWidthDataFormatConfiguration {
     /**
      * Whether or not the empty lines must be ignored. The default value is true
      */
-    private Boolean skipEmptyLines;
+    private Boolean skipEmptyLines = true;
     /**
      * Whether or not the trailing white spaces must ignored. The default value
      * is true
      */
-    private Boolean ignoreTrailingWhitespaces;
+    private Boolean ignoreTrailingWhitespaces = true;
     /**
      * Whether or not the leading white spaces must be ignored. The default
      * value is true
      */
-    private Boolean ignoreLeadingWhitespaces;
+    private Boolean ignoreLeadingWhitespaces = true;
     /**
      * Whether or not the headers are disabled. When defined this option
      * explicitly sets the headers as null which indicates that there is no
      * header. The default value is false
      */
-    private Boolean headersDisabled;
+    private Boolean headersDisabled = false;
     /**
      * Whether or not the header must be read in the first line of the test
      * document The default value is false
      */
-    private Boolean headerExtractionEnabled;
+    private Boolean headerExtractionEnabled = false;
     /**
      * The maximum number of record to read.
      */
@@ -94,13 +94,13 @@ public class UniVocityFixedWidthDataFormatConfiguration {
      * on the fly or if all the lines must be read at one. The default value is
      * false
      */
-    private Boolean lazyLoad;
+    private Boolean lazyLoad = false;
     /**
      * Whether the unmarshalling should produce maps for the lines values
      * instead of lists. It requires to have header (either defined or
      * collected). The default value is false
      */
-    private Boolean asMap;
+    private Boolean asMap = false;
 
     public Boolean getSkipTrailingCharsUntilNewline() {
         return skipTrailingCharsUntilNewline;

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityTsvDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityTsvDataFormatConfiguration.java b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityTsvDataFormatConfiguration.java
index d33838c..7c9a66b 100644
--- a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityTsvDataFormatConfiguration.java
+++ b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityTsvDataFormatConfiguration.java
@@ -37,28 +37,28 @@ public class UniVocityTsvDataFormatConfiguration {
     /**
      * Whether or not the empty lines must be ignored. The default value is true
      */
-    private Boolean skipEmptyLines;
+    private Boolean skipEmptyLines = true;
     /**
      * Whether or not the trailing white spaces must ignored. The default value
      * is true
      */
-    private Boolean ignoreTrailingWhitespaces;
+    private Boolean ignoreTrailingWhitespaces = true;
     /**
      * Whether or not the leading white spaces must be ignored. The default
      * value is true
      */
-    private Boolean ignoreLeadingWhitespaces;
+    private Boolean ignoreLeadingWhitespaces = true;
     /**
      * Whether or not the headers are disabled. When defined this option
      * explicitly sets the headers as null which indicates that there is no
      * header. The default value is false
      */
-    private Boolean headersDisabled;
+    private Boolean headersDisabled = false;
     /**
      * Whether or not the header must be read in the first line of the test
      * document The default value is false
      */
-    private Boolean headerExtractionEnabled;
+    private Boolean headerExtractionEnabled = false;
     /**
      * The maximum number of record to read.
      */
@@ -85,13 +85,13 @@ public class UniVocityTsvDataFormatConfiguration {
      * on the fly or if all the lines must be read at one. The default value is
      * false
      */
-    private Boolean lazyLoad;
+    private Boolean lazyLoad = false;
     /**
      * Whether the unmarshalling should produce maps for the lines values
      * instead of lists. It requires to have header (either defined or
      * collected). The default value is false
      */
-    private Boolean asMap;
+    private Boolean asMap = false;
 
     public String getEscapeChar() {
         return escapeChar;

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
index 76a2821..a40d156 100644
--- a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
+++ b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
@@ -64,7 +64,7 @@ public class WebsocketComponentConfiguration {
      * If this option is true Jetty JMX support will be enabled for this
      * endpoint. See Jetty JMX support for more details.
      */
-    private boolean enableJmx;
+    private Boolean enableJmx = false;
     /**
      * To set a value for minimum number of threads in server thread pool.
      * MaxThreads/minThreads or threadPool fields are required due to switch to
@@ -141,11 +141,11 @@ public class WebsocketComponentConfiguration {
         this.sslKeystore = sslKeystore;
     }
 
-    public boolean isEnableJmx() {
+    public Boolean getEnableJmx() {
         return enableJmx;
     }
 
-    public void setEnableJmx(boolean enableJmx) {
+    public void setEnableJmx(Boolean enableJmx) {
         this.enableJmx = enableJmx;
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-xmljson/src/main/java/org/apache/camel/dataformat/xmljson/springboot/XmlJsonDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmljson/src/main/java/org/apache/camel/dataformat/xmljson/springboot/XmlJsonDataFormatConfiguration.java b/components/camel-xmljson/src/main/java/org/apache/camel/dataformat/xmljson/springboot/XmlJsonDataFormatConfiguration.java
index 868ed9e..b656df6 100644
--- a/components/camel-xmljson/src/main/java/org/apache/camel/dataformat/xmljson/springboot/XmlJsonDataFormatConfiguration.java
+++ b/components/camel-xmljson/src/main/java/org/apache/camel/dataformat/xmljson/springboot/XmlJsonDataFormatConfiguration.java
@@ -49,13 +49,13 @@ public class XmlJsonDataFormatConfiguration {
      * (XML to JSon conversion). If disabled XML string 12 turns into 'x: '1'
      * 'y': '2' . Otherwise it turns into 'a': 'x: '1' 'y': '2' .
      */
-    private Boolean forceTopLevelObject;
+    private Boolean forceTopLevelObject = false;
     /**
      * Flag to be tolerant to incomplete namespace prefixes. Used for
      * unmarshalling (JSON to XML conversion). In most cases json-lib
      * automatically changes this flag at runtime to match the processing.
      */
-    private Boolean namespaceLenient;
+    private Boolean namespaceLenient = false;
     /**
      * Specifies the name of the top-level element. Used for unmarshalling (JSON
      * to XML conversion). If not set json-lib will use arrayName or objectName
@@ -70,24 +70,24 @@ public class XmlJsonDataFormatConfiguration {
      * text values or disregarded. Used for marshalling (XML to JSon
      * conversion).
      */
-    private Boolean skipWhitespace;
+    private Boolean skipWhitespace = false;
     /**
      * Determines whether leading and trailing white spaces will be omitted from
      * String values. Used for marshalling (XML to JSon conversion).
      */
-    private Boolean trimSpaces;
+    private Boolean trimSpaces = false;
     /**
      * Signals whether namespaces should be ignored. By default they will be
      * added to the JSON output using xmlns elements. Used for marshalling (XML
      * to JSon conversion).
      */
-    private Boolean skipNamespaces;
+    private Boolean skipNamespaces = false;
     /**
      * Removes the namespace prefixes from XML qualified elements so that the
      * resulting JSON string does not contain them. Used for marshalling (XML to
      * JSon conversion).
      */
-    private Boolean removeNamespacePrefixes;
+    private Boolean removeNamespacePrefixes = false;
     /**
      * With expandable properties JSON array elements are converted to XML as a
      * sequence of repetitive XML elements with the local name equal to the JSON

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-xmlrpc/src/main/java/org/apache/camel/dataformat/xmlrpc/springboot/XmlRpcDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlrpc/src/main/java/org/apache/camel/dataformat/xmlrpc/springboot/XmlRpcDataFormatConfiguration.java b/components/camel-xmlrpc/src/main/java/org/apache/camel/dataformat/xmlrpc/springboot/XmlRpcDataFormatConfiguration.java
index 6a97071..40ee576 100644
--- a/components/camel-xmlrpc/src/main/java/org/apache/camel/dataformat/xmlrpc/springboot/XmlRpcDataFormatConfiguration.java
+++ b/components/camel-xmlrpc/src/main/java/org/apache/camel/dataformat/xmlrpc/springboot/XmlRpcDataFormatConfiguration.java
@@ -29,7 +29,7 @@ public class XmlRpcDataFormatConfiguration {
     /**
      * Whether to unmarshal request or response Is by default false
      */
-    private Boolean request;
+    private Boolean request = false;
 
     public Boolean getRequest() {
         return request;

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-xmlsecurity/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatConfiguration.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatConfiguration.java
index 6eca1fb..76b3bbb 100644
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatConfiguration.java
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatConfiguration.java
@@ -54,7 +54,7 @@ public class XMLSecurityDataFormatConfiguration {
      * the contents of the XML Element false = Element Level true = Element
      * Content Level
      */
-    private Boolean secureTagContents;
+    private Boolean secureTagContents = false;
     /**
      * The cipher algorithm to be used for encryption/decryption of the
      * asymmetric key. The available choices are: XMLCipher.RSA_v1dot5
@@ -96,7 +96,7 @@ public class XMLSecurityDataFormatConfiguration {
      * Whether to add the public key used to encrypt the session key as a
      * KeyValue in the EncryptedKey structure or not.
      */
-    private Boolean addKeyValueForEncryptedKey;
+    private Boolean addKeyValueForEncryptedKey = true;
 
     public String getXmlCipherAlgorithm() {
         return xmlCipherAlgorithm;

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-xstream/src/main/java/org/apache/camel/dataformat/xstream/springboot/JsonDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xstream/src/main/java/org/apache/camel/dataformat/xstream/springboot/JsonDataFormatConfiguration.java b/components/camel-xstream/src/main/java/org/apache/camel/dataformat/xstream/springboot/JsonDataFormatConfiguration.java
index 3107246..ac5cb6c 100644
--- a/components/camel-xstream/src/main/java/org/apache/camel/dataformat/xstream/springboot/JsonDataFormatConfiguration.java
+++ b/components/camel-xstream/src/main/java/org/apache/camel/dataformat/xstream/springboot/JsonDataFormatConfiguration.java
@@ -35,7 +35,7 @@ public class JsonDataFormatConfiguration {
     /**
      * To enable pretty printing output nicely formatted. Is by default false.
      */
-    private Boolean prettyPrint;
+    private Boolean prettyPrint = false;
     /**
      * Which json library to use such. Is by default xstream
      */
@@ -60,7 +60,7 @@ public class JsonDataFormatConfiguration {
      * Used for JMS users to allow the JMSType header from the JMS spec to
      * specify a FQN classname to use to unmarshal to.
      */
-    private Boolean allowJmsType;
+    private Boolean allowJmsType = false;
     /**
      * Refers to a custom collection type to lookup in the registry to use. This
      * option should rarely be used but allows to use different collection types
@@ -70,12 +70,12 @@ public class JsonDataFormatConfiguration {
     /**
      * To unarmshal to a List of Map or a List of Pojo.
      */
-    private Boolean useList;
+    private Boolean useList = false;
     /**
      * Whether to enable the JAXB annotations module when using jackson. When
      * enabled then JAXB annotations can be used by Jackson.
      */
-    private Boolean enableJaxbAnnotationModule;
+    private Boolean enableJaxbAnnotationModule = false;
     /**
      * To use custom Jackson modules com.fasterxml.jackson.databind.Module
      * specified as a String with FQN class names. Multiple classes can be

http://git-wip-us.apache.org/repos/asf/camel/blob/6bce8a15/components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatConfiguration.java b/components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatConfiguration.java
index b12703f..630e2bb 100644
--- a/components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatConfiguration.java
+++ b/components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatConfiguration.java
@@ -31,7 +31,7 @@ public class ZipFileDataFormatConfiguration {
      * allows to work with the splitter EIP to split the data using an iterator
      * in a streaming mode.
      */
-    private Boolean usingIterator;
+    private Boolean usingIterator = false;
 
     public Boolean getUsingIterator() {
         return usingIterator;


Mime
View raw message