From LLP
The From LLP component receives data on a port using the LLP protocol. This is an upstream component and pushes the received data downstream.
Running the Component
The below steps assume an the required network/firewall configurations have been made on the machine to allow incoming connections.
STEP 1: Import the From LLP component
Using +COMPONENT, import the From LLP component.
STEP 2: Set up the component configurations
Fields marked with an asterisk * are required.
Message Configurations:
Field | Description | Default Value |
---|---|---|
MessageEncoding * | The encoding used in the input data. If left blank, encoding will be updated to the default according to OS. See Supported File Encodings. |
|
LLPPrefix * | Prefix to use in LLP data. Should be in the form of an escaped hex value. |
|
LLPSuffix * | Suffix to use in LLP data. Should be in the form of an escaped hex value. |
|
Connection Configurations:
Field | Description | Default Value |
---|---|---|
Port * | The port number to listen for incoming connections. | |
EnableConnectionTimeout * | Enable/disable timing out idle connections |
|
ConnectionTimeout | Length of time in minutes to close idle connections. (Only applicable if EnableConnectionTimeout = true) |
|
SslCertificate | Path to certificate file. If certificate and key files are provided, SSL will be enabled. | |
SslKey | Path to key file. If certificate and key files are provided, SSL will be enabled. |
ACK Configurations:
Field | Description | Default Value |
---|---|---|
AckGeneration * | Type of ACK generation to be used. Options: Fast, Custom |
|
Debug Configurations:
Field | Description | Default Value |
---|---|---|
UseDebugLogs * | Enable/disable logging of additional debug information. |
|
STEP 3: Start the component and verify data is being received and ACKs are being sent
Start the component.
Send data to the port specified by the component. Verify that the data is being received correctly, and an ACK response is being sent to the client.
Adapting the Component
There are a few ways you can adapt and expand this component for more complex workflows:
Custom ACK generation
By default, the From LLP component uses fast ACK generation which creates a default ACK message based on data within the incoming HL7 message.
To implement custom ACK messages, modify the ACKcustomAck
function with your logic to generate the desired ACK response: