This still isn't working. It is as though it isn't recognizing my registry
during runtime.

In my unit test I've overrided createRegistry() because I'm not using spring
as your example solution does.

    @Override
    protected JndiRegistry createRegistry() throws Exception {
        JndiRegistry jndi = super.createRegistry();
        log.info("createRegistry()");

        *jndi.bind("allHostname", new
org.apache.http.conn.ssl.AllowAllHostnameVerifier());*
        return jndi;
    }

Then it doesn't appear that the allHostname object is available during the
test in http4://.....

Do you have any ideas why my object isn't available during runtime?

My jndi.properties file looks like this:
java.naming.factory.initial =
org.apache.camel.util.jndi.CamelInitialContextFactory




--
View this message in context: 
http://camel.465427.n5.nabble.com/https4-2-15-2-not-recognizing-my-httpClientConfigurer-endpoint-option-tp5767922p5767991.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to