Database Reference
In-Depth Information
Setting the Composite Instance title using Mediator
Here again we can use Mediator properties to complete the task; see the previous screen-
shot. Feel free to select any meaningful fields from your message in the XPath function
call, as presented in the next code snippet (here, med: stands for Mediator's namespace).
Now we can assign the concatenated value to the mediator property. In the Oracle docu-
mentation, tracking.compositeInstanceTitle is mentioned, which is obvi-
ously invisible. In our example, we use testfwk.testRunName , which is pretty good
as well:
med:setCompositeInstanceTitle(concat($in.request/
mhs:MessageHeader/mhs:Sender/mhs:Instance,
'_', $in.request/mhs:MessageHeader/mhs:RequestId));
You can imagine that this is not the only way to set the Instance title.
Search WWH ::




Custom Search