File
File : FileChannel
A File Integration Channel.
Properties
category : stringThe category of the channel.
combineResolution algorithm for multiple bound services processing the same message. (Default none - meaning multiple services with the same message is not supported)
Valid values based on“string”. none Multiple services declaring the same message in their associated Interface Request messages are not supported. (Default)
first Only the first one among the bound services with a matching message in their Interface Request messages is invoked.
all All the services with a matching message in their Interface Request messages are invoked.
When multiple services are bound to a channel and a message is forwarded to more than one of those services, the initial "this" variable in those services refers to the same object. This should be taken into account if the original message object can be updated in any of the services – you might want to modify a copy of the message instead.defaultUser : stringUser account for processing the file messages.
description : stringChannel description.
encoding : stringThe Java charset to use for encoding/decoding character data from the file. Leave unspecified for binary mode.
These are the charsets available on every implementation of the Java platform:
US-ASCII: Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set ISO-8859-1: ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1 UTF-8: Eight-bit UCS Transformation Format UTF-16BE: Sixteen-bit UCS Transformation Format, big-endian byte order (when decoding, ignore BOM; when encoding, do not write BOM) UTF-16LE: Sixteen-bit UCS Transformation Format, little-endian byte order (when decoding, ignore BOM; when encoding, do not write BOM) UTF-16: Sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark. (when decoding, interpret BOM, defaulting to big-ending if no BOM; when encoding, use big-endian and write big-endian BOM)
Charset names are not case-sensitive.
UTF-8 files may begin with a BOM (byte-order mark). When the channel is configured to use UTF-8 encoding, it will automatically ignore a leading BOM for input. On UTF-8 output, the channel will never generate such a BOM.idle : booleanTrue to disable the channel if it is not used by an enabled channel.
maxReceivers : nonNegativeIntMaximum file receiver threads per server.
Valid values based on“int”. 0 (minInclusive) maxSenders : nonNegativeIntMaximum file sender connections per server.
Valid values based on“int”. 0 (minInclusive) 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} - GUIDprocessedName : 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 namereceive : booleanTrue if the channel can receive messages.
send : booleanTrue if the channel can send messages.
stealth : booleanTrue to supress the debug logging, unless nexj.system.core.meta.integration.Channel.<name> category dump logging is enabled.
transactionTimeout : nonNegativeIntThe timeout (in seconds) for transactions started on the J2EE component. Applies only to incoming transactional channels.
Set to 0 to use server default transaction timeout.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)
Content
Sequence of:
t_Channel_SenderProperties [0..1]
t_Channel_ReceiverProperties [0..1]
t_Channel_ServiceBindings [0..1] - Services bound to the incomming traffic on the channel.
t_Channel_ServiceBindings
Services bound to the incomming traffic on the channel.
Parent topic: references