Examples of CamelJpaBindingModel


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