You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/07/26 08:42:06 UTC

[camel] branch master updated: CAMEL-13739 - Camel-test createJndiContext warning

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

acosentino 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 dccefd9  CAMEL-13739 - Camel-test createJndiContext warning
dccefd9 is described below

commit dccefd90a8ec7749f31268d0424691506994a4ba
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 26 10:41:46 2019 +0200

    CAMEL-13739 - Camel-test createJndiContext warning
---
 .../src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java     | 1 -
 1 file changed, 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 06bbaac..964610f 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
@@ -882,7 +882,6 @@ public abstract class CamelTestSupport extends TestSupport {
      */
     @Deprecated
     protected Context createJndiContext() throws Exception {
-        LOG.warn("The method createJndiContext() in camel-test is deprecated. You can add beans directly to the registry with the bind method on org.apache.camel.spi.Registry");
         Properties properties = new Properties();
 
         // jndi.properties is optional