Interface MessageDelivery

    • Method Detail

      • initialize

        void initialize​(@Nonnull
                        SimpleMessageBus messageBus)
        Initializes this object.
        Parameters:
        messageBus - the message bus
      • deliverMessage

        <T> void deliverMessage​(@Nonnull
                                java.lang.Class<T> topic,
                                @Nonnull
                                T message)
        Delivers a message.
        Type Parameters:
        T - the static type of the topic
        Parameters:
        topic - the dynamic type of the topic
        message - the message