Package org.switchyard.component.camel.jpa.model

Examples of org.switchyard.component.camel.jpa.model.CamelJpaBindingModel


        super(camelBindingModel, camelContext, serviceName, domain);
    }

    @Override
    protected RouteDefinition createRouteDefinition() {
        CamelJpaBindingModel bindingModel = getBindingModel();
        EntityManagerFactory emf = EntityManagerFactoryLocator.locateEntityManagerFactory(bindingModel.getPersistenceUnit(), new HashMap<String,String>());
        if (emf != null) {
            getSwitchYardCamelContext().getWritebleRegistry().put(EntityManagerFactory.class.getName(), emf);
        }

        return super.createRouteDefinition();
View Full Code Here

TOP

Related Classes of org.switchyard.component.camel.jpa.model.CamelJpaBindingModel

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.