@ApplicationScoped public class MetricDecorator extends Object implements PublisherDecorator
Constructor and Description |
---|
MetricDecorator() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> |
decorate(org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> publisher,
String channelName)
Decorate a publisher
|
public org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> decorate(org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> publisher, String channelName)
PublisherDecorator
decorate
in interface PublisherDecorator
publisher
- the publisher to decoratechannelName
- the name of the channel to which this publisher publishesCopyright © 2018–2021 SmallRye. All rights reserved.