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

org.enodeframework.queue.SendReplyService.kt Maven / Gradle / Ivy

package org.enodeframework.queue

import org.enodeframework.commanding.CommandResult
import org.enodeframework.queue.domainevent.DomainEventHandledMessage
import java.util.concurrent.CompletableFuture

interface SendReplyService {
    /**
     * Send command handle result
     */
    fun sendCommandReply(commandResult: CommandResult, address: String): CompletableFuture

    /**
     * Send event handle result
     */
    fun sendEventReply(eventHandledMessage: DomainEventHandledMessage, address: String): CompletableFuture
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy