One of the functions of the DMS configuration file is to name all of the message sources, sinks, and filters existing in the system. As described earlier, these elements are globally scoped Nucleus services that implement the appropriate interfaces. Each element should be declared with its Nucleus name. For example:

<?xml version="1.0" ?>

<dynamo-message-system>
  <patchbay>

    <message-source>
      <nucleus-name>
        /atg/dynamo/messaging/TestSource1
      </nucleus-name>
    </message-source>

    <message-sink>
      <nucleus-name>
        /atg/dynamo/messaging/TestSink1
      </nucleus-name>
    </message-sink>

    <message-filter>
      <nucleus-name>
        /atg/dynamo/messaging/TestFilter1
      </nucleus-name>
    </message-filter>

  </patchbay>
</dynamo-message-system>

(Note that the Nucleus names are examples only, and may not correspond to actual Nucleus components.)

Any number of sources, sinks, and filters can be specified, in any order. Also, as mentioned above, if there are multiple dynamoMessagingSystem.xml files spread across CONFIGPATH entries, the sources, sinks, and filters from all of those files will be registered.

 
loading table of contents...