camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Ponte <rpo...@gmail.com>
Subject Jpa Component: Difference between MaximumResults and MaxMessagesPerPoll parameters
Date Sat, 21 Feb 2015 02:03:39 GMT
Hi Guys,

I'm using JPA Component and I'm not understanding the difference between
these two parameters: maximumResults and maxMessagesPerPoll.

If I set maximumResults=100 and maxMessagesPerPoll=20 it seems like
on every polling my query retrieves 100 entities from database but only 20
of them are processed by jpa-consumer. The next poll retrieves again more
100 entities instead of using the entities loaded previously.

So what's the meaning of using those two parameters together?

-- 
Rafael Ponte
TriadWorks | Formação Java
http://cursos.triadworks.com.br


-- 
Rafael Ponte
TriadWorks | Formação Java
http://cursos.triadworks.com.br

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message