MaxMessages

PROPERTY - Read / Write

Parent Object - HL7FileAnalyzer


Name: MaxMessages

Data Type: Long

Description: Get / Set the maximum message load.

 

Further: You can set this property to a value > 0 and when AnalyzeHL7File is called it will STOP reading the file when it has discovered [MaxMessages] HL7 messages. Like all systems, this one is limited to available system memory. The file analysis is in fact building an internal link-list of HL7MsgFilePointer objects. While those objects have a very small memory signature, trying to analyze a single file with hundreds of thousands or millions (it happens!) of HL7 messages could be detrimental (as far as system memory usage is concerned). Also, this could be useful if you want to create 'Demo' versions of your own application which will have limited functionality.

 

See Also: NewFileAnalyzer