Inconsistent results with HL7 plugin when used in a multi-threaded environment.

Inconsistent results with HL7 plugin when used in a multi-threaded environment.

book

Article ID: KB0085102

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for HL7 -
Not Applicable -

Description

Description:
When using the HL7 plugin to generate a response, the response messages do not match up with the message that was originally received for processing.  In these cases, the response that is sent back appears to be generated from another received message.
Symptoms:
The response generated contains request data from another request.
Cause:
The BW plugin invokes the Translator programmatically. Too many translator requests can cause results to be mixed up by the BW process.

Issue/Introduction

Inconsistent results with HL7 plugin when used in a multi-threaded environment.

Resolution

Put the HL7 Translator task in a BW group with the group action set to "Critical Section". This will prevent multiple jobs from accessing the HL7 translator at the same time.