Package org.milyn.smooks.camel.routing

Examples of org.milyn.smooks.camel.routing.BeanRouter


                final Bean beanConfig = new Bean(Coordinate.class, beanId, selector);
                beanConfig.bindTo("x", "coords/coord/@x").bindTo("y", "coords/coord/@y");
                smooksProcessor.addVisitor(beanConfig);

                // Smooks Camel BeanRouter programmatic configuration
                final BeanRouter camelBeanRouter = new BeanRouter(context);
                camelBeanRouter.setBeanId(beanId).setToEndpoint(toEndpoint)
                        .setCorrelationIdName(CORRELATION_ID).setCorrelationIdPattern("${PUUID.execContext}");
                smooksProcessor.addVisitor(camelBeanRouter, selector);

                from(fromEndpoint).process(smooksProcessor);
            }
View Full Code Here

TOP

Related Classes of org.milyn.smooks.camel.routing.BeanRouter

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.