Package io.atleon.rabbitmq
Interface RabbitMQMessageCreator<T>
-
- Type Parameters:
T- The type of message bodies
- All Superinterfaces:
Function<T,RabbitMQMessage<T>>
- All Known Implementing Classes:
AbstractRabbitMQMessageCreator,DefaultRabbitMQMessageCreator
- 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 RabbitMQMessageCreator<T> extends Function<T,RabbitMQMessage<T>>
Interface for creatingRabbitMQMessages from message bodies.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RabbitMQMessage<T>apply(T body)
-
-
-
Method Detail
-
apply
RabbitMQMessage<T> apply(T body)
- Specified by:
applyin interfaceFunction<T,RabbitMQMessage<T>>
-
-