Split Adapter Map Files

It can be advantageous to put part of your input or output adapter map file in a separate file.

For example, you might want to keep a subscription configuration in a map file, but break out the list of RICs you want the adapter to subscribe to.

The sample files in $ESP_RMDSOMM_HOME/examples demonstrate how this facilitates reuse. The pubexample.omm.map.xml map file references three “map fragment” files: mbo.s.mf.xml, mbp.s.mf.xml, and mp.s.mf.xml file. The mbo.s.mf.xml is also referenced by three other map files.

Map file fragments are reusable blocks of XML for constructing adapter map files, using the XML entity mechanism. File names are of the form description.parent_element.mf.xml. Some current descriptions are:

And current parent_elements are:

Therefore, it is evident that the mbo.sm.mf.xml file is a subscriber map fragment containing streamMap elements for a MARKET_BY_ORDER message.