procedure QueueMessage(Msg : IHL7ConnectMessage; Destination : IHL7ConnectInterface; OutParam : String; InParam : String);

Class IHL7ConnectKernel

given the primary key of a message, forward the message to the specified interface. This is different to SendMessage, which sends the message immediately but will fail if the interface is down. This enters the message in the queue for the interface and it will receive the message in due course

Note that you cannot use QueueMessage in an OnReceiveMessage event, as the message is not be stored at that point. You can use QueueMessage in the OnSendReply event, which is called immediately after an incoming message is stored (if it is to be stored)


© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: QueueMessage