Interface JmsKeyFormatStrategy

  • All Known Implementing Classes:
    DefaultJmsKeyFormatStrategy

    public interface JmsKeyFormatStrategy
    Strategy for applying encoding and decoding of JMS headers so they apply to the JMS spec.
    • Method Detail

      • encodeKey

        String encodeKey​(String key)
        Encodes the key before its sent as a Message message.
        Parameters:
        key - the original key
        Returns:
        the encoded key
      • decodeKey

        String decodeKey​(String key)
        Decodes the key after its received from a Message message.
        Parameters:
        key - the encoded key
        Returns:
        the decoded key as the original key