org.apache.camel.component.jms
Interface JmsKeyFormatStrategy

All Known Implementing Classes:
DefaultJmsKeyFormatStrategy, PassThroughJmsKeyFormatStrategy

public interface JmsKeyFormatStrategy

Strategy for applying encoding and decoding of JMS headers so they apply to the JMS spec.

Version:

Method Summary
 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.
 

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


Apache Camel