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/02/26 13:04:59 UTC

[camel] branch master updated: CAMEL-8293: camel-test should use Registry and let user bind beans more easily instead of having to use JndiRegistry.

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 3b7f25a  CAMEL-8293: camel-test should use Registry and let user bind beans more easily instead of having to use JndiRegistry.
3b7f25a is described below

commit 3b7f25a2eecff6ab23096137d83fc03313993f20
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Feb 26 14:02:08 2019 +0100

    CAMEL-8293: camel-test should use Registry and let user bind beans more easily instead of having to use JndiRegistry.
---
 .../src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/components/camel-test/src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java b/components/camel-test/src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java
index 1ebcf07..5cda645 100644
--- a/components/camel-test/src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java
+++ b/components/camel-test/src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java
@@ -819,7 +819,9 @@ public abstract class CamelTestSupport extends TestSupport {
     }
 
     /**
-     * @deprecated expected to be not in use by default soon.
+     * @deprecated use createCamelRegistry if you want to control which registry to use, however
+     * if you need to bind beans to the registry then this is possible already with the bind method on registry,
+     * and there is no need to use JndiRegistry and override this method.
      */
     @Deprecated
     protected Context createJndiContext() throws Exception {