t_ChannelConnections_FileConnection
FileConnection
A File based environment specific connection.
Properties
age : nonNegativeLongThe minimum age (in ms) of an incoming message file for it to be detected by the channel.
Valid values based on“long”. 0 (minInclusive) channel : stringConnection channel.
condition : stringThe property to which the directive is applied.
The property specified here is typically set in the .environment file. It must be prefixed with "-Dnexj" if specified on the JVM command line.- Example
condition="reporting.enabled" ... reporting.enabled="true" or "-Dnexj.reporting.enabled=true"
description : stringChannel connection description.
directive : directiveA conditional directive determining the operation to apply to the property specified in "condition".
If the operation is set to "if" or "ifnot", the property can be null. "ifdef" means "if defined". "ifndef" means "if not defined". If the operation is set to either, the property must not be null.- Example
"if", "ifnot", "ifdef", "ifndef"
Valid values based on“string”. if ifnot ifdef ifndef enabled : booleanThe default state of enablement. (default="true")
incomingDirectory : stringThe full path to the directory to scan for incoming message files.
When clustered, should be a shared directory.interval : nonNegativeLongThe input scanning interval (in ms) between successive scans of the incoming directory.
Valid values based on“long”. 0 (minInclusive) journalDirectory : stringThe full path to the directory for the transactional journals for this channel.
levels : nonNegativeIntThe number of subdirectory levels to which the incoming directory should be scanned. Zero to scan only the incoming directory.
Valid values based on“int”. 0 (minInclusive) maxReceivers : nonNegativeIntMaximum file receiver threads per server. Overrides the channel setting.
Valid values based on“int”. 0 (minInclusive) maxSenders : nonNegativeIntMaximum file sender connections per server. Overrides the channel setting.
Valid values based on“int”. 0 (minInclusive) merged : booleanoutgoingDirectory : stringThe full path to the directory in which to place outgoing message files.
When clustered, should be a shared directory.outgoingName : stringThe template to use for automatically generating outgoing message file names. (Timestamp: ${ts}, Sequence number: ${seq}, GUID: ${guid})
${ts} - Timestamp in milliseconds ${seq} - Sequence number ${guid} - GUIDpattern : stringThe like-pattern used to select incoming message files for processing.
- Example
*.zip
processedDirectory : stringThe full path to the directory for processed incoming messages.
Blank to delete message when processed. When clustered, should be a shared directory.processedName : stringThe template to use for generating a new name for incoming files after they have been processed. (Timestamp: ${ts}, Sequence number: ${seq}, Original path: ${orig}, GUID: ${guid})
${ts} - Timestamp in milliseconds ${seq} - Sequence number ${guid} - GUID ${orig} - The original file path, relative to the incoming directory ${origName} - The original file nametemporaryDirectory : stringThe full path to the temporary directory used for preparing outgoing messages.
For best reliability and efficiency, should be on the same filesystem as "outgoingDirectory". Defaults to a directory called "tmp" inside "outgoing". When clustered, should be a shared directory.transactionTimeout : nonNegativeIntThe timeout (in seconds) for transactions started on the component.
Applies only to incoming transactional channels. Set to 0 to use server default transaction timeout. Overrides the timeout setting on the Channel.Valid values based on“int”. 0 (minInclusive) warningTimeout : nonNegativeLongTimeout in milliseconds before a warning is generated, 0 for infinite timeout.
Valid values based on“long”. 0 (minInclusive)
Parents
Parent topic: t_Connections_ChannelConnections
Parent topic: t_Environment_ChannelConnections