Integration Server 10.3 | Built-In Services Reference Guide | StartEvent Folder | Summary of Elements in this Folder | pub.event:deleteSubscriber
 
pub.event:deleteSubscriber
WmPublic. Removes an event handler from the subscription list for a specified event.
Important:
Deletions made using this service take effect immediately; however, they are not made permanent unless you persist them to disk with the pub.event:saveEventManagerSettings service. If you do not run pub.event:saveEventManagerSettings after deleting subscribers, your changes will be lost when the server is restarted.
Input Parameters
EventType
String Type of event from which the event handler is unsubscribing. Must be one of the following values:
Alarm Event
Audit Event
Exception Event
GD End Event
GD Start Event
JMS Delivery Failure Event
JMS Retrieval Failure Event
Port Status Event
Replication Event
Security Event
Session End Event
Session Expire Event
Session Start Event
Stat Event
Tx End Event
Tx Start Event
Tip:
To view the current list of event types, you can execute the pub.event:getEventTypes service.
gID
String ID of the subscriber that you want to delete. To get a list of subscriber IDs, execute the pub.event:getSubscribers service.
Output Parameters
Result
String Flag indicating whether the subscriber was successfully deleted. A value of:
*true indicates that the subscriber was deleted successfully.
*false indicates that the subscriber was not deleted (typically an invalid subscriber ID was provided in gID).
See Also
pub.event:addSubscriber
pub.event:modifySubscriber
pub.event:getSubscribers
pub.event:saveEventManagerSettings