All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.enodeframework.eventing.IEventCommittingService Maven / Gradle / Ivy

There is a newer version: 1.1.10
Show newest version
package org.enodeframework.eventing;

import org.enodeframework.commanding.ProcessingCommand;

public interface IEventCommittingService {
    /**
     * Commit the given aggregate's domain events to the eventstore async and publish the domain events.
     */
    void commitDomainEventAsync(EventCommittingContext eventCommittingContext);

    /**
     * Publish the given domain event stream async.
     */
    void publishDomainEventAsync(ProcessingCommand processingCommand, DomainEventStream eventStream);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy