java.lang.Object
org.springframework.cloud.function.context.message.MessageUtils

public abstract class MessageUtils extends Object
Author:
Dave Syer, Oleg Zhurakousky
  • Field Details

    • MESSAGE_TYPE

      public static String MESSAGE_TYPE
      Value for 'message-type' typically use as header key.
    • TARGET_PROTOCOL

      public static String TARGET_PROTOCOL
      Value for 'target-protocol' typically use as header key.
    • SOURCE_TYPE

      public static String SOURCE_TYPE
      Value for 'target-protocol' typically use as header key.
  • Constructor Details

    • MessageUtils

      public MessageUtils()
  • Method Details

    • toCaseInsensitiveHeadersStructure

      public static MessageUtils.MessageStructureWithCaseInsensitiveHeaderKeys toCaseInsensitiveHeadersStructure(org.springframework.messaging.Message<?> message)
      Returns (payload, headers) structure identical to `message` while substituting headers with case insensitive map.