http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-irc/src/main/docs/irc-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-irc/src/main/docs/irc-component.adoc b/components/camel-irc/src/main/docs/irc-component.adoc index 30c5c56..b496788 100644 --- a/components/camel-irc/src/main/docs/irc-component.adoc +++ b/components/camel-irc/src/main/docs/irc-component.adoc @@ -34,17 +34,7 @@ You can append query options to the URI in the following format, // component options: START -The IRC component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The IRC component has no options. // component options: END
http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-ironmq/src/main/docs/ironmq-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-ironmq/src/main/docs/ironmq-component.adoc b/components/camel-ironmq/src/main/docs/ironmq-component.adoc index eddc0eb..3f3712b 100644 --- a/components/camel-ironmq/src/main/docs/ironmq-component.adoc +++ b/components/camel-ironmq/src/main/docs/ironmq-component.adoc @@ -92,17 +92,7 @@ The IronMQ component supports 31 endpoint options which are listed below: // component options: START -The IronMQ component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The IronMQ component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-javaspace/src/main/docs/javaspace-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-javaspace/src/main/docs/javaspace-component.adoc b/components/camel-javaspace/src/main/docs/javaspace-component.adoc index 597dc3c..4c40b73 100644 --- a/components/camel-javaspace/src/main/docs/javaspace-component.adoc +++ b/components/camel-javaspace/src/main/docs/javaspace-component.adoc @@ -48,17 +48,7 @@ You can append query options to the URI in the following format, // component options: START -The JavaSpace component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The JavaSpace component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-jbpm/src/main/docs/jbpm-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-jbpm/src/main/docs/jbpm-component.adoc b/components/camel-jbpm/src/main/docs/jbpm-component.adoc index b11d53a..22c7e15 100644 --- a/components/camel-jbpm/src/main/docs/jbpm-component.adoc +++ b/components/camel-jbpm/src/main/docs/jbpm-component.adoc @@ -30,17 +30,7 @@ jbpm::hostName[:port][/resourceUri][?options] // component options: START -The JBPM component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The JBPM component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-jcr/src/main/docs/jcr-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-jcr/src/main/docs/jcr-component.adoc b/components/camel-jcr/src/main/docs/jcr-component.adoc index 8dd5fca..ac7283e 100644 --- a/components/camel-jcr/src/main/docs/jcr-component.adoc +++ b/components/camel-jcr/src/main/docs/jcr-component.adoc @@ -41,17 +41,7 @@ The `repository` element of the URI is used to look up the JCR // component options: START -The JCR component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The JCR component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-jing/src/main/docs/jing-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-jing/src/main/docs/jing-component.adoc b/components/camel-jing/src/main/docs/jing-component.adoc index 38e8f07..3a2fc62 100644 --- a/components/camel-jing/src/main/docs/jing-component.adoc +++ b/components/camel-jing/src/main/docs/jing-component.adoc @@ -40,17 +40,7 @@ option compactSyntax to turn on either RNG or RNC mode. // component options: START -The Jing component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Jing component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-jira/src/main/docs/jira-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-jira/src/main/docs/jira-component.adoc b/components/camel-jira/src/main/docs/jira-component.adoc index 493f2b1..5bf480b 100644 --- a/components/camel-jira/src/main/docs/jira-component.adoc +++ b/components/camel-jira/src/main/docs/jira-component.adoc @@ -42,17 +42,7 @@ jira://endpoint[?options] // component options: START -The JIRA component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The JIRA component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-jmx/src/main/docs/jmx-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-jmx/src/main/docs/jmx-component.adoc b/components/camel-jmx/src/main/docs/jmx-component.adoc index 85e6481..ede3296 100644 --- a/components/camel-jmx/src/main/docs/jmx-component.adoc +++ b/components/camel-jmx/src/main/docs/jmx-component.adoc @@ -22,17 +22,7 @@ monitor Camel using JMX. ### Options // component options: START -The JMX component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The JMX component has no options. // component options: END // endpoint options: START http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-krati/src/main/docs/krati-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-krati/src/main/docs/krati-component.adoc b/components/camel-krati/src/main/docs/krati-component.adoc index e11be1c..53c9f42 100644 --- a/components/camel-krati/src/main/docs/krati-component.adoc +++ b/components/camel-krati/src/main/docs/krati-component.adoc @@ -42,17 +42,7 @@ You can append query options to the URI in the following format, // component options: START -The Krati component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Krati component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-kubernetes/src/main/docs/kubernetes-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-kubernetes/src/main/docs/kubernetes-component.adoc b/components/camel-kubernetes/src/main/docs/kubernetes-component.adoc index d6b7fae..04512c3 100644 --- a/components/camel-kubernetes/src/main/docs/kubernetes-component.adoc +++ b/components/camel-kubernetes/src/main/docs/kubernetes-component.adoc @@ -32,17 +32,7 @@ format, `?option=value&option=value&...` // component options: START -The Kubernetes component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Kubernetes component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-ldap/src/main/docs/ldap-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-ldap/src/main/docs/ldap-component.adoc b/components/camel-ldap/src/main/docs/ldap-component.adoc index e54bb67..8f46484 100644 --- a/components/camel-ldap/src/main/docs/ldap-component.adoc +++ b/components/camel-ldap/src/main/docs/ldap-component.adoc @@ -40,17 +40,7 @@ You can append query options to the URI in the following format, // component options: START -The LDAP component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The LDAP component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-mllp/src/main/docs/mllp-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-mllp/src/main/docs/mllp-component.adoc b/components/camel-mllp/src/main/docs/mllp-component.adoc index e2ec4c6..75f128e 100644 --- a/components/camel-mllp/src/main/docs/mllp-component.adoc +++ b/components/camel-mllp/src/main/docs/mllp-component.adoc @@ -40,17 +40,7 @@ for this component: // component options: START -The MLLP component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The MLLP component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-mongodb-gridfs/src/main/docs/mongodb-gridfs-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-mongodb-gridfs/src/main/docs/mongodb-gridfs-component.adoc b/components/camel-mongodb-gridfs/src/main/docs/mongodb-gridfs-component.adoc index c20cc7c..363d81f 100644 --- a/components/camel-mongodb-gridfs/src/main/docs/mongodb-gridfs-component.adoc +++ b/components/camel-mongodb-gridfs/src/main/docs/mongodb-gridfs-component.adoc @@ -26,17 +26,7 @@ mongodb-gridfs:connectionBean?database=databaseName&bucket=bucketName[&moreOptio // component options: START -The MongoDB GridFS component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The MongoDB GridFS component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-mongodb/src/main/docs/mongodb-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-mongodb/src/main/docs/mongodb-component.adoc b/components/camel-mongodb/src/main/docs/mongodb-component.adoc index f45f28e..628d4df 100644 --- a/components/camel-mongodb/src/main/docs/mongodb-component.adoc +++ b/components/camel-mongodb/src/main/docs/mongodb-component.adoc @@ -51,17 +51,7 @@ mongodb:connectionBean?database=databaseName&collection=collectionName&operation // component options: START -The MongoDB component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The MongoDB component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-mongodb3/src/main/docs/mongodb3-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-mongodb3/src/main/docs/mongodb3-component.adoc b/components/camel-mongodb3/src/main/docs/mongodb3-component.adoc index e32d9ef..1e3d376 100644 --- a/components/camel-mongodb3/src/main/docs/mongodb3-component.adoc +++ b/components/camel-mongodb3/src/main/docs/mongodb3-component.adoc @@ -53,17 +53,7 @@ mongodb3:connectionBean?database=databaseName&collection=collectionName&operatio // component options: START -The MongoDB component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The MongoDB component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-mvel/src/main/docs/mvel-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-mvel/src/main/docs/mvel-component.adoc b/components/camel-mvel/src/main/docs/mvel-component.adoc index 734bced..54a78e2 100644 --- a/components/camel-mvel/src/main/docs/mvel-component.adoc +++ b/components/camel-mvel/src/main/docs/mvel-component.adoc @@ -37,17 +37,7 @@ You can append query options to the URI in the following format, // component options: START -The MVEL component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The MVEL component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-nats/src/main/docs/nats-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-nats/src/main/docs/nats-component.adoc b/components/camel-nats/src/main/docs/nats-component.adoc index da6c0fa..3652b44 100644 --- a/components/camel-nats/src/main/docs/nats-component.adoc +++ b/components/camel-nats/src/main/docs/nats-component.adoc @@ -30,17 +30,7 @@ Where *servers* represents the list of NATS servers. // component options: START -The Nats component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Nats component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-openstack/src/main/docs/openstack-cinder-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-openstack/src/main/docs/openstack-cinder-component.adoc b/components/camel-openstack/src/main/docs/openstack-cinder-component.adoc index 9ba2eec..2834382 100644 --- a/components/camel-openstack/src/main/docs/openstack-cinder-component.adoc +++ b/components/camel-openstack/src/main/docs/openstack-cinder-component.adoc @@ -35,17 +35,7 @@ You can append query options to the URI in the following format ### URI Options // component options: START -The OpenStack Cinder component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The OpenStack Cinder component has no options. // component options: END // endpoint options: START http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-openstack/src/main/docs/openstack-glance-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-openstack/src/main/docs/openstack-glance-component.adoc b/components/camel-openstack/src/main/docs/openstack-glance-component.adoc index b741123..9dcbcab 100644 --- a/components/camel-openstack/src/main/docs/openstack-glance-component.adoc +++ b/components/camel-openstack/src/main/docs/openstack-glance-component.adoc @@ -35,17 +35,7 @@ You can append query options to the URI in the following format ### URI Options // component options: START -The OpenStack Glance component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The OpenStack Glance component has no options. // component options: END // endpoint options: START http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-openstack/src/main/docs/openstack-keystone-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-openstack/src/main/docs/openstack-keystone-component.adoc b/components/camel-openstack/src/main/docs/openstack-keystone-component.adoc index b177eed..f6f255e 100644 --- a/components/camel-openstack/src/main/docs/openstack-keystone-component.adoc +++ b/components/camel-openstack/src/main/docs/openstack-keystone-component.adoc @@ -37,17 +37,7 @@ You can append query options to the URI in the following format ### URI Options // component options: START -The OpenStack Keystone component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The OpenStack Keystone component has no options. // component options: END // endpoint options: START http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-openstack/src/main/docs/openstack-neutron-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-openstack/src/main/docs/openstack-neutron-component.adoc b/components/camel-openstack/src/main/docs/openstack-neutron-component.adoc index 74696e9..dbb2e58 100644 --- a/components/camel-openstack/src/main/docs/openstack-neutron-component.adoc +++ b/components/camel-openstack/src/main/docs/openstack-neutron-component.adoc @@ -35,17 +35,7 @@ You can append query options to the URI in the following format ### URI Options // component options: START -The OpenStack Neutron component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The OpenStack Neutron component has no options. // component options: END // endpoint options: START http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-openstack/src/main/docs/openstack-nova-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-openstack/src/main/docs/openstack-nova-component.adoc b/components/camel-openstack/src/main/docs/openstack-nova-component.adoc index 8299399..308b567 100644 --- a/components/camel-openstack/src/main/docs/openstack-nova-component.adoc +++ b/components/camel-openstack/src/main/docs/openstack-nova-component.adoc @@ -35,17 +35,7 @@ You can append query options to the URI in the following format ### URI Options // component options: START -The OpenStack Nova component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The OpenStack Nova component has no options. // component options: END // endpoint options: START http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-openstack/src/main/docs/openstack-swift-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-openstack/src/main/docs/openstack-swift-component.adoc b/components/camel-openstack/src/main/docs/openstack-swift-component.adoc index 1981009..2d07bcd 100644 --- a/components/camel-openstack/src/main/docs/openstack-swift-component.adoc +++ b/components/camel-openstack/src/main/docs/openstack-swift-component.adoc @@ -35,17 +35,7 @@ You can append query options to the URI in the following format ### URI Options // component options: START -The OpenStack Swift component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The OpenStack Swift component has no options. // component options: END // endpoint options: START http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-optaplanner/src/main/docs/optaplanner-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-optaplanner/src/main/docs/optaplanner-component.adoc b/components/camel-optaplanner/src/main/docs/optaplanner-component.adoc index ff7696a..2a60ff1 100644 --- a/components/camel-optaplanner/src/main/docs/optaplanner-component.adoc +++ b/components/camel-optaplanner/src/main/docs/optaplanner-component.adoc @@ -39,17 +39,7 @@ You can append query options to the URI in the following format, // component options: START -The OptaPlanner component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The OptaPlanner component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-pdf/src/main/docs/pdf-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-pdf/src/main/docs/pdf-component.adoc b/components/camel-pdf/src/main/docs/pdf-component.adoc index 16cdb7e..4160d25 100644 --- a/components/camel-pdf/src/main/docs/pdf-component.adoc +++ b/components/camel-pdf/src/main/docs/pdf-component.adoc @@ -34,17 +34,7 @@ pdf:operation[?options] ### Options // component options: START -The PDF component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The PDF component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-pgevent/src/main/docs/pgevent-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-pgevent/src/main/docs/pgevent-component.adoc b/components/camel-pgevent/src/main/docs/pgevent-component.adoc index 3c973ba..6b0b7c0 100644 --- a/components/camel-pgevent/src/main/docs/pgevent-component.adoc +++ b/components/camel-pgevent/src/main/docs/pgevent-component.adoc @@ -37,17 +37,7 @@ You can append query options to the URI in the following format, // component options: START -The PostgresSQL Event component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The PostgresSQL Event component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-printer/src/main/docs/lpr-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-printer/src/main/docs/lpr-component.adoc b/components/camel-printer/src/main/docs/lpr-component.adoc index 7907c16..0670e20 100644 --- a/components/camel-printer/src/main/docs/lpr-component.adoc +++ b/components/camel-printer/src/main/docs/lpr-component.adoc @@ -46,17 +46,7 @@ You can append query options to the URI in the following format, // component options: START -The Printer component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Printer component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-rabbitmq/src/main/docs/rabbitmq-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-rabbitmq/src/main/docs/rabbitmq-component.adoc b/components/camel-rabbitmq/src/main/docs/rabbitmq-component.adoc index 3724522..0c98d78 100644 --- a/components/camel-rabbitmq/src/main/docs/rabbitmq-component.adoc +++ b/components/camel-rabbitmq/src/main/docs/rabbitmq-component.adoc @@ -37,17 +37,7 @@ exchange name determines which exchange the queue will bind to. // component options: START -The RabbitMQ component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The RabbitMQ component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-rmi/src/main/docs/rmi-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-rmi/src/main/docs/rmi-component.adoc b/components/camel-rmi/src/main/docs/rmi-component.adoc index 088db6a..cd79eeb 100644 --- a/components/camel-rmi/src/main/docs/rmi-component.adoc +++ b/components/camel-rmi/src/main/docs/rmi-component.adoc @@ -47,17 +47,7 @@ You can append query options to the URI in the following format, // component options: START -The RMI component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The RMI component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-routebox/src/main/docs/routebox-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-routebox/src/main/docs/routebox-component.adoc b/components/camel-routebox/src/main/docs/routebox-component.adoc index b4bf148..412b926 100644 --- a/components/camel-routebox/src/main/docs/routebox-component.adoc +++ b/components/camel-routebox/src/main/docs/routebox-component.adoc @@ -99,17 +99,7 @@ You can append query options to the URI in the following format, // component options: START -The RouteBox component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The RouteBox component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-rss/src/main/docs/rss-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-rss/src/main/docs/rss-component.adoc b/components/camel-rss/src/main/docs/rss-component.adoc index 7a38ac4..46bab51 100644 --- a/components/camel-rss/src/main/docs/rss-component.adoc +++ b/components/camel-rss/src/main/docs/rss-component.adoc @@ -42,17 +42,7 @@ You can append query options to the URI in the following format, // component options: START -The RSS component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The RSS component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-sap-netweaver/src/main/docs/sap-netweaver-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-sap-netweaver/src/main/docs/sap-netweaver-component.adoc b/components/camel-sap-netweaver/src/main/docs/sap-netweaver-component.adoc index f887a04..b26d33f 100644 --- a/components/camel-sap-netweaver/src/main/docs/sap-netweaver-component.adoc +++ b/components/camel-sap-netweaver/src/main/docs/sap-netweaver-component.adoc @@ -47,17 +47,7 @@ NetWeaver. // component options: START -The SAP NetWeaver component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The SAP NetWeaver component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-schematron/src/main/docs/schematron-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-schematron/src/main/docs/schematron-component.adoc b/components/camel-schematron/src/main/docs/schematron-component.adoc index c7efbd8..6143788 100644 --- a/components/camel-schematron/src/main/docs/schematron-component.adoc +++ b/components/camel-schematron/src/main/docs/schematron-component.adoc @@ -28,17 +28,7 @@ schematron://path?[options] // component options: START -The Schematron component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Schematron component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-sip/src/main/docs/sip-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-sip/src/main/docs/sip-component.adoc b/components/camel-sip/src/main/docs/sip-component.adoc index d7be1ec..f516874 100644 --- a/components/camel-sip/src/main/docs/sip-component.adoc +++ b/components/camel-sip/src/main/docs/sip-component.adoc @@ -69,17 +69,7 @@ via the SIP protocol. // component options: START -The SIP component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The SIP component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-snmp/src/main/docs/snmp-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-snmp/src/main/docs/snmp-component.adoc b/components/camel-snmp/src/main/docs/snmp-component.adoc index 50c76e2..884ec2d 100644 --- a/components/camel-snmp/src/main/docs/snmp-component.adoc +++ b/components/camel-snmp/src/main/docs/snmp-component.adoc @@ -43,17 +43,7 @@ The response body type is org.apache.camel.component.snmp.SnmpMessage // component options: START -The SNMP component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The SNMP component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-spring-integration/src/main/docs/spring-integration-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-spring-integration/src/main/docs/spring-integration-component.adoc b/components/camel-spring-integration/src/main/docs/spring-integration-component.adoc index b1c17a6..b9763bb 100644 --- a/components/camel-spring-integration/src/main/docs/spring-integration-component.adoc +++ b/components/camel-spring-integration/src/main/docs/spring-integration-component.adoc @@ -39,17 +39,7 @@ You can append query options to the URI in the following format, // component options: START -The Spring Integration component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Spring Integration component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-spring-ldap/src/main/docs/spring-ldap-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-spring-ldap/src/main/docs/spring-ldap-component.adoc b/components/camel-spring-ldap/src/main/docs/spring-ldap-component.adoc index d890d7e..4313562 100644 --- a/components/camel-spring-ldap/src/main/docs/spring-ldap-component.adoc +++ b/components/camel-spring-ldap/src/main/docs/spring-ldap-component.adoc @@ -34,17 +34,7 @@ credentials for your LDAP access. // component options: START -The Spring LDAP component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Spring LDAP component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-spring-redis/src/main/docs/spring-redis-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-spring-redis/src/main/docs/spring-redis-component.adoc b/components/camel-spring-redis/src/main/docs/spring-redis-component.adoc index 967f4fd..7f972d5 100644 --- a/components/camel-spring-redis/src/main/docs/spring-redis-component.adoc +++ b/components/camel-spring-redis/src/main/docs/spring-redis-component.adoc @@ -29,17 +29,7 @@ You can append query options to the URI in the following format, // component options: START -The Spring Redis component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Spring Redis component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-spring-ws/src/main/docs/spring-ws-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-spring-ws/src/main/docs/spring-ws-component.adoc b/components/camel-spring-ws/src/main/docs/spring-ws-component.adoc index 9e5754a..a118533 100644 --- a/components/camel-spring-ws/src/main/docs/spring-ws-component.adoc +++ b/components/camel-spring-ws/src/main/docs/spring-ws-component.adoc @@ -81,17 +81,7 @@ You can append query *options* to the URI in the following format, // component options: START -The Spring WebService component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Spring WebService component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-stax/src/main/docs/stax-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-stax/src/main/docs/stax-component.adoc b/components/camel-stax/src/main/docs/stax-component.adoc index db357a7..452f5fa 100644 --- a/components/camel-stax/src/main/docs/stax-component.adoc +++ b/components/camel-stax/src/main/docs/stax-component.adoc @@ -48,17 +48,7 @@ stax:#myHandler // component options: START -The StAX component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The StAX component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-stream/src/main/docs/stream-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-stream/src/main/docs/stream-component.adoc b/components/camel-stream/src/main/docs/stream-component.adoc index 00fc357..65f7e9e 100644 --- a/components/camel-stream/src/main/docs/stream-component.adoc +++ b/components/camel-stream/src/main/docs/stream-component.adoc @@ -47,17 +47,7 @@ You can append query options to the URI in the following format, // component options: START -The Stream component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Stream component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-stringtemplate/src/main/docs/string-template-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-stringtemplate/src/main/docs/string-template-component.adoc b/components/camel-stringtemplate/src/main/docs/string-template-component.adoc index 1aff3af..a845ab0 100644 --- a/components/camel-stringtemplate/src/main/docs/string-template-component.adoc +++ b/components/camel-stringtemplate/src/main/docs/string-template-component.adoc @@ -37,17 +37,7 @@ You can append query options to the URI in the following format, // component options: START -The String Template component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The String Template component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-tika/src/main/docs/tika-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-tika/src/main/docs/tika-component.adoc b/components/camel-tika/src/main/docs/tika-component.adoc index d94c65a..cb5a6e8 100644 --- a/components/camel-tika/src/main/docs/tika-component.adoc +++ b/components/camel-tika/src/main/docs/tika-component.adoc @@ -34,17 +34,7 @@ tika:operation[?options] ### Options // component options: START -The Tika component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Tika component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-weather/src/main/docs/weather-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-weather/src/main/docs/weather-component.adoc b/components/camel-weather/src/main/docs/weather-component.adoc index 114580e..54e72da 100644 --- a/components/camel-weather/src/main/docs/weather-component.adoc +++ b/components/camel-weather/src/main/docs/weather-component.adoc @@ -41,17 +41,7 @@ definition of the weather endpoint using the appid param ! // component options: START -The Weather component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The Weather component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-xmlrpc/src/main/docs/xmlrpc-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-xmlrpc/src/main/docs/xmlrpc-component.adoc b/components/camel-xmlrpc/src/main/docs/xmlrpc-component.adoc index 1f218e5..aecf5ad 100644 --- a/components/camel-xmlrpc/src/main/docs/xmlrpc-component.adoc +++ b/components/camel-xmlrpc/src/main/docs/xmlrpc-component.adoc @@ -95,17 +95,7 @@ xmlrpc://serverUri[?options] // component options: START -The XML RPC component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The XML RPC component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/components/camel-xmpp/src/main/docs/xmpp-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-xmpp/src/main/docs/xmpp-component.adoc b/components/camel-xmpp/src/main/docs/xmpp-component.adoc index 3162f50..dea7cde 100644 --- a/components/camel-xmpp/src/main/docs/xmpp-component.adoc +++ b/components/camel-xmpp/src/main/docs/xmpp-component.adoc @@ -37,17 +37,7 @@ You can append query options to the URI in the following format, // component options: START -The XMPP component supports 1 options which are listed below. - - - -{% raw %} -[width="100%",cols="2,1,1m,1m,5",options="header"] -|======================================================================= -| Name | Group | Default | Java Type | Description -| resolvePropertyPlaceholders | common | true | boolean | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. -|======================================================================= -{% endraw %} +The XMPP component has no options. // component options: END http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/platforms/spring-boot/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java index 71f9f86..1faa558 100644 --- a/platforms/spring-boot/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java @@ -16,11 +16,8 @@ */ package org.apache.camel.component.asterisk.springboot; -import java.util.HashMap; -import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.component.asterisk.AsteriskComponent; -import org.apache.camel.util.IntrospectionSupport; import org.springframework.boot.autoconfigure.AutoConfigureAfter; import org.springframework.boot.autoconfigure.condition.ConditionMessage; import org.springframework.boot.autoconfigure.condition.ConditionOutcome; @@ -29,7 +26,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.SpringBootCondition; import org.springframework.boot.bind.RelaxedPropertyResolver; -import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ConditionContext; import org.springframework.context.annotation.Conditional; @@ -44,7 +40,6 @@ import org.springframework.core.type.AnnotatedTypeMetadata; @ConditionalOnBean(type = "org.apache.camel.spring.boot.CamelAutoConfiguration") @Conditional(AsteriskComponentAutoConfiguration.Condition.class) @AutoConfigureAfter(name = "org.apache.camel.spring.boot.CamelAutoConfiguration") -@EnableConfigurationProperties(AsteriskComponentConfiguration.class) public class AsteriskComponentAutoConfiguration { @Lazy @@ -52,35 +47,9 @@ public class AsteriskComponentAutoConfiguration { @ConditionalOnClass(CamelContext.class) @ConditionalOnMissingBean(AsteriskComponent.class) public AsteriskComponent configureAsteriskComponent( - CamelContext camelContext, - AsteriskComponentConfiguration configuration) throws Exception { + CamelContext camelContext) throws Exception { AsteriskComponent component = new AsteriskComponent(); component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - for (Map.Entry<String, Object> entry : parameters.entrySet()) { - Object value = entry.getValue(); - Class<?> paramClass = value.getClass(); - if (paramClass.getName().endsWith("NestedConfiguration")) { - Class nestedClass = null; - try { - nestedClass = (Class) paramClass.getDeclaredField( - "CAMEL_NESTED_CLASS").get(null); - HashMap<String, Object> nestedParameters = new HashMap<>(); - IntrospectionSupport.getProperties(value, nestedParameters, - null, false); - Object nestedProperty = nestedClass.newInstance(); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), nestedProperty, - nestedParameters); - entry.setValue(nestedProperty); - } catch (NoSuchFieldException e) { - } - } - } - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); return component; } http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/platforms/spring-boot/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java index 4dd873c..c1d7b1f 100644 --- a/platforms/spring-boot/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java @@ -16,11 +16,8 @@ */ package org.apache.camel.component.atmos.springboot; -import java.util.HashMap; -import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.component.atmos.AtmosComponent; -import org.apache.camel.util.IntrospectionSupport; import org.springframework.boot.autoconfigure.AutoConfigureAfter; import org.springframework.boot.autoconfigure.condition.ConditionMessage; import org.springframework.boot.autoconfigure.condition.ConditionOutcome; @@ -29,7 +26,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.SpringBootCondition; import org.springframework.boot.bind.RelaxedPropertyResolver; -import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ConditionContext; import org.springframework.context.annotation.Conditional; @@ -44,42 +40,16 @@ import org.springframework.core.type.AnnotatedTypeMetadata; @ConditionalOnBean(type = "org.apache.camel.spring.boot.CamelAutoConfiguration") @Conditional(AtmosComponentAutoConfiguration.Condition.class) @AutoConfigureAfter(name = "org.apache.camel.spring.boot.CamelAutoConfiguration") -@EnableConfigurationProperties(AtmosComponentConfiguration.class) public class AtmosComponentAutoConfiguration { @Lazy @Bean(name = "atmos-component") @ConditionalOnClass(CamelContext.class) @ConditionalOnMissingBean(AtmosComponent.class) - public AtmosComponent configureAtmosComponent(CamelContext camelContext, - AtmosComponentConfiguration configuration) throws Exception { + public AtmosComponent configureAtmosComponent(CamelContext camelContext) + throws Exception { AtmosComponent component = new AtmosComponent(); component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - for (Map.Entry<String, Object> entry : parameters.entrySet()) { - Object value = entry.getValue(); - Class<?> paramClass = value.getClass(); - if (paramClass.getName().endsWith("NestedConfiguration")) { - Class nestedClass = null; - try { - nestedClass = (Class) paramClass.getDeclaredField( - "CAMEL_NESTED_CLASS").get(null); - HashMap<String, Object> nestedParameters = new HashMap<>(); - IntrospectionSupport.getProperties(value, nestedParameters, - null, false); - Object nestedProperty = nestedClass.newInstance(); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), nestedProperty, - nestedParameters); - entry.setValue(nestedProperty); - } catch (NoSuchFieldException e) { - } - } - } - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); return component; } http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/platforms/spring-boot/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java index efc08c5..c39a6c4 100644 --- a/platforms/spring-boot/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java @@ -16,11 +16,8 @@ */ package org.apache.camel.component.atom.springboot; -import java.util.HashMap; -import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.component.atom.AtomComponent; -import org.apache.camel.util.IntrospectionSupport; import org.springframework.boot.autoconfigure.AutoConfigureAfter; import org.springframework.boot.autoconfigure.condition.ConditionMessage; import org.springframework.boot.autoconfigure.condition.ConditionOutcome; @@ -29,7 +26,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.SpringBootCondition; import org.springframework.boot.bind.RelaxedPropertyResolver; -import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ConditionContext; import org.springframework.context.annotation.Conditional; @@ -44,42 +40,16 @@ import org.springframework.core.type.AnnotatedTypeMetadata; @ConditionalOnBean(type = "org.apache.camel.spring.boot.CamelAutoConfiguration") @Conditional(AtomComponentAutoConfiguration.Condition.class) @AutoConfigureAfter(name = "org.apache.camel.spring.boot.CamelAutoConfiguration") -@EnableConfigurationProperties(AtomComponentConfiguration.class) public class AtomComponentAutoConfiguration { @Lazy @Bean(name = "atom-component") @ConditionalOnClass(CamelContext.class) @ConditionalOnMissingBean(AtomComponent.class) - public AtomComponent configureAtomComponent(CamelContext camelContext, - AtomComponentConfiguration configuration) throws Exception { + public AtomComponent configureAtomComponent(CamelContext camelContext) + throws Exception { AtomComponent component = new AtomComponent(); component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - for (Map.Entry<String, Object> entry : parameters.entrySet()) { - Object value = entry.getValue(); - Class<?> paramClass = value.getClass(); - if (paramClass.getName().endsWith("NestedConfiguration")) { - Class nestedClass = null; - try { - nestedClass = (Class) paramClass.getDeclaredField( - "CAMEL_NESTED_CLASS").get(null); - HashMap<String, Object> nestedParameters = new HashMap<>(); - IntrospectionSupport.getProperties(value, nestedParameters, - null, false); - Object nestedProperty = nestedClass.newInstance(); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), nestedProperty, - nestedParameters); - entry.setValue(nestedProperty); - } catch (NoSuchFieldException e) { - } - } - } - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); return component; } http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java index 990f1f3..6a1bc5d 100644 --- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java @@ -16,11 +16,8 @@ */ package org.apache.camel.component.aws.cw.springboot; -import java.util.HashMap; -import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.component.aws.cw.CwComponent; -import org.apache.camel.util.IntrospectionSupport; import org.springframework.boot.autoconfigure.AutoConfigureAfter; import org.springframework.boot.autoconfigure.condition.ConditionMessage; import org.springframework.boot.autoconfigure.condition.ConditionOutcome; @@ -29,7 +26,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.SpringBootCondition; import org.springframework.boot.bind.RelaxedPropertyResolver; -import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ConditionContext; import org.springframework.context.annotation.Conditional; @@ -44,42 +40,16 @@ import org.springframework.core.type.AnnotatedTypeMetadata; @ConditionalOnBean(type = "org.apache.camel.spring.boot.CamelAutoConfiguration") @Conditional(CwComponentAutoConfiguration.Condition.class) @AutoConfigureAfter(name = "org.apache.camel.spring.boot.CamelAutoConfiguration") -@EnableConfigurationProperties(CwComponentConfiguration.class) public class CwComponentAutoConfiguration { @Lazy @Bean(name = "aws-cw-component") @ConditionalOnClass(CamelContext.class) @ConditionalOnMissingBean(CwComponent.class) - public CwComponent configureCwComponent(CamelContext camelContext, - CwComponentConfiguration configuration) throws Exception { + public CwComponent configureCwComponent(CamelContext camelContext) + throws Exception { CwComponent component = new CwComponent(); component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - for (Map.Entry<String, Object> entry : parameters.entrySet()) { - Object value = entry.getValue(); - Class<?> paramClass = value.getClass(); - if (paramClass.getName().endsWith("NestedConfiguration")) { - Class nestedClass = null; - try { - nestedClass = (Class) paramClass.getDeclaredField( - "CAMEL_NESTED_CLASS").get(null); - HashMap<String, Object> nestedParameters = new HashMap<>(); - IntrospectionSupport.getProperties(value, nestedParameters, - null, false); - Object nestedProperty = nestedClass.newInstance(); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), nestedProperty, - nestedParameters); - entry.setValue(nestedProperty); - } catch (NoSuchFieldException e) { - } - } - } - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); return component; } http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java index ad623c4..4782566 100644 --- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java @@ -16,11 +16,8 @@ */ package org.apache.camel.component.aws.ddb.springboot; -import java.util.HashMap; -import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.component.aws.ddb.DdbComponent; -import org.apache.camel.util.IntrospectionSupport; import org.springframework.boot.autoconfigure.AutoConfigureAfter; import org.springframework.boot.autoconfigure.condition.ConditionMessage; import org.springframework.boot.autoconfigure.condition.ConditionOutcome; @@ -29,7 +26,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.SpringBootCondition; import org.springframework.boot.bind.RelaxedPropertyResolver; -import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ConditionContext; import org.springframework.context.annotation.Conditional; @@ -44,42 +40,16 @@ import org.springframework.core.type.AnnotatedTypeMetadata; @ConditionalOnBean(type = "org.apache.camel.spring.boot.CamelAutoConfiguration") @Conditional(DdbComponentAutoConfiguration.Condition.class) @AutoConfigureAfter(name = "org.apache.camel.spring.boot.CamelAutoConfiguration") -@EnableConfigurationProperties(DdbComponentConfiguration.class) public class DdbComponentAutoConfiguration { @Lazy @Bean(name = "aws-ddb-component") @ConditionalOnClass(CamelContext.class) @ConditionalOnMissingBean(DdbComponent.class) - public DdbComponent configureDdbComponent(CamelContext camelContext, - DdbComponentConfiguration configuration) throws Exception { + public DdbComponent configureDdbComponent(CamelContext camelContext) + throws Exception { DdbComponent component = new DdbComponent(); component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - for (Map.Entry<String, Object> entry : parameters.entrySet()) { - Object value = entry.getValue(); - Class<?> paramClass = value.getClass(); - if (paramClass.getName().endsWith("NestedConfiguration")) { - Class nestedClass = null; - try { - nestedClass = (Class) paramClass.getDeclaredField( - "CAMEL_NESTED_CLASS").get(null); - HashMap<String, Object> nestedParameters = new HashMap<>(); - IntrospectionSupport.getProperties(value, nestedParameters, - null, false); - Object nestedProperty = nestedClass.newInstance(); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), nestedProperty, - nestedParameters); - entry.setValue(nestedProperty); - } catch (NoSuchFieldException e) { - } - } - } - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); return component; } http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java index 01b8b82..51d8ef5 100644 --- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java @@ -16,11 +16,8 @@ */ package org.apache.camel.component.aws.ddbstream.springboot; -import java.util.HashMap; -import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.component.aws.ddbstream.DdbStreamComponent; -import org.apache.camel.util.IntrospectionSupport; import org.springframework.boot.autoconfigure.AutoConfigureAfter; import org.springframework.boot.autoconfigure.condition.ConditionMessage; import org.springframework.boot.autoconfigure.condition.ConditionOutcome; @@ -29,7 +26,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.SpringBootCondition; import org.springframework.boot.bind.RelaxedPropertyResolver; -import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ConditionContext; import org.springframework.context.annotation.Conditional; @@ -44,7 +40,6 @@ import org.springframework.core.type.AnnotatedTypeMetadata; @ConditionalOnBean(type = "org.apache.camel.spring.boot.CamelAutoConfiguration") @Conditional(DdbStreamComponentAutoConfiguration.Condition.class) @AutoConfigureAfter(name = "org.apache.camel.spring.boot.CamelAutoConfiguration") -@EnableConfigurationProperties(DdbStreamComponentConfiguration.class) public class DdbStreamComponentAutoConfiguration { @Lazy @@ -52,35 +47,9 @@ public class DdbStreamComponentAutoConfiguration { @ConditionalOnClass(CamelContext.class) @ConditionalOnMissingBean(DdbStreamComponent.class) public DdbStreamComponent configureDdbStreamComponent( - CamelContext camelContext, - DdbStreamComponentConfiguration configuration) throws Exception { + CamelContext camelContext) throws Exception { DdbStreamComponent component = new DdbStreamComponent(); component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - for (Map.Entry<String, Object> entry : parameters.entrySet()) { - Object value = entry.getValue(); - Class<?> paramClass = value.getClass(); - if (paramClass.getName().endsWith("NestedConfiguration")) { - Class nestedClass = null; - try { - nestedClass = (Class) paramClass.getDeclaredField( - "CAMEL_NESTED_CLASS").get(null); - HashMap<String, Object> nestedParameters = new HashMap<>(); - IntrospectionSupport.getProperties(value, nestedParameters, - null, false); - Object nestedProperty = nestedClass.newInstance(); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), nestedProperty, - nestedParameters); - entry.setValue(nestedProperty); - } catch (NoSuchFieldException e) { - } - } - } - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); return component; } http://git-wip-us.apache.org/repos/asf/camel/blob/bf1b57ca/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java index 40b70e4..5ec7a17 100644 --- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java @@ -16,11 +16,8 @@ */ package org.apache.camel.component.aws.ec2.springboot; -import java.util.HashMap; -import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.component.aws.ec2.EC2Component; -import org.apache.camel.util.IntrospectionSupport; import org.springframework.boot.autoconfigure.AutoConfigureAfter; import org.springframework.boot.autoconfigure.condition.ConditionMessage; import org.springframework.boot.autoconfigure.condition.ConditionOutcome; @@ -29,7 +26,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.SpringBootCondition; import org.springframework.boot.bind.RelaxedPropertyResolver; -import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ConditionContext; import org.springframework.context.annotation.Conditional; @@ -44,42 +40,16 @@ import org.springframework.core.type.AnnotatedTypeMetadata; @ConditionalOnBean(type = "org.apache.camel.spring.boot.CamelAutoConfiguration") @Conditional(EC2ComponentAutoConfiguration.Condition.class) @AutoConfigureAfter(name = "org.apache.camel.spring.boot.CamelAutoConfiguration") -@EnableConfigurationProperties(EC2ComponentConfiguration.class) public class EC2ComponentAutoConfiguration { @Lazy @Bean(name = "aws-ec2-component") @ConditionalOnClass(CamelContext.class) @ConditionalOnMissingBean(EC2Component.class) - public EC2Component configureEC2Component(CamelContext camelContext, - EC2ComponentConfiguration configuration) throws Exception { + public EC2Component configureEC2Component(CamelContext camelContext) + throws Exception { EC2Component component = new EC2Component(); component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - for (Map.Entry<String, Object> entry : parameters.entrySet()) { - Object value = entry.getValue(); - Class<?> paramClass = value.getClass(); - if (paramClass.getName().endsWith("NestedConfiguration")) { - Class nestedClass = null; - try { - nestedClass = (Class) paramClass.getDeclaredField( - "CAMEL_NESTED_CLASS").get(null); - HashMap<String, Object> nestedParameters = new HashMap<>(); - IntrospectionSupport.getProperties(value, nestedParameters, - null, false); - Object nestedProperty = nestedClass.newInstance(); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), nestedProperty, - nestedParameters); - entry.setValue(nestedProperty); - } catch (NoSuchFieldException e) { - } - } - } - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); return component; }
