Examples of RegexProcessorConfigurator


Examples of org.apache.synapse.xml.RegexProcessorConfigurator

        assertEquals("regex", env.lookupProcessor("regex").getName());

    }

    public void testRegexProcessorConfigurator() throws Exception {
        RegexProcessorConfigurator conf = new RegexProcessorConfigurator();
        Processor pro = conf.createProcessor(env,config.getFirstElement().getFirstElement());
        assertTrue(pro instanceof RegexProcessor);
        assertEquals("to",((RegexProcessor)pro).getHeaderType());

    }
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.