Optional
autoOptional
connectionHow long a connection attempt checked before ending the socket and attempting again. If this is set to zero, the client will stay connected. Min. is 0 (Stay Connected), and Max. is 60000 (60 seconds.) Use with caution.
Optional
encodingEncoding of the messages we expect from the HL7 message.
Optional
hostHost - You can do a FQDN or the IPv(4|6) address.
Optional
ipv4IPv4 - If this is set to true, only IPv4 address will be used and also validated upon installation from the hostname property.
Optional
ipv6IPv6 - If this is set to true, only IPv6 address will be used and also validated upon installation from the hostname property.
Optional
maxMax attempts to send the message before an error is thrown if we are in the process of re-attempting to connect to the server. Has to be greater than 1. You cannot exceed 50.
Optional
maxIf we are trying to establish an initial connection to the server, let's end it after this many attempts. The time between re-connecting is determined by connectionTimeout. You cannot exceed 50.
Optional
maxMax Connections this connection makes. Has to be greater than 1.
Optional
maxThe number of times a connection timeout occurs until it stops attempting and just stops.
The port we should connect to on the server.
Optional
retryMax delay, in milliseconds, for exponential-backoff when reconnecting
Optional
retryStep size, in milliseconds, for exponential-backoff when reconnecting
Optional
socketAdditional options when creating the TCP socket with net.connect().
Optional
tlsEnable TLS, or set TLS specific options like overriding the CA for self-signed certificates.
Optional
waitWait for ACK before sending a new message. If this is set to false, you can send as many messages as you want but since you are not expecting any ACK from a previous message sent before sending another one. This does not stop the "total acknowledgement" counter on the client object to stop increasing.
If set to false, you have to tell the system to start trying to connect by sending 'start' method.