Before you start:
To complete this task, you must
have completed the following tasks:
To add a message to your message definition file:
- Switch to the Broker Application Development
perspective.
- Ensure that the Outline view is visible in the Broker Application Development
perspective of
the workbench. If the Outline view is not
visible, from the workbench menu, click Window
> Show View > Outline.
- In the Outline view, right-click Messages then
click Add Message on the pop-up menu. A
simple message is immediately added to your message model and is assigned
a default name.
- Either type a new name for the message or press Enter to accept
the default.
Tip: When you add a message to your message
model, an associated complex type and global element with the same name as
the message are also created. The global element and the message
cannot have different names and changing the name of one changes the names
of both. The complex type can be renamed.
You can now configure the properties of the message to your exact
requirements. For further information on configuring message model objects
see Configuring message model objects.