Async File consumer service

Async file consumer service

Service to wait asynchronously for a file and read it into a ConnectMessagePart.

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 out with the technical ‘tag’, followed by a serial number. Changing the name is optional.

Enabled

Set this value to true, if you want this service to be enabled.

File Location*

Location of the local source file. It must be a URI format starting with 'file:' or 'classpath:'.

Examples:

For Windows

file://localhost/c$/WINDOWS/clock.avi
file:///c:/WINDOWS/clock.avi

For Linux:

file://localhost/etc/fstab
file:///etc/fstab

 

Return Type*

TEXT for String, XML for Document and BYTES for Bytes Message Part. The default is 'TEXT'.

MessagePart-Out

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

Delete After Reading

This will enable or disable deletion of the file after it has been read.

Timeout

 

Sets the timeout to wait for file to appear. Defaults to 10 seconds.

Description

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