GenericMessage.this

A constructor with the {@link MessageHeaders} instance to use. <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 message payload (never {@code null}) @param headers message headers

  1. this(T payload)
  2. this(T payload, Map!(string, Object) headers)
  3. this(T payload, MessageHeaders headers)
    class GenericMessage(T)

Meta