In the following excerpt from Annotation-driven Listener Endpoints section of Spring Framework documentation:

... you can invoke the processOrder method with a core poll size of three threads and a maximum pool size of ten threads.

poll size should be changed to pool size.