You can just use regular JPA API and call it from a java bean, and have Camel call that bean.
On Mon, Nov 11, 2013 at 4:34 PM, scottdawson <sc.e.daw...@gmail.com> wrote: > I would like to use the Camel JPA component to perform single select > statements, in other words, I would like to use the component as a consumer > without the default polling behavior. I want to receive an invocation over > HTTP (via the Jetty component perhaps) which will cause one select statement > to be performed with the results going back to the HTTP consumer. > > I have not been able to figure out how to turn off the polling. I can cause > my select statement to happen but it happens continuously. Is there a way to > turn off polling or does this go against the grain of what the JPA component > is intended for? > > Thanks, > Scott Dawson > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-JPA-for-single-select-statements-tp5743045.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen