Map Example
The following TIBCO Rendezvous map is provided.
- rvmsg.mms - This is a map source file
that contains the following six maps:
- request is a map that publishes a message on the rv.test.out subject with the request for a reply. It waits three seconds for the reply.
- requestreply is a map that listens on the rv.test.out subject. When it receives the message, it maps the reply subject name from the input data header field to the subject name in the output data header field and publishes the message on that subject.
- rvcmsg_in is a map that listens for certified messages on the rv.test.out subject. When it receives the message, it maps the data to out.txt. Because the receiver.ldg ledger file name is specified, the receiver acts as the persistent certified correspondent.
- rvcmsg_send is a map that publishes a certified message on the rv.test.out subject. The certified correspondents are sender and receiver. Because the ledgerout.ldg ledger file name is specified, sender acts as the persistent certified correspondent.
- rvmsg_in is a map that listens for messages on the rv.test.out subject. When it receives the message, it maps the data to out.txt. Because the receiver.ldg ledger file name is specified, the receiver acts as the persistent correspondent.
- rvmsg_send is a map that publishes a message on rv.test.out subject. The certified correspondents are sender and receiver. Because the ledgerout.ldg ledger file name is specified, sender acts as the persistent correspondent.