having an exception as the condition to stop a loop seems like a dangerous practice to me. It's very prone to breaking up and possibly a performance issue given the long stacktraces that mule usually has