Interface MessageDelivery

    • Method Detail

      • initialize

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

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