public class DefaultJmsKeyFormatStrategy extends Object implements JmsKeyFormatStrategy
Constructor and Description |
---|
DefaultJmsKeyFormatStrategy() |
Modifier and Type | Method and Description |
---|---|
String |
decodeKey(String key)
Decodes the key after its received from a
Message message. |
String |
encodeKey(String key)
Encodes the key before its sent as a
Message message. |
public String encodeKey(String key)
JmsKeyFormatStrategy
Message
message.encodeKey
in interface JmsKeyFormatStrategy
key
- the original keypublic String decodeKey(String key)
JmsKeyFormatStrategy
Message
message.decodeKey
in interface JmsKeyFormatStrategy
key
- the encoded keyApache Camel