HL7ConnectionValidator

From GreenVulcano Wiki
Jump to: navigation, search

Description

HL7 Forward plugin to validate remote HL7 servers connections prior to dequeue JMS messages.

VulCon / GV Console Configuration

The following table shows the HL7ConnectionValidator element's attributes:

Attribute Type Description
type fixed This attribute must assume the value validator.
class fixed This attribute must assume the value it.greenvulcano.gvesb.core.forward.preprocess.hl7.HL7ConnectionValidator.
name required Validator name.

Its subelements are:

  • Description
  • HL7Server
  • hl7-call-ref
  • DBSelect

HL7Server

Defines the parameters to contact a remote HL7 server.

The following table shows the HL7Server element's attributes:

Attribute Type Description
host required Host/IP of the server.
port required Port where the service is exposed.

hl7-call-ref

Defines a reference to a hl7-call VCL operation instance.

The following table shows the hl7-call-ref element's attributes:

Attribute Type Description
id-system required System providing the Call operation to call.
id-channel required System's channel.
operation required Channel's HL7 Call operation.

DBSelect

Select from a DB a list of HL7 server's host and port to check. The select statement MUST return (at least) two fields per record:

  • a string representing the server's hostname (or IP)
  • an integer (or a valid integer as string) representing the server's port.

WARN!!! the list is read only once, if the DB data changes must be reloaded the GVCore.xml file.

The following table shows the DBSelect element's attributes:

Attribute Type Description
jdbc-connection-name required DataSource JNDI name

Might contain the following sub-elements: