Interface MessageExtractor
-
- All Known Implementing Classes:
InstrumentedMessageExtractor
,MessageExtractor.Noop
public interface MessageExtractor
A message extractor for ask-pattern to provide better granularity for some metrics with message-type dimension. Can extract a domain specific message from an envelope.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MessageExtractor.Noop
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
extract(java.lang.Object msg)
static MessageExtractor
messageExtractor(com.typesafe.config.Config config, java.lang.ClassLoader classLoader, Logger log)
-
-
-
Method Detail
-
extract
java.lang.Object extract(java.lang.Object msg)
-
messageExtractor
static MessageExtractor messageExtractor(com.typesafe.config.Config config, java.lang.ClassLoader classLoader, Logger log)
-
-