Package org.apache.servicemix.drools.model

Examples of org.apache.servicemix.drools.model.JbiHelper.route()


    protected void postProcess(MessageExchange exchange, WorkingMemory memory) throws Exception {
        if (exchange.getStatus() == ExchangeStatus.ACTIVE) {
            String uri = getDefaultRouteURI();
            if (uri != null) {
                JbiHelper helper = (JbiHelper) memory.getGlobal("jbi");
                helper.route(uri);
            }
        }
        if (exchange.getStatus() == ExchangeStatus.ACTIVE) {
            fail(exchange, new Exception("No rules have handled the exchange. Check your rule base."));
        }
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.