Class MessagingCounter
java.lang.Object
io.helidon.microprofile.messaging.metrics.MessagingCounter
- All Implemented Interfaces:
MessagingChannelProcessor
@ApplicationScoped
public class MessagingCounter
extends Object
implements MessagingChannelProcessor
Messaging counter for reactive messaging channels.
-
Field Summary
Fields inherited from interface io.helidon.microprofile.messaging.MessagingChannelProcessor
DEFAULT_PRIORITY -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.microprofile.messaging.MessagingChannelProcessor
channelName, onCancel, onComplete, onError, onInit, onRequest, onSubscribe
-
Method Details
-
map
Description copied from interface:MessagingChannelProcessorMap messages going through the onNext signal in the messaging channel.- Specified by:
mapin interfaceMessagingChannelProcessor- Parameters:
channelName- name of the messaging channelmessage- message coming from the upstream- Returns:
- mapped message to be delivered to the downstream
-