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

Datapower xml security gateway
Table of Contents

Advertisement

Parameters
pattern Specifies a PCRE that defines the rename pattern.
Guidelines
The processing-rename-pattern command specifies the PCRE to rename a file that
is being processed. This functionality allows multiple poller objects 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:
where:
filename
serial
domain
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:
Note: If no processing rename pattern is configured, the file will still be renamed.
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.
filename.serial.domain.poller.timestamp
Specifies the file name for the renamed input file.
Specifies the serial number of the DataPower appliance.
Specifies the domain of the polling object.
Specifies the name of the polling object.
Specifies the timestamp.
names.
NNNNNN.processing.serial.domain .poller.timestamp
The only difference is that the file name portion of the resulting file is the
name of the original input file, not the renamed input file.
http://www.pcre.org
Chapter 21. FTP Poller Front Side Handler configuration mode
289

Advertisement

Table of Contents
loading

Table of Contents