com.waveset.adapter.jms
Interface JmsMessageMapper
- All Known Implementing Classes:
- PasswordSyncMessageMapper
- public interface JmsMessageMapper
This interface should be implemented by any class which is specified as a custom
Message mapper of the JMS Adapter.
Method Summary |
java.util.Map |
map(java.util.Map ctx,
javax.jms.Message message)
Returned a map of values found in a JMS message |
map
public java.util.Map map(java.util.Map ctx,
javax.jms.Message message)
throws java.lang.Exception
- Returned a map of values found in a JMS message
- Parameters:
ctx
- a Map of objects helpful in building the resulting output Map.
The map entries include:
Key | Value |
"adapter" | The instance of com.waveset.adapter.ResourceAdapterBase corresponding to the adapter class |
message
- the incoming JMS Message
- Returns:
- the map of values gleaned from the message
- Throws:
java.lang.Exception