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

com.jn.agileway.dmmq.core.Producer Maven / Gradle / Ivy

package com.jn.agileway.dmmq.core;

import com.jn.langx.annotation.NonNull;
import com.jn.langx.annotation.Nullable;

public interface Producer extends TopicAllocatorAware, MessageTopicDispatcherAware {
    void publish(@NonNull M message);

    void publish(@Nullable String topicName, @NonNull M message);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy