Sun Microsystems Sun Adapter IP HL 7 User Manual
Page 150
Continued
journalHL7
Message()
archiveError
Message()
Handle max Nak
sent Condition/Take
recourse action
Exit
Recourse action
if failed to journal
HL7
Message passed
Validation?
Journal HL7
Message?
SendHL7NAK()
Sends HL7 NAK
SendHL7ACK()
Sends HL7 ACK
StoreHL7ACK()
Stores HL7 ACK in the
persistence database
JournalMessage().
Sends HL7 and ACK messsages
to JMS Journal Destination
processAckNakSequenceNumbering()
Calculates the next sequence number and
stores the number in the sequence number file
StoreHL7NAK()
Stores HL7 NAK in
Persistence Database
Calls other helper methods
to makeNAK and send it
This is to store the HL7 ACK in the
persistence database agains the
received HL7 message. This will
be stored only for MLLPV2
Only if sequence number is enabled,
Calls updateSequenceNumberFile
to persist the next sequence number
NO
NO
YES
YES
JMS Message
consumed
and committed
FIGURE 26
HL7 V2 Standard Inbound Message Mode Data Flow over MLLPV2 — Part 3
MLLP V2 and the Sample Projects
Sun Adapter for TCP/IP HL7 User's Guide • October 2009
150