-
Notifications
You must be signed in to change notification settings - Fork 1
RequestReply
busterwood edited this page Jan 3, 2018
·
2 revisions
Create a RequestReply class to send a message and wait for a reply using a Postman to ensure correct error handling.
Methods:
-
SendRequest()to send a request and wait for a reply -
SendRequestAsync()to send a request and asynchronously wait for a reply
Properties:
-
TimeToBeReceivedis the maximum time allowed for the message to be read from the destination queue before aAcknowledgmentExceptionis raised withMessageClass.ReceiveTimeout.
This class ensure that the message is delivered to the destination queue and read by the target application within a reasonable time.