You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/03/12 07:52:45 UTC

[camel] branch master updated: (feat) CAMEL-13307: Camel Registry allow to store multiple beans with same id but different type.

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new ed1e6b4  (feat) CAMEL-13307: Camel Registry allow to store multiple beans with same id but different type.
ed1e6b4 is described below

commit ed1e6b411f3668204a851476cfde58c66feb48b0
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Mar 12 08:52:16 2019 +0100

    (feat) CAMEL-13307: Camel Registry allow to store multiple beans with same id but different type.
---
 MIGRATION.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MIGRATION.md b/MIGRATION.md
index 88adf73..8925bec 100644
--- a/MIGRATION.md
+++ b/MIGRATION.md
@@ -143,7 +143,7 @@ TODO: Add the other moved classes/packages etc
 
 #### Generic Information
 
-The class `SimpleRegistry` is moved from `org.apache.camel.impl` to `org.apache.camel.support`. Also you should favour using the `org.apache.camel.support.DefaultRegistry` instead.
+The class `SimpleRegistry` is moved from `org.apache.camel.impl` to `org.apache.camel.support`. Also you should favour using the `org.apache.camel.support.DefaultRegistry` instead. Also you should use the `bind` operation instead of `put` to add entries to the `SimpleRegistry` or `DefaultRegistry`.
 
 The class `CompositeRegistry` and `PropertyPlaceholderDelegateRegistry` has been deleted. Instead use `DefaultRegistry`.