Add the custom message to the DMS message registry (the <message-registry> section of the DMS configuration file). For both individual and global events, add the message to the dynamoMessagingSystem.xml file.

(Note: If the scenario event registry is enabled, as described in the previous section, you must add the message to both the event registry and the DMS message registry. If you add the message to the event registry only, the event appears in the ACC, but its properties do not appear in scenario condition elements.)

For example, the LinkMessage message would be configured as follows:

<message-registry>
  <message-family>
    <message-family-name>
      test
    </message-family-name>
    <message-type>
      <jms-type>
        test.scenario.Link
      </jms-type>
      <message-class>
        test.scenario.LinkMessage
      </message-class>
      <message-context>
        request
      </message-context>
      <display-name>
        Link clicked
      </display-name>
      <description>
        Message generated when user clicks a link
      </description>
    </message-type>
  </message-family>
</message-registry>

For more information, refer to DMS Configuration File Document Type Definition in the Platform Programming Guide.

Note that the steps described so far are not specific to the Scenario Manager. This procedure is the same for adding any message to DMS.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices