Show Table of Contents
5.2. Characteristics of Filesystem Gateway Listeners
A filesystem gateway listener can be called when a file is modified to process the changes universally. It creates notifications of any edits that are made.
The AbstractFileGateway class is the base for these gateways. It works with the AbstractScheduledManagedLifecycle class to derive information from events. It uses a single thread to perform file operations and send ESB messages to the bus.
Inserting the max-millis-for-response property results in the ESB messages being sent synchronously. If there is an exception, the gateway will move the file to an error directory. (For asynchronous processing, withdraw this property. There will be no notifications if an exception is encountered- instead, it will be processed in a different thread.)

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.