This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch CAMEL-13947 in repository https://gitbox.apache.org/repos/asf/camel.git
commit 15753c7a938bf209fd52eeda6a66f35de5ee0c54 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Sep 26 11:17:18 2019 +0200 CAMEL-13947: PropertiesComponent should be a static service and resolved like other similar features. --- docs/user-manual/modules/ROOT/pages/camel-3-migration-guide.adoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/user-manual/modules/ROOT/pages/camel-3-migration-guide.adoc b/docs/user-manual/modules/ROOT/pages/camel-3-migration-guide.adoc index e4e29ca..9365d5f 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-3-migration-guide.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-3-migration-guide.adoc @@ -43,7 +43,6 @@ We have also modularized many of the core components and moved them out of `came - camel-language - camel-log - camel-mock -- camel-properties - camel-ref - camel-rest - camel-saga @@ -93,6 +92,11 @@ The `properties` component has some advanced options removed: `propertyPrefix`, The properties component will now use OS environment variables as preferred value. This means you can set an OS environment variable which will override any property values that has been set in property files, JVM system properties etc. You can configure this with the `environmentVariableMode` option on the properties component. +The `properties` component no longer support using endpoints, such as `properties:myKey`. The properties component is now only a property placeholder service. +You can therefore no longer lookup the properties component via `camelContext.getComponent("properties")`. +Instead you can use `camelContext.getPropertiesComponent()`. + + === Removed components We have removed all deprecated components from Camel 2.x, including the old `camel-http`, `camel-hdfs`, `camel-mina`, `camel-mongodb`, `camel-netty`, `camel-netty-http`, `camel-quartz` and `camel-rxjava` components.