This document describes how to use a Groovy scripting component to pause a Mule flow for a period of time by calling the sleep method. The example flow picks up a file from an inbound location, passes it through a Groovy script that sleeps for 3 seconds, and then places the file in an outbound location. The Groovy component allows pausing the flow programmatically without using additional middleware.