Interface PublisherDecorator

  • All Known Implementing Classes:
    MetricDecorator, MicrometerDecorator

    public interface PublisherDecorator
    SPI to allow extension of publishers (Multi) included in the final graph
    • Method Detail

      • decorate

        io.smallrye.mutiny.Multi<? extends Message<?>> decorate​(io.smallrye.mutiny.Multi<? extends Message<?>> publisher,
                                                                String channelName)
        Decorate a Multi
        Parameters:
        publisher - the multi to decorate
        channelName - the name of the channel to which this publisher publishes
        Returns:
        the extended multi