You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
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
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. | Western (Windows-1252) for Windows
Western (ISO-8859-1) for Linux/Mac OS X.
|
LLPPrefix * | Prefix to use in LLP data. Should be in the form of an escaped hex value. | \x0B
|
LLPSuffix * | Suffix to use in LLP data. Should be in the form of an escaped hex value. | \x1C\x0D
|
Connection Configurations:
Field | Description | Default Value |
---|
Port * | The port number to listen for incoming connections. | |
ConnectionTimeout | Length of time in minutes to close idle connections. | 30 |
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 | Fast
|
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: