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)
JmsKeyFormatStrategyMessage message.encodeKey in interface JmsKeyFormatStrategykey - the original keypublic String decodeKey(String key)
JmsKeyFormatStrategyMessage message.decodeKey in interface JmsKeyFormatStrategykey - the encoded keyApache Camel