Package org.apache.camel.component.jms
Class PassThroughJmsKeyFormatStrategy
java.lang.Object
org.apache.camel.component.jms.PassThroughJmsKeyFormatStrategy
- All Implemented Interfaces:
JmsKeyFormatStrategy
A strategy that does not do any encoding or decoding, eg. the keys is passed through as is.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PassThroughJmsKeyFormatStrategy
public PassThroughJmsKeyFormatStrategy()
-
-
Method Details
-
encodeKey
Description copied from interface:JmsKeyFormatStrategy
Encodes the key before its sent as aMessage
message.- Specified by:
encodeKey
in interfaceJmsKeyFormatStrategy
- Parameters:
key
- the original key- Returns:
- the encoded key
-
decodeKey
Description copied from interface:JmsKeyFormatStrategy
Decodes the key after its received from aMessage
message.- Specified by:
decodeKey
in interfaceJmsKeyFormatStrategy
- Parameters:
key
- the encoded key- Returns:
- the decoded key as the original key
-