Skip to main content

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

Info

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

Message Configurations:

Field

Description

Default Value

Message Encoding

The encoding used in the input data.

Use System Default ISO-8859-1 on Linux/MacOS or Windows-1252 on Windows

LLP Prefix

Prefix to use in LLP data. Should be in the form of an escaped hex value.

\x0B

LLP Suffix

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.

65430

Enable Connection Timeout

Enable/disable timing out idle connections.

true

Timeout After

Length of time in minutes to close idle connections. (Only applicable if EnableConnectionTimeout = true)

30

SSL Certificate

Path to certificate file.

If certificate and key files are provided, SSL will be enabled.

SSL Key

Path to private key file.

If certificate and key files are provided, SSL will be enabled.

Verify Peer

Enable Verify Peerto verify the server sending you messages.

false

Certificate Authority File

Path to certificate authority file.

ACK Configurations:

Field

Description

Default Value

Ack Generation

Type of ACK generation to be used.

Options: Fast, Custom

Fast

Debug Configurations:

Field

Description

Default Value

Print Debug Logs

Enable/disable logging of additional debug information.

false

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: