This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 1e46fac Regen for commit 27dbd7484b3f2d9b64f40bb45e13368914a13b1c 1e46fac is described below commit 1e46facd8455eaafd3f924b231436d17b4539dd2 Author: davsclaus <davscl...@users.noreply.github.com> AuthorDate: Fri Nov 6 14:24:16 2020 +0000 Regen for commit 27dbd7484b3f2d9b64f40bb45e13368914a13b1c Signed-off-by: GitHub <nore...@github.com> --- .../main/camel-main-configuration-metadata.json | 4 - .../file/remote/FtpsEndpointConfigurer.java | 592 +-------------------- docs/components/modules/others/pages/main.adoc | 4 - 3 files changed, 5 insertions(+), 595 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json index b64d68b..6d2cc18 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json @@ -16,10 +16,6 @@ { "name": "camel.main.autoConfigurationFailFast", "description": "Whether auto configuration should fail fast when configuring one ore more properties fails for whatever reason such as a invalid property name, etc. This option is default enabled.", "sourceType": "org.apache.camel.main.MainConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": true }, { "name": "camel.main.autoConfigurationLogSummary", "description": "Whether auto configuration should log a summary with the configured properties. This option is default enabled.", "sourceType": "org.apache.camel.main.MainConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": true }, { "name": "camel.main.autoStartup", "description": "Sets whether the object should automatically start when Camel starts. Important: Currently only routes can be disabled, as CamelContext's are always started. Note: When setting auto startup false on CamelContext then that takes precedence and no routes are started. You would need to start CamelContext explicit using the org.apache.camel.CamelContext.start() method, to start the context, and then you would need to start the routes ma [...] - { "name": "camel.main.autowireComponentProperties", "description": "Whether autowiring components with properties that are of same type, which has been added to the Camel registry, as a singleton instance. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. This option is default enabled.", "sourceType": "org.apache.camel.main.MainConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": true }, - { "name": "camel.main.autowireComponentPropertiesAllowPrivateSetter", "description": "Whether autowiring components allows to use private setter method when setting the value. This may be needed in some rare situations when some configuration classes may configure via constructors over setters. But constructor configuration is more cumbersome to use via .properties files etc.", "sourceType": "org.apache.camel.main.MainConfigurationProperties", "type": "boolean", "javaType": "boolean" [...] - { "name": "camel.main.autowireComponentPropertiesDeep", "description": "Whether autowiring components (with deep nesting by attempting to walk as deep down the object graph by creating new empty objects on the way if needed) with properties that are of same type, which has been added to the Camel registry, as a singleton instance. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. This option is default disabled.", "sourceTyp [...] - { "name": "camel.main.autowireComponentPropertiesNonNullOnly", "description": "Whether to only autowire if the property has no default value or has not been configured explicit. This option is default disabled.", "sourceType": "org.apache.camel.main.MainConfigurationProperties", "type": "boolean", "javaType": "boolean" }, { "name": "camel.main.backlogTracing", "description": "Sets whether backlog tracing is enabled or not. Default is false.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", "javaType": "boolean" }, { "name": "camel.main.beanIntrospectionExtendedStatistics", "description": "Sets whether bean introspection uses extended statistics. The default is false.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", "javaType": "boolean" }, { "name": "camel.main.beanIntrospectionLoggingLevel", "description": "Sets the logging level used by bean introspection, logging activity of its usage. The default is TRACE.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "object", "javaType": "org.apache.camel.LoggingLevel", "enum": [ "ERROR", "WARN", "INFO", "DEBUG", "TRACE", "OFF" ] }, diff --git a/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/FtpsEndpointConfigurer.java b/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/FtpsEndpointConfigurer.java index 0c45982..8874387 100644 --- a/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/FtpsEndpointConfigurer.java +++ b/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/FtpsEndpointConfigurer.java @@ -8,13 +8,13 @@ import org.apache.camel.spi.ConfigurerStrategy; import org.apache.camel.spi.GeneratedPropertyConfigurer; import org.apache.camel.spi.PropertyConfigurerGetter; import org.apache.camel.util.CaseInsensitiveMap; -import org.apache.camel.support.component.PropertyConfigurerSupport; +import org.apache.camel.component.file.remote.FtpEndpointConfigurer; /** * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class FtpsEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class FtpsEndpointConfigurer extends FtpEndpointConfigurer implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { private static final Map<String, Object> ALL_OPTIONS; static { @@ -148,216 +148,22 @@ public class FtpsEndpointConfigurer extends PropertyConfigurerSupport implements public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { FtpsEndpoint target = (FtpsEndpoint) obj; switch (ignoreCase ? name.toLowerCase() : name) { - case "account": target.getConfiguration().setAccount(property(camelContext, java.lang.String.class, value)); return true; - case "activeportrange": - case "activePortRange": target.getConfiguration().setActivePortRange(property(camelContext, java.lang.String.class, value)); return true; - case "allownullbody": - case "allowNullBody": target.setAllowNullBody(property(camelContext, boolean.class, value)); return true; - case "antexclude": - case "antExclude": target.setAntExclude(property(camelContext, java.lang.String.class, value)); return true; - case "antfiltercasesensitive": - case "antFilterCaseSensitive": target.setAntFilterCaseSensitive(property(camelContext, boolean.class, value)); return true; - case "antinclude": - case "antInclude": target.setAntInclude(property(camelContext, java.lang.String.class, value)); return true; - case "autocreate": - case "autoCreate": target.setAutoCreate(property(camelContext, boolean.class, value)); return true; - case "backofferrorthreshold": - case "backoffErrorThreshold": target.setBackoffErrorThreshold(property(camelContext, int.class, value)); return true; - case "backoffidlethreshold": - case "backoffIdleThreshold": target.setBackoffIdleThreshold(property(camelContext, int.class, value)); return true; - case "backoffmultiplier": - case "backoffMultiplier": target.setBackoffMultiplier(property(camelContext, int.class, value)); return true; - case "basicpropertybinding": - case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true; - case "binary": target.getConfiguration().setBinary(property(camelContext, boolean.class, value)); return true; - case "bridgeerrorhandler": - case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true; - case "buffersize": - case "bufferSize": target.setBufferSize(property(camelContext, int.class, value)); return true; - case "charset": target.setCharset(property(camelContext, java.lang.String.class, value)); return true; - case "chmod": target.getConfiguration().setChmod(property(camelContext, java.lang.String.class, value)); return true; - case "connecttimeout": - case "connectTimeout": target.getConfiguration().setConnectTimeout(property(camelContext, int.class, value)); return true; - case "delay": target.setDelay(property(camelContext, long.class, value)); return true; - case "delete": target.setDelete(property(camelContext, boolean.class, value)); return true; case "disablesecuredatachanneldefaults": case "disableSecureDataChannelDefaults": target.getConfiguration().setDisableSecureDataChannelDefaults(property(camelContext, boolean.class, value)); return true; - case "disconnect": target.setDisconnect(property(camelContext, boolean.class, value)); return true; - case "disconnectonbatchcomplete": - case "disconnectOnBatchComplete": target.setDisconnectOnBatchComplete(property(camelContext, boolean.class, value)); return true; - case "donefilename": - case "doneFileName": target.setDoneFileName(property(camelContext, java.lang.String.class, value)); return true; - case "download": target.setDownload(property(camelContext, boolean.class, value)); return true; - case "eagerdeletetargetfile": - case "eagerDeleteTargetFile": target.setEagerDeleteTargetFile(property(camelContext, boolean.class, value)); return true; - case "eagermaxmessagesperpoll": - case "eagerMaxMessagesPerPoll": target.setEagerMaxMessagesPerPoll(property(camelContext, boolean.class, value)); return true; - case "exceptionhandler": - case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true; - case "exchangepattern": - case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true; - case "exclude": target.setExclude(property(camelContext, java.lang.String.class, value)); return true; - case "exclusivereadlockstrategy": - case "exclusiveReadLockStrategy": target.setExclusiveReadLockStrategy(property(camelContext, org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy.class, value)); return true; case "execpbsz": case "execPbsz": target.getConfiguration().setExecPbsz(property(camelContext, java.lang.Long.class, value)); return true; case "execprot": case "execProt": target.getConfiguration().setExecProt(property(camelContext, java.lang.String.class, value)); return true; - case "fastexistscheck": - case "fastExistsCheck": target.setFastExistsCheck(property(camelContext, boolean.class, value)); return true; - case "fileexist": - case "fileExist": target.setFileExist(property(camelContext, org.apache.camel.component.file.GenericFileExist.class, value)); return true; - case "filename": - case "fileName": target.setFileName(property(camelContext, java.lang.String.class, value)); return true; - case "filter": target.setFilter(property(camelContext, org.apache.camel.component.file.GenericFileFilter.class, value)); return true; - case "filterdirectory": - case "filterDirectory": target.setFilterDirectory(property(camelContext, java.lang.String.class, value)); return true; - case "filterfile": - case "filterFile": target.setFilterFile(property(camelContext, java.lang.String.class, value)); return true; - case "flatten": target.setFlatten(property(camelContext, boolean.class, value)); return true; - case "ftpclient": - case "ftpClient": target.setFtpClient(property(camelContext, org.apache.commons.net.ftp.FTPClient.class, value)); return true; - case "ftpclientconfig": - case "ftpClientConfig": target.setFtpClientConfig(property(camelContext, org.apache.commons.net.ftp.FTPClientConfig.class, value)); return true; - case "ftpclientconfigparameters": - case "ftpClientConfigParameters": target.setFtpClientConfigParameters(property(camelContext, java.util.Map.class, value)); return true; case "ftpclientkeystoreparameters": case "ftpClientKeyStoreParameters": target.setFtpClientKeyStoreParameters(property(camelContext, java.util.Map.class, value)); return true; - case "ftpclientparameters": - case "ftpClientParameters": target.setFtpClientParameters(property(camelContext, java.util.Map.class, value)); return true; case "ftpclienttruststoreparameters": case "ftpClientTrustStoreParameters": target.setFtpClientTrustStoreParameters(property(camelContext, java.util.Map.class, value)); return true; - case "greedy": target.setGreedy(property(camelContext, boolean.class, value)); return true; - case "handledirectoryparserabsoluteresult": - case "handleDirectoryParserAbsoluteResult": target.getConfiguration().setHandleDirectoryParserAbsoluteResult(property(camelContext, boolean.class, value)); return true; - case "idempotent": target.setIdempotent(property(camelContext, java.lang.Boolean.class, value)); return true; - case "idempotentkey": - case "idempotentKey": target.setIdempotentKey(property(camelContext, java.lang.String.class, value)); return true; - case "idempotentrepository": - case "idempotentRepository": target.setIdempotentRepository(property(camelContext, org.apache.camel.spi.IdempotentRepository.class, value)); return true; - case "ignorefilenotfoundorpermissionerror": - case "ignoreFileNotFoundOrPermissionError": target.getConfiguration().setIgnoreFileNotFoundOrPermissionError(property(camelContext, boolean.class, value)); return true; case "implicit": target.getConfiguration().setImplicit(property(camelContext, boolean.class, value)); return true; - case "inprogressrepository": - case "inProgressRepository": target.setInProgressRepository(property(camelContext, org.apache.camel.spi.IdempotentRepository.class, value)); return true; - case "include": target.setInclude(property(camelContext, java.lang.String.class, value)); return true; - case "initialdelay": - case "initialDelay": target.setInitialDelay(property(camelContext, long.class, value)); return true; - case "jailstartingdirectory": - case "jailStartingDirectory": target.setJailStartingDirectory(property(camelContext, boolean.class, value)); return true; - case "keeplastmodified": - case "keepLastModified": target.setKeepLastModified(property(camelContext, boolean.class, value)); return true; - case "lazystartproducer": - case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true; - case "localworkdirectory": - case "localWorkDirectory": target.setLocalWorkDirectory(property(camelContext, java.lang.String.class, value)); return true; - case "maxdepth": - case "maxDepth": target.setMaxDepth(property(camelContext, int.class, value)); return true; - case "maxmessagesperpoll": - case "maxMessagesPerPoll": target.setMaxMessagesPerPoll(property(camelContext, int.class, value)); return true; - case "maximumreconnectattempts": - case "maximumReconnectAttempts": target.setMaximumReconnectAttempts(property(camelContext, int.class, value)); return true; - case "mindepth": - case "minDepth": target.setMinDepth(property(camelContext, int.class, value)); return true; - case "move": target.setMove(property(camelContext, java.lang.String.class, value)); return true; - case "moveexisting": - case "moveExisting": target.setMoveExisting(property(camelContext, java.lang.String.class, value)); return true; - case "moveexistingfilestrategy": - case "moveExistingFileStrategy": target.setMoveExistingFileStrategy(property(camelContext, org.apache.camel.component.file.strategy.FileMoveExistingStrategy.class, value)); return true; - case "movefailed": - case "moveFailed": target.setMoveFailed(property(camelContext, java.lang.String.class, value)); return true; - case "noop": target.setNoop(property(camelContext, boolean.class, value)); return true; - case "oncompletionexceptionhandler": - case "onCompletionExceptionHandler": target.setOnCompletionExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true; - case "passivemode": - case "passiveMode": target.getConfiguration().setPassiveMode(property(camelContext, boolean.class, value)); return true; - case "password": target.getConfiguration().setPassword(property(camelContext, java.lang.String.class, value)); return true; - case "pollstrategy": - case "pollStrategy": target.setPollStrategy(property(camelContext, org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true; - case "premove": - case "preMove": target.setPreMove(property(camelContext, java.lang.String.class, value)); return true; - case "presort": - case "preSort": target.setPreSort(property(camelContext, boolean.class, value)); return true; - case "processstrategy": - case "processStrategy": target.setProcessStrategy(property(camelContext, org.apache.camel.component.file.GenericFileProcessStrategy.class, value)); return true; - case "readlock": - case "readLock": target.setReadLock(property(camelContext, java.lang.String.class, value)); return true; - case "readlockcheckinterval": - case "readLockCheckInterval": target.setReadLockCheckInterval(property(camelContext, long.class, value)); return true; - case "readlockdeleteorphanlockfiles": - case "readLockDeleteOrphanLockFiles": target.setReadLockDeleteOrphanLockFiles(property(camelContext, boolean.class, value)); return true; - case "readlocklogginglevel": - case "readLockLoggingLevel": target.setReadLockLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true; - case "readlockmarkerfile": - case "readLockMarkerFile": target.setReadLockMarkerFile(property(camelContext, boolean.class, value)); return true; - case "readlockminage": - case "readLockMinAge": target.setReadLockMinAge(property(camelContext, long.class, value)); return true; - case "readlockminlength": - case "readLockMinLength": target.setReadLockMinLength(property(camelContext, long.class, value)); return true; - case "readlockremoveoncommit": - case "readLockRemoveOnCommit": target.setReadLockRemoveOnCommit(property(camelContext, boolean.class, value)); return true; - case "readlockremoveonrollback": - case "readLockRemoveOnRollback": target.setReadLockRemoveOnRollback(property(camelContext, boolean.class, value)); return true; - case "readlocktimeout": - case "readLockTimeout": target.setReadLockTimeout(property(camelContext, long.class, value)); return true; - case "reconnectdelay": - case "reconnectDelay": target.setReconnectDelay(property(camelContext, java.time.Duration.class, value).toMillis()); return true; - case "recursive": target.setRecursive(property(camelContext, boolean.class, value)); return true; - case "repeatcount": - case "repeatCount": target.setRepeatCount(property(camelContext, long.class, value)); return true; - case "resumedownload": - case "resumeDownload": target.setResumeDownload(property(camelContext, boolean.class, value)); return true; - case "runlogginglevel": - case "runLoggingLevel": target.setRunLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true; - case "scheduledexecutorservice": - case "scheduledExecutorService": target.setScheduledExecutorService(property(camelContext, java.util.concurrent.ScheduledExecutorService.class, value)); return true; - case "scheduler": target.setScheduler(property(camelContext, java.lang.Object.class, value)); return true; - case "schedulerproperties": - case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.class, value)); return true; case "securityprotocol": case "securityProtocol": target.getConfiguration().setSecurityProtocol(property(camelContext, java.lang.String.class, value)); return true; - case "sendemptymessagewhenidle": - case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true; - case "sendnoop": - case "sendNoop": target.getConfiguration().setSendNoop(property(camelContext, boolean.class, value)); return true; - case "separator": target.getConfiguration().setSeparator(property(camelContext, org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator.class, value)); return true; - case "shuffle": target.setShuffle(property(camelContext, boolean.class, value)); return true; - case "sitecommand": - case "siteCommand": target.getConfiguration().setSiteCommand(property(camelContext, java.lang.String.class, value)); return true; - case "sotimeout": - case "soTimeout": target.getConfiguration().setSoTimeout(property(camelContext, int.class, value)); return true; - case "sortby": - case "sortBy": target.setSortBy(property(camelContext, java.lang.String.class, value)); return true; - case "sorter": target.setSorter(property(camelContext, java.util.Comparator.class, value)); return true; case "sslcontextparameters": case "sslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true; - case "startscheduler": - case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true; - case "stepwise": target.getConfiguration().setStepwise(property(camelContext, boolean.class, value)); return true; - case "streamdownload": - case "streamDownload": target.getConfiguration().setStreamDownload(property(camelContext, boolean.class, value)); return true; - case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true; - case "tempfilename": - case "tempFileName": target.setTempFileName(property(camelContext, java.lang.String.class, value)); return true; - case "tempprefix": - case "tempPrefix": target.setTempPrefix(property(camelContext, java.lang.String.class, value)); return true; - case "throwexceptiononconnectfailed": - case "throwExceptionOnConnectFailed": target.getConfiguration().setThrowExceptionOnConnectFailed(property(camelContext, boolean.class, value)); return true; - case "timeunit": - case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true; - case "timeout": target.getConfiguration().setTimeout(property(camelContext, int.class, value)); return true; - case "transferloggingintervalseconds": - case "transferLoggingIntervalSeconds": target.setTransferLoggingIntervalSeconds(property(camelContext, int.class, value)); return true; - case "transferlogginglevel": - case "transferLoggingLevel": target.setTransferLoggingLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true; - case "transferloggingverbose": - case "transferLoggingVerbose": target.setTransferLoggingVerbose(property(camelContext, boolean.class, value)); return true; - case "usefixeddelay": - case "useFixedDelay": target.setUseFixedDelay(property(camelContext, boolean.class, value)); return true; - case "uselist": - case "useList": target.getConfiguration().setUseList(property(camelContext, boolean.class, value)); return true; - case "username": target.getConfiguration().setUsername(property(camelContext, java.lang.String.class, value)); return true; - default: return false; + default: return super.configure(camelContext, obj, name, value, ignoreCase); } } @@ -373,216 +179,22 @@ public class FtpsEndpointConfigurer extends PropertyConfigurerSupport implements @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { - case "account": return java.lang.String.class; - case "activeportrange": - case "activePortRange": return java.lang.String.class; - case "allownullbody": - case "allowNullBody": return boolean.class; - case "antexclude": - case "antExclude": return java.lang.String.class; - case "antfiltercasesensitive": - case "antFilterCaseSensitive": return boolean.class; - case "antinclude": - case "antInclude": return java.lang.String.class; - case "autocreate": - case "autoCreate": return boolean.class; - case "backofferrorthreshold": - case "backoffErrorThreshold": return int.class; - case "backoffidlethreshold": - case "backoffIdleThreshold": return int.class; - case "backoffmultiplier": - case "backoffMultiplier": return int.class; - case "basicpropertybinding": - case "basicPropertyBinding": return boolean.class; - case "binary": return boolean.class; - case "bridgeerrorhandler": - case "bridgeErrorHandler": return boolean.class; - case "buffersize": - case "bufferSize": return int.class; - case "charset": return java.lang.String.class; - case "chmod": return java.lang.String.class; - case "connecttimeout": - case "connectTimeout": return int.class; - case "delay": return long.class; - case "delete": return boolean.class; case "disablesecuredatachanneldefaults": case "disableSecureDataChannelDefaults": return boolean.class; - case "disconnect": return boolean.class; - case "disconnectonbatchcomplete": - case "disconnectOnBatchComplete": return boolean.class; - case "donefilename": - case "doneFileName": return java.lang.String.class; - case "download": return boolean.class; - case "eagerdeletetargetfile": - case "eagerDeleteTargetFile": return boolean.class; - case "eagermaxmessagesperpoll": - case "eagerMaxMessagesPerPoll": return boolean.class; - case "exceptionhandler": - case "exceptionHandler": return org.apache.camel.spi.ExceptionHandler.class; - case "exchangepattern": - case "exchangePattern": return org.apache.camel.ExchangePattern.class; - case "exclude": return java.lang.String.class; - case "exclusivereadlockstrategy": - case "exclusiveReadLockStrategy": return org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy.class; case "execpbsz": case "execPbsz": return java.lang.Long.class; case "execprot": case "execProt": return java.lang.String.class; - case "fastexistscheck": - case "fastExistsCheck": return boolean.class; - case "fileexist": - case "fileExist": return org.apache.camel.component.file.GenericFileExist.class; - case "filename": - case "fileName": return java.lang.String.class; - case "filter": return org.apache.camel.component.file.GenericFileFilter.class; - case "filterdirectory": - case "filterDirectory": return java.lang.String.class; - case "filterfile": - case "filterFile": return java.lang.String.class; - case "flatten": return boolean.class; - case "ftpclient": - case "ftpClient": return org.apache.commons.net.ftp.FTPClient.class; - case "ftpclientconfig": - case "ftpClientConfig": return org.apache.commons.net.ftp.FTPClientConfig.class; - case "ftpclientconfigparameters": - case "ftpClientConfigParameters": return java.util.Map.class; case "ftpclientkeystoreparameters": case "ftpClientKeyStoreParameters": return java.util.Map.class; - case "ftpclientparameters": - case "ftpClientParameters": return java.util.Map.class; case "ftpclienttruststoreparameters": case "ftpClientTrustStoreParameters": return java.util.Map.class; - case "greedy": return boolean.class; - case "handledirectoryparserabsoluteresult": - case "handleDirectoryParserAbsoluteResult": return boolean.class; - case "idempotent": return java.lang.Boolean.class; - case "idempotentkey": - case "idempotentKey": return java.lang.String.class; - case "idempotentrepository": - case "idempotentRepository": return org.apache.camel.spi.IdempotentRepository.class; - case "ignorefilenotfoundorpermissionerror": - case "ignoreFileNotFoundOrPermissionError": return boolean.class; case "implicit": return boolean.class; - case "inprogressrepository": - case "inProgressRepository": return org.apache.camel.spi.IdempotentRepository.class; - case "include": return java.lang.String.class; - case "initialdelay": - case "initialDelay": return long.class; - case "jailstartingdirectory": - case "jailStartingDirectory": return boolean.class; - case "keeplastmodified": - case "keepLastModified": return boolean.class; - case "lazystartproducer": - case "lazyStartProducer": return boolean.class; - case "localworkdirectory": - case "localWorkDirectory": return java.lang.String.class; - case "maxdepth": - case "maxDepth": return int.class; - case "maxmessagesperpoll": - case "maxMessagesPerPoll": return int.class; - case "maximumreconnectattempts": - case "maximumReconnectAttempts": return int.class; - case "mindepth": - case "minDepth": return int.class; - case "move": return java.lang.String.class; - case "moveexisting": - case "moveExisting": return java.lang.String.class; - case "moveexistingfilestrategy": - case "moveExistingFileStrategy": return org.apache.camel.component.file.strategy.FileMoveExistingStrategy.class; - case "movefailed": - case "moveFailed": return java.lang.String.class; - case "noop": return boolean.class; - case "oncompletionexceptionhandler": - case "onCompletionExceptionHandler": return org.apache.camel.spi.ExceptionHandler.class; - case "passivemode": - case "passiveMode": return boolean.class; - case "password": return java.lang.String.class; - case "pollstrategy": - case "pollStrategy": return org.apache.camel.spi.PollingConsumerPollStrategy.class; - case "premove": - case "preMove": return java.lang.String.class; - case "presort": - case "preSort": return boolean.class; - case "processstrategy": - case "processStrategy": return org.apache.camel.component.file.GenericFileProcessStrategy.class; - case "readlock": - case "readLock": return java.lang.String.class; - case "readlockcheckinterval": - case "readLockCheckInterval": return long.class; - case "readlockdeleteorphanlockfiles": - case "readLockDeleteOrphanLockFiles": return boolean.class; - case "readlocklogginglevel": - case "readLockLoggingLevel": return org.apache.camel.LoggingLevel.class; - case "readlockmarkerfile": - case "readLockMarkerFile": return boolean.class; - case "readlockminage": - case "readLockMinAge": return long.class; - case "readlockminlength": - case "readLockMinLength": return long.class; - case "readlockremoveoncommit": - case "readLockRemoveOnCommit": return boolean.class; - case "readlockremoveonrollback": - case "readLockRemoveOnRollback": return boolean.class; - case "readlocktimeout": - case "readLockTimeout": return long.class; - case "reconnectdelay": - case "reconnectDelay": return long.class; - case "recursive": return boolean.class; - case "repeatcount": - case "repeatCount": return long.class; - case "resumedownload": - case "resumeDownload": return boolean.class; - case "runlogginglevel": - case "runLoggingLevel": return org.apache.camel.LoggingLevel.class; - case "scheduledexecutorservice": - case "scheduledExecutorService": return java.util.concurrent.ScheduledExecutorService.class; - case "scheduler": return java.lang.Object.class; - case "schedulerproperties": - case "schedulerProperties": return java.util.Map.class; case "securityprotocol": case "securityProtocol": return java.lang.String.class; - case "sendemptymessagewhenidle": - case "sendEmptyMessageWhenIdle": return boolean.class; - case "sendnoop": - case "sendNoop": return boolean.class; - case "separator": return org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator.class; - case "shuffle": return boolean.class; - case "sitecommand": - case "siteCommand": return java.lang.String.class; - case "sotimeout": - case "soTimeout": return int.class; - case "sortby": - case "sortBy": return java.lang.String.class; - case "sorter": return java.util.Comparator.class; case "sslcontextparameters": case "sslContextParameters": return org.apache.camel.support.jsse.SSLContextParameters.class; - case "startscheduler": - case "startScheduler": return boolean.class; - case "stepwise": return boolean.class; - case "streamdownload": - case "streamDownload": return boolean.class; - case "synchronous": return boolean.class; - case "tempfilename": - case "tempFileName": return java.lang.String.class; - case "tempprefix": - case "tempPrefix": return java.lang.String.class; - case "throwexceptiononconnectfailed": - case "throwExceptionOnConnectFailed": return boolean.class; - case "timeunit": - case "timeUnit": return java.util.concurrent.TimeUnit.class; - case "timeout": return int.class; - case "transferloggingintervalseconds": - case "transferLoggingIntervalSeconds": return int.class; - case "transferlogginglevel": - case "transferLoggingLevel": return org.apache.camel.LoggingLevel.class; - case "transferloggingverbose": - case "transferLoggingVerbose": return boolean.class; - case "usefixeddelay": - case "useFixedDelay": return boolean.class; - case "uselist": - case "useList": return boolean.class; - case "username": return java.lang.String.class; - default: return null; + default: return super.getOptionType(name, ignoreCase); } } @@ -590,216 +202,22 @@ public class FtpsEndpointConfigurer extends PropertyConfigurerSupport implements public Object getOptionValue(Object obj, String name, boolean ignoreCase) { FtpsEndpoint target = (FtpsEndpoint) obj; switch (ignoreCase ? name.toLowerCase() : name) { - case "account": return target.getConfiguration().getAccount(); - case "activeportrange": - case "activePortRange": return target.getConfiguration().getActivePortRange(); - case "allownullbody": - case "allowNullBody": return target.isAllowNullBody(); - case "antexclude": - case "antExclude": return target.getAntExclude(); - case "antfiltercasesensitive": - case "antFilterCaseSensitive": return target.isAntFilterCaseSensitive(); - case "antinclude": - case "antInclude": return target.getAntInclude(); - case "autocreate": - case "autoCreate": return target.isAutoCreate(); - case "backofferrorthreshold": - case "backoffErrorThreshold": return target.getBackoffErrorThreshold(); - case "backoffidlethreshold": - case "backoffIdleThreshold": return target.getBackoffIdleThreshold(); - case "backoffmultiplier": - case "backoffMultiplier": return target.getBackoffMultiplier(); - case "basicpropertybinding": - case "basicPropertyBinding": return target.isBasicPropertyBinding(); - case "binary": return target.getConfiguration().isBinary(); - case "bridgeerrorhandler": - case "bridgeErrorHandler": return target.isBridgeErrorHandler(); - case "buffersize": - case "bufferSize": return target.getBufferSize(); - case "charset": return target.getCharset(); - case "chmod": return target.getConfiguration().getChmod(); - case "connecttimeout": - case "connectTimeout": return target.getConfiguration().getConnectTimeout(); - case "delay": return target.getDelay(); - case "delete": return target.isDelete(); case "disablesecuredatachanneldefaults": case "disableSecureDataChannelDefaults": return target.getConfiguration().isDisableSecureDataChannelDefaults(); - case "disconnect": return target.isDisconnect(); - case "disconnectonbatchcomplete": - case "disconnectOnBatchComplete": return target.isDisconnectOnBatchComplete(); - case "donefilename": - case "doneFileName": return target.getDoneFileName(); - case "download": return target.isDownload(); - case "eagerdeletetargetfile": - case "eagerDeleteTargetFile": return target.isEagerDeleteTargetFile(); - case "eagermaxmessagesperpoll": - case "eagerMaxMessagesPerPoll": return target.isEagerMaxMessagesPerPoll(); - case "exceptionhandler": - case "exceptionHandler": return target.getExceptionHandler(); - case "exchangepattern": - case "exchangePattern": return target.getExchangePattern(); - case "exclude": return target.getExclude(); - case "exclusivereadlockstrategy": - case "exclusiveReadLockStrategy": return target.getExclusiveReadLockStrategy(); case "execpbsz": case "execPbsz": return target.getConfiguration().getExecPbsz(); case "execprot": case "execProt": return target.getConfiguration().getExecProt(); - case "fastexistscheck": - case "fastExistsCheck": return target.isFastExistsCheck(); - case "fileexist": - case "fileExist": return target.getFileExist(); - case "filename": - case "fileName": return target.getFileName(); - case "filter": return target.getFilter(); - case "filterdirectory": - case "filterDirectory": return target.getFilterDirectory(); - case "filterfile": - case "filterFile": return target.getFilterFile(); - case "flatten": return target.isFlatten(); - case "ftpclient": - case "ftpClient": return target.getFtpClient(); - case "ftpclientconfig": - case "ftpClientConfig": return target.getFtpClientConfig(); - case "ftpclientconfigparameters": - case "ftpClientConfigParameters": return target.getFtpClientConfigParameters(); case "ftpclientkeystoreparameters": case "ftpClientKeyStoreParameters": return target.getFtpClientKeyStoreParameters(); - case "ftpclientparameters": - case "ftpClientParameters": return target.getFtpClientParameters(); case "ftpclienttruststoreparameters": case "ftpClientTrustStoreParameters": return target.getFtpClientTrustStoreParameters(); - case "greedy": return target.isGreedy(); - case "handledirectoryparserabsoluteresult": - case "handleDirectoryParserAbsoluteResult": return target.getConfiguration().isHandleDirectoryParserAbsoluteResult(); - case "idempotent": return target.getIdempotent(); - case "idempotentkey": - case "idempotentKey": return target.getIdempotentKey(); - case "idempotentrepository": - case "idempotentRepository": return target.getIdempotentRepository(); - case "ignorefilenotfoundorpermissionerror": - case "ignoreFileNotFoundOrPermissionError": return target.getConfiguration().isIgnoreFileNotFoundOrPermissionError(); case "implicit": return target.getConfiguration().isImplicit(); - case "inprogressrepository": - case "inProgressRepository": return target.getInProgressRepository(); - case "include": return target.getInclude(); - case "initialdelay": - case "initialDelay": return target.getInitialDelay(); - case "jailstartingdirectory": - case "jailStartingDirectory": return target.isJailStartingDirectory(); - case "keeplastmodified": - case "keepLastModified": return target.isKeepLastModified(); - case "lazystartproducer": - case "lazyStartProducer": return target.isLazyStartProducer(); - case "localworkdirectory": - case "localWorkDirectory": return target.getLocalWorkDirectory(); - case "maxdepth": - case "maxDepth": return target.getMaxDepth(); - case "maxmessagesperpoll": - case "maxMessagesPerPoll": return target.getMaxMessagesPerPoll(); - case "maximumreconnectattempts": - case "maximumReconnectAttempts": return target.getMaximumReconnectAttempts(); - case "mindepth": - case "minDepth": return target.getMinDepth(); - case "move": return target.getMove(); - case "moveexisting": - case "moveExisting": return target.getMoveExisting(); - case "moveexistingfilestrategy": - case "moveExistingFileStrategy": return target.getMoveExistingFileStrategy(); - case "movefailed": - case "moveFailed": return target.getMoveFailed(); - case "noop": return target.isNoop(); - case "oncompletionexceptionhandler": - case "onCompletionExceptionHandler": return target.getOnCompletionExceptionHandler(); - case "passivemode": - case "passiveMode": return target.getConfiguration().isPassiveMode(); - case "password": return target.getConfiguration().getPassword(); - case "pollstrategy": - case "pollStrategy": return target.getPollStrategy(); - case "premove": - case "preMove": return target.getPreMove(); - case "presort": - case "preSort": return target.isPreSort(); - case "processstrategy": - case "processStrategy": return target.getProcessStrategy(); - case "readlock": - case "readLock": return target.getReadLock(); - case "readlockcheckinterval": - case "readLockCheckInterval": return target.getReadLockCheckInterval(); - case "readlockdeleteorphanlockfiles": - case "readLockDeleteOrphanLockFiles": return target.isReadLockDeleteOrphanLockFiles(); - case "readlocklogginglevel": - case "readLockLoggingLevel": return target.getReadLockLoggingLevel(); - case "readlockmarkerfile": - case "readLockMarkerFile": return target.isReadLockMarkerFile(); - case "readlockminage": - case "readLockMinAge": return target.getReadLockMinAge(); - case "readlockminlength": - case "readLockMinLength": return target.getReadLockMinLength(); - case "readlockremoveoncommit": - case "readLockRemoveOnCommit": return target.isReadLockRemoveOnCommit(); - case "readlockremoveonrollback": - case "readLockRemoveOnRollback": return target.isReadLockRemoveOnRollback(); - case "readlocktimeout": - case "readLockTimeout": return target.getReadLockTimeout(); - case "reconnectdelay": - case "reconnectDelay": return target.getReconnectDelay(); - case "recursive": return target.isRecursive(); - case "repeatcount": - case "repeatCount": return target.getRepeatCount(); - case "resumedownload": - case "resumeDownload": return target.isResumeDownload(); - case "runlogginglevel": - case "runLoggingLevel": return target.getRunLoggingLevel(); - case "scheduledexecutorservice": - case "scheduledExecutorService": return target.getScheduledExecutorService(); - case "scheduler": return target.getScheduler(); - case "schedulerproperties": - case "schedulerProperties": return target.getSchedulerProperties(); case "securityprotocol": case "securityProtocol": return target.getConfiguration().getSecurityProtocol(); - case "sendemptymessagewhenidle": - case "sendEmptyMessageWhenIdle": return target.isSendEmptyMessageWhenIdle(); - case "sendnoop": - case "sendNoop": return target.getConfiguration().isSendNoop(); - case "separator": return target.getConfiguration().getSeparator(); - case "shuffle": return target.isShuffle(); - case "sitecommand": - case "siteCommand": return target.getConfiguration().getSiteCommand(); - case "sotimeout": - case "soTimeout": return target.getConfiguration().getSoTimeout(); - case "sortby": - case "sortBy": return target.getSortBy(); - case "sorter": return target.getSorter(); case "sslcontextparameters": case "sslContextParameters": return target.getSslContextParameters(); - case "startscheduler": - case "startScheduler": return target.isStartScheduler(); - case "stepwise": return target.getConfiguration().isStepwise(); - case "streamdownload": - case "streamDownload": return target.getConfiguration().isStreamDownload(); - case "synchronous": return target.isSynchronous(); - case "tempfilename": - case "tempFileName": return target.getTempFileName(); - case "tempprefix": - case "tempPrefix": return target.getTempPrefix(); - case "throwexceptiononconnectfailed": - case "throwExceptionOnConnectFailed": return target.getConfiguration().isThrowExceptionOnConnectFailed(); - case "timeunit": - case "timeUnit": return target.getTimeUnit(); - case "timeout": return target.getConfiguration().getTimeout(); - case "transferloggingintervalseconds": - case "transferLoggingIntervalSeconds": return target.getTransferLoggingIntervalSeconds(); - case "transferlogginglevel": - case "transferLoggingLevel": return target.getTransferLoggingLevel(); - case "transferloggingverbose": - case "transferLoggingVerbose": return target.isTransferLoggingVerbose(); - case "usefixeddelay": - case "useFixedDelay": return target.isUseFixedDelay(); - case "uselist": - case "useList": return target.getConfiguration().isUseList(); - case "username": return target.getConfiguration().getUsername(); - default: return null; + default: return super.getOptionValue(obj, name, ignoreCase); } } } diff --git a/docs/components/modules/others/pages/main.adoc b/docs/components/modules/others/pages/main.adoc index ce5872b..22403bf 100644 --- a/docs/components/modules/others/pages/main.adoc +++ b/docs/components/modules/others/pages/main.adoc @@ -30,10 +30,6 @@ The following table lists all the options: | *camel.main.autoConfiguration{zwsp}FailFast* | Whether auto configuration should fail fast when configuring one ore more properties fails for whatever reason such as a invalid property name, etc. This option is default enabled. | true | boolean | *camel.main.autoConfiguration{zwsp}LogSummary* | Whether auto configuration should log a summary with the configured properties. This option is default enabled. | true | boolean | *camel.main.autoStartup* | Sets whether the object should automatically start when Camel starts. Important: Currently only routes can be disabled, as CamelContext's are always started. Note: When setting auto startup false on CamelContext then that takes precedence and no routes are started. You would need to start CamelContext explicit using the org.apache.camel.CamelContext.start() method, to start the context, and then you would need to start the routes manually using CamelContext.g [...] -| *camel.main.autowireComponent{zwsp}Properties* | Whether autowiring components with properties that are of same type, which has been added to the Camel registry, as a singleton instance. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. This option is default enabled. | true | boolean -| *camel.main.autowireComponent{zwsp}PropertiesAllowPrivateSetter* | Whether autowiring components allows to use private setter method when setting the value. This may be needed in some rare situations when some configuration classes may configure via constructors over setters. But constructor configuration is more cumbersome to use via .properties files etc. | true | boolean -| *camel.main.autowireComponent{zwsp}PropertiesDeep* | Whether autowiring components (with deep nesting by attempting to walk as deep down the object graph by creating new empty objects on the way if needed) with properties that are of same type, which has been added to the Camel registry, as a singleton instance. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. This option is default disabled. | | boolean -| *camel.main.autowireComponent{zwsp}PropertiesNonNullOnly* | Whether to only autowire if the property has no default value or has not been configured explicit. This option is default disabled. | | boolean | *camel.main.backlogTracing* | Sets whether backlog tracing is enabled or not. Default is false. | | boolean | *camel.main.beanIntrospection{zwsp}ExtendedStatistics* | Sets whether bean introspection uses extended statistics. The default is false. | | boolean | *camel.main.beanIntrospection{zwsp}LoggingLevel* | Sets the logging level used by bean introspection, logging activity of its usage. The default is TRACE. | | LoggingLevel