Publishing a New Event on a Queue
Use the following procedure to create a new event and publish it on a queue in the Enterprise Manager.
To publish a new event on a queue in the Enterprise Manager
1. In the namespace tree of a realm, select the queue on which you want to publish an event and right-click it.
2. From the drop-down menu, select Publish.
3. In the Event Data field of the Publish event to Queue dialog box, specify the content of the event in one of the following ways:
Type a string.
Click
File to add an XML file or any other binary file as event content.
When you add an XML file, the contents of the file are displayed in the Event Data field and are non-editable. When you add a non-XML fille, the contents of the file are not displayed in the Event Data field, but the file is read in binary format.
4. (Optional) Specify any of the following event details:
Field | Description |
Event Tag | The tag of the event. |
Event TTL | The time-to-live (TTL) of the event in milliseconds. Defines how long the event remains available on the queue. The default is 0, which means the event remains on the queue indefinitely. |
Num Of Publishes | The number of times to publish the event. The default is 1. |
Is Persistent | Whether the event is persistent. |
5. (Optional) Under Property Input, add any event properties:
a. Specify the event key and value.
b. Select the event type.
c. Click Add.
The property is added to the property display table. To edit an entry in the table, double-click it, make your changes, and then press Enter. To remove a property, select the property, right-click it, and then select Remove Property.
6. Click OK.
When you start snooping on events on the queue, the Enterprise Manager displays the event in the snooped events table.