Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter Name

Description

Required

Possible Values

Default Value

transport.vfs.
FileURI

The file URL from
where the input files
 should be fetched.

Yes

A valid file URL
of the form file://
file://<path>

 

transport.vfs.
ContentType

Content type of the files
transferred over the transport.

Yes

A valid content
type for the
files (eg: text/xml)

 

transport.vfs.
FileName
Pattern

If the VFS listener
should read only a
subset of all the files
available in the
specified file URI
location, this parameter
can be used to select
those files by name
using a regular
expression.

No

A regular
expression to
select files by
name
(eg:.*\.xml)

 

transport.
PollInterval

The polling interval in
milliseconds for the
transport receiver to
poll the file URI
location.

No

A positive integer

 

transport.vfs.
ActionAfter
Process

Action to perform
over the files after
processed by
the transport.

No

MOVE,
DELETE

DELETE

transport.vfs.
ActionAfter
Failure

Action to perform
over the files after
processed by
the transport.

No

MOVE,
DELETE

DELETE

transport.vfs.
MoveAfter
Process

The location to
move the files
after processing.

Required if
ActionAfterProcess
is MOVE

A valid file URI

 

transport.vfs.
MoveAfter
Failure

The location to
move the files
after a failure
occurs.

Required if
ActionAfterFailure
is MOVE

A valid file URI

 

transport.vfs.
ReplyFileURI

The location to
which reply files
should be written
by the transport.

No

A valid file URI

 

transport.vfs.
ReplyFile
Name

The name for reply files
written by the transport.

No

A valid file
name

response.xml

transport.vfs.
Move
Timestamp
Format

The pattern/format
of the  timestamps
added to file names
as prefixes when
moving files (See
the API documentation
of java.text.
SimpleDateFormat
for details).

No

A valid timestamp
pattern
(eg: yyyy-MM-
dd'T'HH:mm
:ss.SSSZ)

 

transport.vfs.
Streaming

If files should be transferred
in streaming mode or not.

No

true, false

false

transport.vfs.
Reconnect
Timeout

Reconnect timeout
value in seconds
to be used in
case of an error
when  transferring
files.

No

A positive
integer

30 sec

transport.vfs.
MaxRetry
Count

Maximum number of
retry attempts to
carry out  in case
of errors.

No

A positive
integer

3

transport.vfs.
Append

When writing the
response to a file,
if the response
should be appended
to the response file
this parameter
should be set to
true.

This should be
defined as a query
parameter in out/reply
file URI(ex: "vfs:file:
///home/user/test/out?
transport.vfs.Append=true"
or <parameter name="
transport.vfs.ReplyFileURI">
file:///home/user/test/out?
transport.vfs.Append=true
</parameter>).

By default the
response  file will
be completely
overwritten.

No

true, false

false

transport.vfs.
MoveAfter
FailedMove

New destination
to move the
failed file.

No

A valid file URI

 

transport.vfs.
Failed
Records
FileName

The file name to maintain
the list of failure files.

No

A valid file name

vfs-move-
failed-
records.
properties

transport.vfs.
Failed
Records
File
Destination

The destination of the
failed file.

No

A folder URI

repository
/conf/

transport.vfs.
Move
Failed
Record
Timestamp
Format

When adding record
to the failed file,
entries is logged
the as:
file_name
time_stamp.
This will configure
the time stamp
format.

No

A valid timestamp
pattern (eg: yyyy-
MM-dd'T'HH:mm:
ss.SSSZ)

dd-MM-
yyyy
HH:mm
:ss

transport.vfs.
Failed
Record
Next
Retry
Duration

The time in milli
second for the
move task to wait
until next retry.

No

A positive
integer

3000 milli
seconds

Please, refer Using the file system as transport medium (VFS) on how to use the VFS transport in real world applications.

Excerpt
hiddentrue

VFS Transport overview.