Interface IPublicationCommand

All Known Subinterfaces:
ISyncAsyncPublicationCommand
All Known Implementing Classes:
SyncAsyncPostCommand, SyncMessageBus.SyncPostCommand

public interface IPublicationCommand
A publication command is used as an intermediate object created by a call to the message bus' post method. It encapsulates the message publication flavors provided by the message bus implementation that created the command. Subclasses may extend this interface and add functionality, e.g. different dispatch schemes.
  • Method Summary

    Modifier and Type
    Method
    Description
    now()
    Execute the message publication immediately.
  • Method Details

    • now

      Execute the message publication immediately. This call blocks until every matching message handler has been invoked.