MULE-6766: foreach not accepting property placeholder for batchSize
(cherry-picked from 8674b64)