Unregistering events is possible by simply calling the stop() method on the SessionEventConsumer object. A program can then redefine the event registration for this object via the setEventRegistration(), and then call the restart() method of the SessionEventConsumer object to restart the event subscription with the new event registrations in effect.