Limiting the number of messages while using get service in MQ Adapter

Is there any setting available to limit the number of messages using MQ Adapter get service. Suppose I have 20000 documents in the queue and I want to process only 1000 in each polling. The similar setting is available in JDBC adapter notification service.

Please let me know if something is available to achieve this or custom coding is the only option.

Thanks
Rasty