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.

Attribute

Description

Name*

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

Enabled

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.

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

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.
Serialize

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