mule foreach payload
===

Hi i want to iterate some Arraylist value, so in mule 3.3 having foreach for collction. i am using foreach to iterate the ArrayList. Iteration working fine, but after iteration i need the current payload, instated getting current payload , i am geeting previous payload like foreach arrylist.

        <flow name="">
        <component java="ArrayList"/>
        <foreach >
        <component java="getting arrayList value"/>
        </foreach>
        <logger DAVID#[payload]/>



Here i am geeting java="ArrayList" instead of  This payload "getting arrayList value"

plese help me to get current payload over foreach .

