Copies the specified archived event from the application's archive store to the application's event store and changes the event status to READY_FOR_POLL.
Syntax
public abstract int resubmitArchivedEvents(String eventID);
Parameters
Return values
An integer that indicates the number of events archived. If nothing is resubmitted, return a zero (0 ).
Exceptions
Notes
The resubmitArchivedEvents() method resubmits unprocessed events in the archive store to the event store, where they can be processed. An event is moved to the archive store when it has no subscriptions or after it has been processed. Archiving processed or unsubscribed events ensures that events are not lost. Setting the event status to READY_FOR_POLL ensures that the events will be picked up on subsequent polls of the event store.