Replacing RV inbox replies in Tibco BusinessWorks
Facts - Tibco
Monday, 09 February 2015 23:04

In Tibco Rendezvous (RV) one can initiate a request-reply sequence. If you don't specify the reply subject inside your request then Tibco will use a so called inbox subject to send the reply on. The disadvantage of such a subject is that nobody can receive messages on it except for the sender of the RV request. That is usually a problem when we try to monitor messages on the bus and especially when we are testing or trying to solve production problems.

Fortunately reply subjects can also explicitly be specified in the request. A good reply subject for this is a combination of the timestamp and a process id. In the Tibco Businessworks mapper one can specify this in XPath as follows:

  $_globalVariables/ns:GlobalVariables/Company, ".", 
  $_globalVariables/ns:GlobalVariables/Project, ".", 
  $_globalVariables/ns:GlobalVariables/Application, ".",
 tib:timestamp(), ".",