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 Summary
-
Method Details
-
encodeKey
Encodes the key before its sent as aMessage
message.- Parameters:
key
- the original key- Returns:
- the encoded key
-
decodeKey
Decodes the key after its received from aMessage
message.- Parameters:
key
- the encoded key- Returns:
- the decoded key as the original key
-