Class InstrumentedMessageExtractor
- java.lang.Object
-
- com.lightbend.cinnamon.akka.pattern.InstrumentedMessageExtractor
-
- All Implemented Interfaces:
MessageExtractor
public class InstrumentedMessageExtractor extends java.lang.Object implements MessageExtractor
Instrumented message extractor.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.lightbend.cinnamon.akka.pattern.MessageExtractor
MessageExtractor.Noop
-
-
Constructor Summary
Constructors Constructor Description InstrumentedMessageExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
extract(java.lang.Object msg)
-
-
-
Method Detail
-
extract
public java.lang.Object extract(java.lang.Object msg)
- Specified by:
extract
in interfaceMessageExtractor
- Parameters:
msg
- - message possibly wrapped into the known envelope object- Returns:
- extracted message if msg is a known envelope or original msg otherwise.
-
-