A shortcut factory method for creating a message with the given payload and {@code MessageHeaders}. <p><strong>Note:</strong> the given {@code MessageHeaders} instance is used directly in the new message, i.e. it is not copied. @param payload the payload to use (never {@code null}) @param messageHeaders the headers to use (never {@code null}) @return the created message @since 4.1
Create a builder for a new {@link Message} instance pre-populated with all of the headers copied from the provided message. The payload of the provided Message will also be used as the payload for the new message. @param message the Message from which the payload and all headers will be copied
Create a new builder for a message with the given payload. @param payload the payload