File drop

File drop

This producer writes content from the input ConnectMessage to a file in the specified directory. The name is composed from the appropriate attributes. Existing files will be overwritten. The content is always written in the specified default platform encoding, which defaults to UTF-8.

 In the table below, you will find an explanation of these properties. All attributes with a ‘*’ are mandatory.




By default, we fill this in with the technical ‘tag’, followed by a serial number. Changing the name is optional.


Check this box if you want this producer to be enabled.

Output Directory*

Specify the directory to write the file to.

File Name Extension

Expand the file name with this extension. The default is no extension.

An example is for instance .txt to set all extentions of the files written to .txt. Do not make the mistake to add *.txt, this is not a valid extention. As a file will not be written as thisisafile*.txt

File Name Header

Use the content of this header attribute as the file name. The File Pickup and FTP Pickup will set the original filename in header attribute file_name. The default header attribute for file_name is the connectmessageID.

MessagePart Name

Name of the MessagePart in a ConnectMessage where the content of the file is being stored.


Description of the specific producer. This is for documentation purposes.

Advanced options

Attribute Description
File Name Generator Class Reference to a Java class implementing MyESBFileNameGenerator to generate the file name. The default value is DefaultMyESBFileNameGenerator which will generate a file name by combining file_name-from-header with file_name-extension.

The indicated message part will be serialized to disk if possible. Combination of messagepart=ALL and serialize=true will serialize ConnectMessage to disk.