Performs the initiation role of a message exchange (i.e sender of the first message; analogous to the client in a client-server interaction), according to HL7's original mode processing rules.
The sendAndReceive(...)
method blocks until either a response is received with the matching message ID, or until a timeout period has passed. The timeout defaults to 10000 ms (10 sec) but can be configured by setting the system property "ca.uhn.hl7v2.app.initiator.timeout" to an integer value representing the number of ms after which to time out.
At the time of writing, enhanced mode, two-phase reply, continuation messages, and batch processing are unsupported.
@author Bryan Tripp