Processing-Seize-Pattern - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Syntax
processing-rename-pattern pattern
Parameters
pattern
Guidelines
The processing-rename-pattern command specifies the PCRE to rename a file that
is being processed. This functionality allows multiple pollers to poll the same
directory with the same match pattern. There is no lack of atomicity if the rename
operation on the server is atomic. The poller that succeeds in renaming the input
file will proceed to process the file. Any other poller that tries to rename the file at
the same time will fail to rename the file and will proceed to try the next file that
matches the specified match pattern.
To ensure uniqueness, the resulting file name will be in the following format:
filename
serial
domain The domain of the polling object.
poller
timestamp
Note: File renaming cannot be used with an FTP server that supports only 8.3 file
For example, if the input files are NNNNNN.input and you want to rename them to
NNNNNN.processing, the match-pattern would be ([0-9] {6{})\.input$ and the
rename pattern would be $1.processing. The resultant file name on the server
would be:
NNNNNN.processing.serial.domain .poller.timestamp
Note: If no processing rename pattern is configured, the file will still be renamed.
The only difference is that the filename portion of the resulting file is the name of
the original input file, not the renamed input file.
PCRE documentation is available at the following web site:
Related Commands
match-pattern

processing-seize-pattern

Specifies the rename pattern to search for files that are being processed.
Defines a PCRE that defines the rename pattern.
filename.serial.domain.poller.timestamp
The file name for the renamed input file.
The serial number of the configured DataPower appliance.
The name of the polling object.
The timestamp.
names.
http://www.pcre.org
Chapter 53. NFS Poller Front Side Handler configuration mode
505

Advertisement

Table of Contents
loading

Table of Contents