RHEL 7, CIS 6.2.2
I’m trying to build in a “delay” for an interface to allow time for an outside MSSQL to be updated so I can query it for my translation.
I created a SQLite db and a table with 3 columns:
Next I created a thread with the database-outbound protocol and inserted the required data in the fields from the source system using an Xlate. This seems to work as expected.
In a separate process, I created a thread with the database-inbound protocol. My expectation is to query the database where processed = ‘N’ and pull the hl7Message column, which should be the entire HL7 message. I’ll then translate it, including the query to the outside MSSQL database, and send it to the downstream system. Then set the processed column to Y (or eventually delete the entire row, but that’s for later).
The connection will come up after the 30 second Scan Interval, but it just isn’t reading the database. I’ll attach screen shots of the protocol configuration.
I tried several different options with the configuration:
I am able to query the database outside of the engine.
Any suggestions are much appreciated.