In this code snippet, we assume we want to publish an event containing the definition of a bond, say, with a name of "bond1":
Note that in this example code, we also create a new Universal Messaging Event object (
nConsumeEvent, see
Events) to make use of our Event Dictionary (
nEventProperties).