Sun Microsystems TCP Computer Hardware User Manual


 
Standard Inbound Message Mode Data Flow and Architecture
The following steps describe the ow of data for an inbound Adapter:
1. The external system sends the HL7 message to the Adapter.
2. The Collaboration receives the HL7 message.
3. The Collaboration validates the message (if validate is enabled). If it fails, the Collaboration
takes the congured recourse action. If the recourse action is stripped and the maximum
number of retries has been exceeded, the message and error are written to the error queue.
4. The Collaboration writes the message to the data queue.
5. The Collaboration then creates the appropriate ACK and sends it to the RA.
6. The RA envelopes the ACK and sends it to the External System.
7. If journaling is enabled, the message and its ACK are written to the journal queue.
Inbound Receiver Message Mode
The Inbound Receiver Message mode is used when the Delayed ACK is congured to fulll the
role of the Receiver in the Delayed ACK scenario. It accepts the message and acknowledges the
External and then forwards the message to the component fullling the Forwarder role. It then
accepts the ACK from the Forwarder and passes it on to the External that sent the message.
The following steps describe the Inbound Forward Message Role:
1. The Sender External, sends an HL7 message to the Inbound Adapter, which is congured as
a Receiver (Sends App Acks is enabled).
2. The Inbound Adapter receives the HL7 message and returns the rst Acknowledgement to
the External with an MSA - 5, value “D” for Delayed Acknowledgement. The External
receives the ACK, validates the ACK (verifying that it is a Delayed ACK), and waits for
another ACK.
3. The Inbound Adapter creates a JMS message with the HL7 message as the payload, creates a
“reply to” destination, and forwards the HL7 message to the Outbound Forwarder (to a JMS
destination).
4. The Outbound Forwarder gets the HL7 message and forwards the message to the External
System.
5. The External System receives the HL7 message and returns the HL7 ACK message to the
Outbound Forwarder.
6. The Outbound Forwarder gets the HL7 ACK message and sends it to the Inbound Receiver
Adapter using the “reply to” destination.
7. The Receiver External reads the HL7 ACK message and forwards the second HL7 ACK
message with an MSA - 5, value “F”to the Sender External. The Sender External then takes
the appropriate action: for example, journaling the HL7 message and the HL7 ACK.
SunAdapterforTCP/IPHL7Overview
SunAdapterforTCP/IPHL7User's Guide 15