Interface GenericMessagePublicationSupport<T,​P extends IPublicationCommand>

    • Method Detail

      • post

        P post​(T message)
        Publish a message to the bus using on of its supported message publication mechanisms. The supported mechanisms depend on the available implementation and are exposed as subclasses of IPublicationCommand. The standard mechanism is the synchronous dispatch which will publish the message in the current thread and returns after every matching handler has been invoked.
        Parameters:
        message - - Any subtype of T welcome
        Returns:
        An object that provides access to the available publication methods supported by the message bus.