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

Reply via email to