Class MetricDecorator
- java.lang.Object
-
- io.smallrye.reactive.messaging.providers.metrics.MetricDecorator
-
- All Implemented Interfaces:
PublisherDecorator
@ApplicationScoped public class MetricDecorator extends Object implements PublisherDecorator
-
-
Constructor Summary
Constructors Constructor Description MetricDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.smallrye.mutiny.Multi<? extends Message<?>>
decorate(io.smallrye.mutiny.Multi<? extends Message<?>> publisher, String channelName)
Decorate a Multi
-
-
-
Method Detail
-
decorate
public io.smallrye.mutiny.Multi<? extends Message<?>> decorate(io.smallrye.mutiny.Multi<? extends Message<?>> publisher, String channelName)
Description copied from interface:PublisherDecorator
Decorate a Multi- Specified by:
decorate
in interfacePublisherDecorator
- Parameters:
publisher
- the multi to decoratechannelName
- the name of the channel to which this publisher publishes- Returns:
- the extended multi
-
-