Package org.apache.camel.impl

Examples of org.apache.camel.impl.PropertyPlaceholderDelegateRegistry


    }

    public void testInjectedStrategy() throws Exception {
        CamelContext context = createCamelContext();

        PropertyPlaceholderDelegateRegistry delegate = (PropertyPlaceholderDelegateRegistry) context.getRegistry();
        assertTrue(delegate.getRegistry() instanceof JndiRegistry);
    }
View Full Code Here


    public void testRef() throws Exception {
        MockEndpoint mock = getMockEndpoint("mock:result");
        mock.expectedBodiesReceived("Hello World");

        PropertyPlaceholderDelegateRegistry delegate = (PropertyPlaceholderDelegateRegistry) context.getRegistry();
        JndiRegistry jndi = (JndiRegistry) delegate.getRegistry();
        bindToRegistry(jndi);

        template.sendBody("ref:foo", "Hello World");

        assertMockEndpointsSatisfied();
View Full Code Here

    }

    public void testInjectedStrategy() throws Exception {
        CamelContext context = createCamelContext();

        PropertyPlaceholderDelegateRegistry delegate = (PropertyPlaceholderDelegateRegistry) context.getRegistry();
        assertTrue(delegate.getRegistry() instanceof JndiRegistry);
    }
View Full Code Here

TOP

Related Classes of org.apache.camel.impl.PropertyPlaceholderDelegateRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.