Interface JmsMessage.CustomMapper<PAYLOAD>
-
- Type Parameters:
PAYLOAD
- The payload.
- All Superinterfaces:
BiFunction<PAYLOAD,javax.jms.Session,javax.jms.Message>
- Enclosing interface:
- JmsMessage<PAYLOAD>
- 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 static interface JmsMessage.CustomMapper<PAYLOAD> extends BiFunction<PAYLOAD,javax.jms.Session,javax.jms.Message>
Mapper for creatingMessage
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default javax.jms.Message
apply(PAYLOAD p, javax.jms.Session session)
javax.jms.Message
applyThrows(PAYLOAD p, javax.jms.Session session)
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Method Detail
-
apply
default javax.jms.Message apply(PAYLOAD p, javax.jms.Session session)
- Specified by:
apply
in interfaceBiFunction<PAYLOAD,javax.jms.Session,javax.jms.Message>
-
applyThrows
javax.jms.Message applyThrows(PAYLOAD p, javax.jms.Session session) throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
-
-