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();