Open topic with navigation

# Request/Reply

Request/reply is an important communication pattern. Proper use of this pattern places requirements on the runtime environment.

- The replying process must be operational before the requesting process sends requests.
- The transports that carry the requests and replies must have already established operational communications before either process sends a request or a reply.
- The replying process must reply to each message as received directly from the requesting process, using the `SendReply` call.

Design programs to ensure robust behavior in situations where these requirements are not satisfied.

For example, a program that sends a request and then waits indefinitely for a reply is fragile. If the replying process is not available, or the transport’s communications are not operating, then the request message does not reach its intended recipient, and the requesting process does not receive any information about this failure.

A more robust program would repeat the request at intervals until it receives a reply, or until it exceeds some reasonable limit.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO FTL® - Enterprise Edition

Copyright © 2009-2024. Cloud Software Group, Inc. All Rights Reserved.