Examples of DefaultProducerTemplate


Examples of org.apache.camel.impl.DefaultProducerTemplate

        assertEquals("camel1", lookup.getCamelContext().getName());
    }

    @Test
    public void testHasTemplateCamel2() {
        DefaultProducerTemplate lookup = context1.getRegistry().lookupByNameAndType("template2", DefaultProducerTemplate.class);
        assertNotNull("Should lookup producer template", lookup);
        assertEquals("camel2", lookup.getCamelContext().getName());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.