LLPRequestResponse

Use the LLPRequestResponse activity to send a request and receive a synchronous response. The request and response can be in the form of an HL7 string or XML data.

Synchronous response means that the response is sent on the same TCP connection. If a connection is closed, and a response is sent on a different TCP connection, then it is called an asynchronous response.

Note: This activity sends its request to the LLP Receiver activity, which passes the request to the LLP Response activity. If the Is One Way checkbox is not checked, the LLP Request Response activity may get an empty string if the LLP Receiver activity is suspended before the LLP Response activity returns the response to the LLP Receiver.

Examples

Refer to the associated examples:

General

The General tab contains the following fields.

Field Literal Value/Module Property/Process Property? Description
Name No The name to be displayed as the label for the activity in the process.
Host Yes The machine name or IP of the server machine.
Port Yes The port through which your client connects to a server system. Only one port can be given.
Separator Yes List of allowed separators:

Minimal LLP - Default

Linefeed Linefeed-linefeed

Carriage return-linefeed

Empty line using linefeed

Empty line using Carriage return-linefeed

No separator

Note: The separator only separates messages. It does not separate a message into lines.
Encoding Yes The encoding used to convert between binary and text formats.
Request Timeout (msec) Yes Number of milliseconds to wait before the request or read times out. Default is 0.
Connection Retries Yes Number of retries if connection fails. Default is 1.
Retry wait (sec) Yes Number of seconds to wait before next retry, if any. Default is 5.
Is One Way Yes If checked, after sending a request, a response is not expected.

If unchecked, after sending a request, a response is expected.

Description

The Description tab is used to provide a short description for the activity.

Input

The Input tab contains the following fields.

Input Item Datatype Description
data string The request HL7 message string to be sent out.
encoding string Optional. Encoding information about the message to be sent out.
separator string Optional. You can specify a special message separator here.

Output

The output for the activity can be the incoming HL7 message string.

Fault

The Fault tab lists exceptions that are thrown by this activity.

Error Schema Element Datatype Description
msg string Error message description.
msgCode string The error code. It represents TIBCO ActiveMatrix BusinessWorks™ Plug-in for HL7 with FHIR and TIBCO Foresight® Translator and TIBCO Foresight® Instream® errors.

See Error Codes for details.