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.
  • Method Details

    • map

      public Message<?> map(String channelName, Message<?> message)
      Description copied from interface: MessagingChannelProcessor
      Map messages going through the onNext signal in the messaging channel.
      Specified by:
      map in interface MessagingChannelProcessor
      Parameters:
      channelName - name of the messaging channel
      message - message coming from the upstream
      Returns:
      mapped message to be delivered to the downstream