This example app will show the difference between Foreach and splitter in Mule version 3.x. Collection splitter splits the incoming…