Interface MessageBuilder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An abstraction for message construction. This interface can be used to
customize message creation in different ways, such as implementing
decorators that add headers or manipulate the message payload.
-
Method Summary
Modifier and TypeMethodDescriptionbuild(Map<String, HeaderValue> headers, byte[] payload) static MessageBuilder
-
Method Details
-
build
-
defaultBuilder
-