Package org.apache.servicemix.drools

Examples of org.apache.servicemix.drools.DroolsComponent


    protected void tearDown() throws Exception {
        jbi.shutDown();
    }
   
    public void testCreditHistory() throws Exception {
        drools = new DroolsComponent();
        DroolsEndpoint endpoint = new DroolsEndpoint(drools.getServiceUnit(),
                                                     new QName("drools"), "endpoint");
        endpoint.setRuleBaseResource(new ClassPathResource("credit-agency.drl"));
        drools.setEndpoints(new DroolsEndpoint[] {endpoint });
        jbi.activateComponent(drools, "servicemix-drools");
View Full Code Here

TOP

Related Classes of org.apache.servicemix.drools.DroolsComponent

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.