CAMEL-10197: Updated component starters without annotated interfaces and abstract classes
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/af4b4814 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/af4b4814 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/af4b4814 Branch: refs/heads/master Commit: af4b48147f76c1046854888d98d10d236bc08b4b Parents: 7381fd8 Author: Dhiraj Bokde <dhira...@yahoo.com> Authored: Thu Sep 29 17:55:26 2016 -0700 Committer: Dhiraj Bokde <dhira...@yahoo.com> Committed: Thu Sep 29 17:55:26 2016 -0700 ---------------------------------------------------------------------- .../box/springboot/BoxComponentConfiguration.java | 3 --- .../cache/springboot/CacheComponentConfiguration.java | 1 - .../DigitalSignatureComponentConfiguration.java | 1 - .../jms/springboot/JmsComponentConfiguration.java | 10 ---------- .../springboot/LinkedInComponentConfiguration.java | 2 -- .../lucene/springboot/LuceneComponentConfiguration.java | 1 - .../mail/springboot/MailComponentConfiguration.java | 2 -- .../mina2/springboot/Mina2ComponentConfiguration.java | 1 - .../http/springboot/NettyHttpComponentConfiguration.java | 2 -- .../netty/springboot/NettyComponentConfiguration.java | 8 -------- .../http/springboot/NettyHttpComponentConfiguration.java | 2 -- .../netty4/springboot/NettyComponentConfiguration.java | 10 ---------- .../smpp/springboot/SmppComponentConfiguration.java | 2 -- .../ssh/springboot/SshComponentConfiguration.java | 1 - .../springboot/XmlSignatureComponentConfiguration.java | 8 -------- .../yammer/springboot/YammerComponentConfiguration.java | 2 -- 16 files changed, 56 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java b/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java index 7baa2fd..5f0b721 100644 --- a/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java +++ b/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java @@ -75,7 +75,6 @@ public class BoxComponentConfiguration { * component to be able to create a token automatically a user password * must be provided. */ - @NestedConfigurationProperty private IAuthSecureStorage authSecureStorage; /** * Box user name, MUST be provided @@ -90,7 +89,6 @@ public class BoxComponentConfiguration { * OAuth listener for token updates, if the Camel application needs to * use the access token outside the route */ - @NestedConfigurationProperty private OAuthRefreshListener refreshListener; /** * Flag to revoke OAuth refresh token on route shutdown, default false. @@ -112,7 +110,6 @@ public class BoxComponentConfiguration { /** * Custom Box SDK configuration, not required normally */ - @NestedConfigurationProperty private IBoxConfig boxConfig; /** * Custom Box connection manager builder, used to override default http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-cache-starter/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-cache-starter/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java b/components-starter/camel-cache-starter/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java index 237e19c..609fd2b 100644 --- a/components-starter/camel-cache-starter/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java +++ b/components-starter/camel-cache-starter/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java @@ -37,7 +37,6 @@ public class CacheComponentConfiguration { * To use the given CacheManagerFactory for creating the CacheManager. By * default the DefaultCacheManagerFactory is used. */ - @NestedConfigurationProperty private CacheManagerFactory cacheManagerFactory; /** * Sets the Cache configuration http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java b/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java index 385c3b0..db4636e 100644 --- a/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java +++ b/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java @@ -52,7 +52,6 @@ public class DigitalSignatureComponentConfiguration { public static class DigitalSignatureConfigurationNestedConfiguration { public static final Class CAMEL_NESTED_CLASS = org.apache.camel.component.crypto.DigitalSignatureConfiguration.class; - @NestedConfigurationProperty private CamelContext camelContext; /** * The logical name of this operation. http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-jms-starter/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-jms-starter/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java b/components-starter/camel-jms-starter/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java index 5f439ae..067b5e6 100644 --- a/components-starter/camel-jms-starter/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java +++ b/components-starter/camel-jms-starter/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java @@ -1254,7 +1254,6 @@ public class JmsComponentConfiguration { * and errorHandlerLogStackTrace options. This makes it much easier to * configure, than having to code a custom errorHandler. */ - @NestedConfigurationProperty private ErrorHandler errorHandler; /** * Allows to configure the default errorHandler logging level for @@ -1281,7 +1280,6 @@ public class JmsComponentConfiguration { /** * Allows you to specify a custom task executor for consuming messages. */ - @NestedConfigurationProperty private TaskExecutor taskExecutor; /** * Specifies whether to inhibit the delivery of messages published by @@ -1338,7 +1336,6 @@ public class JmsComponentConfiguration { /** * The Spring transaction manager to use. */ - @NestedConfigurationProperty private PlatformTransactionManager transactionManager; /** * The name of the transaction to use. @@ -1419,7 +1416,6 @@ public class JmsComponentConfiguration { * org.springframework.jms.support.converter.MessageConverter so you can * be in control how to map to/from a javax.jms.Message. */ - @NestedConfigurationProperty private MessageConverter messageConverter; /** * Specifies whether Camel should auto map the received JMS message to a @@ -1502,7 +1498,6 @@ public class JmsComponentConfiguration { * JmsTemplate as default. Can be used for testing purpose, but not used * much as stated in the spring API docs. */ - @NestedConfigurationProperty private JmsOperations jmsOperations; /** * A pluggable @@ -1510,7 +1505,6 @@ public class JmsComponentConfiguration { * allows you to use your own resolver (for example, to lookup the real * destination in a JNDI registry). */ - @NestedConfigurationProperty private DestinationResolver destinationResolver; /** * Allows the provider metadata to be explicitly configured. Typically @@ -1524,7 +1518,6 @@ public class JmsComponentConfiguration { * {@link JmsProviderMetadata} details which if none is customized one * is lazily created on demand */ - @NestedConfigurationProperty private JmsOperations metadataJmsOperations; /** * If true, Camel will always make a JMS message copy of the message @@ -1600,7 +1593,6 @@ public class JmsComponentConfiguration { * org.apache.camel.component.jms.JmsKeyFormatStrategy and refer to it * using the # notation. */ - @NestedConfigurationProperty private JmsKeyFormatStrategy jmsKeyFormatStrategy; /** * You can transfer the exchange over the wire instead of just the body @@ -1734,7 +1726,6 @@ public class JmsComponentConfiguration { * use to consume messages. Setting this will automatically set * consumerType to Custom. */ - @NestedConfigurationProperty private MessageListenerContainerFactory messageListenerContainerFactory; /** * Only applicable when sending to JMS destination using InOnly (eg fire @@ -1768,7 +1759,6 @@ public class JmsComponentConfiguration { * creates new instances of <tt>javax.jms.Message</tt> objects when * Camel is sending a JMS message. */ - @NestedConfigurationProperty private MessageCreatedStrategy messageCreatedStrategy; /** * Sets the JMS selector to use http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java b/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java index 38cd520..a7c5f63 100644 --- a/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java +++ b/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java @@ -21,7 +21,6 @@ import org.apache.camel.component.linkedin.api.OAuthScope; import org.apache.camel.component.linkedin.api.OAuthSecureStorage; import org.apache.camel.component.linkedin.internal.LinkedInApiName; import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.boot.context.properties.NestedConfigurationProperty; /** * The linkedin component is uses for retrieving LinkedIn user profiles @@ -71,7 +70,6 @@ public class LinkedInComponentConfiguration { * callback. If the callback returns null the first time, a userPassword * MUST be provided */ - @NestedConfigurationProperty private OAuthSecureStorage secureStorage; /** * LinkedIn application client ID http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-lucene-starter/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-lucene-starter/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java b/components-starter/camel-lucene-starter/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java index 71e03f6..a6ac5bb 100644 --- a/components-starter/camel-lucene-starter/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java +++ b/components-starter/camel-lucene-starter/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java @@ -74,7 +74,6 @@ public class LuceneComponentConfiguration { * org.apache.lucene.analysis.Analyzer. Lucene also offers a rich set of * analyzers out of the box */ - @NestedConfigurationProperty private Analyzer analyzer; /** * An integer value that limits the result set of the search operation http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java b/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java index e5af5c6..5cc29b7 100644 --- a/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java +++ b/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java @@ -67,7 +67,6 @@ public class MailComponentConfiguration { * {@link org.apache.camel.component.mail.JavaMailSender} for sending * emails. */ - @NestedConfigurationProperty private JavaMailSender javaMailSender; /** * The mail server host name @@ -270,7 +269,6 @@ public class MailComponentConfiguration { * To use a custom AttachmentsContentTransferEncodingResolver to resolve * what content-type-encoding to use for attachments. */ - @NestedConfigurationProperty private AttachmentsContentTransferEncodingResolver attachmentsContentTransferEncodingResolver; public JavaMailSender getJavaMailSender() { http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-mina2-starter/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-mina2-starter/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java b/components-starter/camel-mina2-starter/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java index 1cd6587..9ebc627 100644 --- a/components-starter/camel-mina2-starter/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java +++ b/components-starter/camel-mina2-starter/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java @@ -82,7 +82,6 @@ public class Mina2ComponentConfiguration { /** * To use a custom minda codec implementation. */ - @NestedConfigurationProperty private ProtocolCodecFactory codec; /** * You can configure the encoding (a charset name) to use for the TCP http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-netty-http-starter/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-netty-http-starter/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java b/components-starter/camel-netty-http-starter/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java index 5082b77..13f4166 100644 --- a/components-starter/camel-netty-http-starter/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java +++ b/components-starter/camel-netty-http-starter/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java @@ -129,13 +129,11 @@ public class NettyHttpComponentConfiguration { * By default this is <tt>null</tt>, which means all resources is * restricted. */ - @NestedConfigurationProperty private SecurityConstraint securityConstraint; /** * Sets the {@link SecurityAuthenticator} to use for authenticating the * {@link HttpPrincipal} . */ - @NestedConfigurationProperty private SecurityAuthenticator securityAuthenticator; /** * Sets a logging level to use for logging denied login attempts (incl http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java b/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java index 4627381..8720056 100644 --- a/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java +++ b/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java @@ -127,7 +127,6 @@ public class NettyComponentConfiguration { * marshalling of outbound payloads. Must override * org.jboss.netty.channel.ChannelDownStreamHandler. */ - @NestedConfigurationProperty @Deprecated private ChannelHandler encoder; /** @@ -135,7 +134,6 @@ public class NettyComponentConfiguration { * marshalling of inbound payloads. Must override * org.jboss.netty.channel.ChannelUpStreamHandler. */ - @NestedConfigurationProperty @Deprecated private ChannelHandler decoder; /** @@ -190,7 +188,6 @@ public class NettyComponentConfiguration { /** * To use a custom ClientPipelineFactory */ - @NestedConfigurationProperty private ClientPipelineFactory clientPipelineFactory; private Integer maximumPoolSize; /** @@ -391,12 +388,10 @@ public class NettyComponentConfiguration { /** * To use a custom ServerPipelineFactory */ - @NestedConfigurationProperty private ServerPipelineFactory serverPipelineFactory; /** * To use a custom NettyServerBootstrapFactory */ - @NestedConfigurationProperty private NettyServerBootstrapFactory nettyServerBootstrapFactory; /** * Allows to configure additional netty options using "option." as @@ -411,7 +406,6 @@ public class NettyComponentConfiguration { * consumers. By default each consumer has their own boss pool with 1 * core thread. */ - @NestedConfigurationProperty private BossPool bossPool; /** * To use a explicit org.jboss.netty.channel.socket.nio.WorkerPool as @@ -419,12 +413,10 @@ public class NettyComponentConfiguration { * multiple consumers. By default each consumer has their own worker * pool with 2 x cpu count core threads. */ - @NestedConfigurationProperty private WorkerPool workerPool; /** * To use a explicit ChannelGroup. */ - @NestedConfigurationProperty private ChannelGroup channelGroup; /** * When using UDP then this option can be used to specify a network http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java b/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java index 6d06a16..407722a 100644 --- a/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java +++ b/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java @@ -143,13 +143,11 @@ public class NettyHttpComponentConfiguration { * By default this is <tt>null</tt>, which means all resources is * restricted. */ - @NestedConfigurationProperty private SecurityConstraint securityConstraint; /** * Sets the {@link SecurityAuthenticator} to use for authenticating the * {@link HttpPrincipal} . */ - @NestedConfigurationProperty private SecurityAuthenticator securityAuthenticator; /** * Sets a logging level to use for logging denied login attempts (incl http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java b/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java index 62f460e..2c6ffe0 100644 --- a/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java +++ b/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java @@ -139,14 +139,12 @@ public class NettyComponentConfiguration { * A custom ChannelHandler class that can be used to perform special * marshalling of outbound payloads. */ - @NestedConfigurationProperty @Deprecated private ChannelHandler encoder; /** * A custom ChannelHandler class that can be used to perform special * marshalling of inbound payloads. */ - @NestedConfigurationProperty @Deprecated private ChannelHandler decoder; /** @@ -208,13 +206,11 @@ public class NettyComponentConfiguration { /** * @deprecated use #setClientInitializerFactory */ - @NestedConfigurationProperty @Deprecated private ClientInitializerFactory clientPipelineFactory; /** * To use a custom ClientInitializerFactory */ - @NestedConfigurationProperty private ClientInitializerFactory clientInitializerFactory; /** * Whether to use ordered thread pool, to ensure events are processed @@ -421,18 +417,15 @@ public class NettyComponentConfiguration { /** * @deprecated use #setServerInitializerFactory */ - @NestedConfigurationProperty @Deprecated private ServerInitializerFactory serverPipelineFactory; /** * To use a custom ServerInitializerFactory */ - @NestedConfigurationProperty private ServerInitializerFactory serverInitializerFactory; /** * To use a custom NettyServerBootstrapFactory */ - @NestedConfigurationProperty private NettyServerBootstrapFactory nettyServerBootstrapFactory; /** * Allows to configure additional netty options using "option." as @@ -453,19 +446,16 @@ public class NettyComponentConfiguration { * Set the BossGroup which could be used for handling the new connection * of the server side across the NettyEndpoint */ - @NestedConfigurationProperty private EventLoopGroup bossGroup; /** * To use a explicit EventLoopGroup as the boss thread pool. For example * to share a thread pool with multiple consumers. By default each * consumer has their own boss pool with 1 core thread. */ - @NestedConfigurationProperty private EventLoopGroup workerGroup; /** * To use a explicit ChannelGroup. */ - @NestedConfigurationProperty private ChannelGroup channelGroup; /** * When using UDP then this option can be used to specify a network http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-smpp-starter/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-smpp-starter/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java b/components-starter/camel-smpp-starter/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java index 6f9d239..6768a31 100644 --- a/components-starter/camel-smpp-starter/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java +++ b/components-starter/camel-smpp-starter/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java @@ -21,7 +21,6 @@ import org.apache.camel.component.smpp.SmppComponent; import org.apache.camel.component.smpp.SmppSplittingPolicy; import org.jsmpp.session.SessionStateListener; import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.boot.context.properties.NestedConfigurationProperty; /** * To send and receive SMS using a SMSC (Short Message Service Center). @@ -313,7 +312,6 @@ public class SmppComponentConfiguration { * You can refer to a org.jsmpp.session.SessionStateListener in the * Registry to receive callbacks when the session state changed. */ - @NestedConfigurationProperty private SessionStateListener sessionStateListener; /** * You can specify the address range for the SmppConsumer as defined in http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java b/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java index 7730311..db15ef6 100644 --- a/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java +++ b/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java @@ -231,7 +231,6 @@ public class SshComponentConfiguration { * username/password settings. * @see KeyPairProvider */ - @NestedConfigurationProperty private KeyPairProvider keyPairProvider; /** * Sets the key type to pass to the KeyPairProvider as part of http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java b/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java index 56524dd..7a09eec 100644 --- a/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java +++ b/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java @@ -29,7 +29,6 @@ import org.apache.camel.component.xmlsecurity.api.XmlSignature2Message; import org.apache.camel.component.xmlsecurity.api.XmlSignatureChecker; import org.apache.camel.component.xmlsecurity.api.XmlSignatureProperties; import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.boot.context.properties.NestedConfigurationProperty; /** * Used to sign and verify exchanges using the XML signature specification. @@ -70,7 +69,6 @@ public class XmlSignatureComponentConfiguration { public static class XmlSignerConfigurationNestedConfiguration { public static final Class CAMEL_NESTED_CLASS = org.apache.camel.component.xmlsecurity.processor.XmlSignerConfiguration.class; - @NestedConfigurationProperty private CamelContext camelContext; /** * For the signing process, a private key is necessary. You specify a @@ -80,7 +78,6 @@ public class XmlSignatureComponentConfiguration { * implementation class DefaultKeyAccessor which reads the private key * from a Java keystore. */ - @NestedConfigurationProperty private KeyAccessor keyAccessor; /** * Canonicalization method used to canonicalize the SignedInfo element @@ -206,7 +203,6 @@ public class XmlSignatureComponentConfiguration { * which contain additional properties, you can provide a bean which * implements the XmlSignatureProperties interface. */ - @NestedConfigurationProperty private XmlSignatureProperties properties; private String keyAccessorName; private String canonicalizationMethodName; @@ -573,7 +569,6 @@ public class XmlSignatureComponentConfiguration { public static class XmlVerifierConfigurationNestedConfiguration { public static final Class CAMEL_NESTED_CLASS = org.apache.camel.component.xmlsecurity.processor.XmlVerifierConfiguration.class; - @NestedConfigurationProperty private CamelContext camelContext; /** * Provides the key for validating the XML signature. @@ -584,7 +579,6 @@ public class XmlSignatureComponentConfiguration { * before the validation is executed. This step is recommended in * http://www.w3.org/TR/xmldsig-bestpractices/#check-what-is-signed */ - @NestedConfigurationProperty private XmlSignatureChecker xmlSignatureChecker; /** * Bean which maps the XML signature to the output-message after the @@ -610,7 +604,6 @@ public class XmlSignatureComponentConfiguration { * explained in more detail in chapter * "Output Node Determination in Enveloping XML Signature Case". */ - @NestedConfigurationProperty private XmlSignature2Message xmlSignature2Message; /** * Handles the different validation failed situations. The default @@ -622,7 +615,6 @@ public class XmlSignatureComponentConfiguration { * validation fails, a XmlSignatureInvalidContentHashException is * thrown. For more detailed information, see the JavaDoc. */ - @NestedConfigurationProperty private ValidationFailedHandler validationFailedHandler; /** * Sets the output node search value for determining the node from the http://git-wip-us.apache.org/repos/asf/camel/blob/af4b4814/components-starter/camel-yammer-starter/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-yammer-starter/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java b/components-starter/camel-yammer-starter/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java index 223d5bd..6ac4d92 100644 --- a/components-starter/camel-yammer-starter/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java +++ b/components-starter/camel-yammer-starter/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java @@ -19,7 +19,6 @@ package org.apache.camel.component.yammer.springboot; import org.apache.camel.component.yammer.ApiRequestor; import org.apache.camel.component.yammer.YammerFunctionType; import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.boot.context.properties.NestedConfigurationProperty; /** * The yammer component allows you to interact with the Yammer enterprise social @@ -110,7 +109,6 @@ public class YammerComponentConfiguration { * POJOs. */ private Boolean useJson; - @NestedConfigurationProperty private ApiRequestor requestor; /** * Return only the specified number of messages. Works for threaded=true