I`m trying to make a simple example using camel jpa component.
This code:
from("jpa://org.camel.MyEntity?consumer.namedQuery=myQuery")
  .process(new Processor() {
    @Override
    public void process(Exchange exchange) throws Exception {
      System.out.println(exchange.getIn().getBody());
    }
  }
);
Don`t send message to process method, it always goes to: begin -> commit of
class DefaultPollingConsumerPollStrategy, in infinite loop.

I`m using Apache Camel 2.7.1 on macos

What`s i doing wrong?

Thanks in advance.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Jpa-component-problem-tp4337021p4337021.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to