This document shows how to use a Groovy scripting component to hold a Mule flow for a period of time before processing the payload. The Groovy component uses the sleep method to pause the flow for 3000 milliseconds. This holds the file payload before writing it to the outbound location. The example flow uses a file inbound endpoint to pick up a file, passes it to the Groovy component which sleeps for 3 seconds, and then writes the file to the outbound location. This allows dynamically pausing a flow to hold the payload for a specified interval of time.