CAMEL-1652: Fixed problem with consuming to much memory for BatchConsumer. Thanks to Christian Schneider for the patch.