SimpleRegistry registry = new SimpleRegistry(); 
registry.put("datasource",myDataSourceObj);
CamelContext context = new DefaultCamelContext(registry); 
context.addRoutes(new myRouteBuilder()); 

from URI=
"uri="jpa://br.rafaeltuelho.model.Customer?consumer.namedQuery=Customer.findAll&consumer.delay=30000&consumeDelete=true"



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-JPA-Thread-Hung-tp5794001p5795200.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to