Package com.adaptris.interlok.types
Interface MessageWrapper<T>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MessageWrapper<T>
- Since:
- 3.9.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
wrap(InterlokMessage m)
Wrap the interlok message into something else.
-
-
-
Method Detail
-
wrap
T wrap(InterlokMessage m) throws java.lang.Exception
Wrap the interlok message into something else.- Parameters:
m
- the message- Returns:
- the wrapped instance.
- Throws:
java.lang.Exception
- on exception.
-
-