org.mule.keygenerator
Class SHA256MuleEventKeyGenerator
java.lang.Object
org.mule.keygenerator.SHA256MuleEventKeyGenerator
- All Implemented Interfaces:
- MuleEventKeyGenerator
public class SHA256MuleEventKeyGenerator
- extends Object
- implements MuleEventKeyGenerator
Implements MuleEventKeyGenerator
applying SHA-256 digest to the event's
message payload.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHA256MuleEventKeyGenerator
public SHA256MuleEventKeyGenerator()
generateKey
public Serializable generateKey(MuleEvent event)
throws NotSerializableException
- Description copied from interface:
MuleEventKeyGenerator
- Generates a key for an event.
The generation algorithm should return the same key value for all the
events that are considered equals.
- Specified by:
generateKey
in interface MuleEventKeyGenerator
- Parameters:
event
- the event to generate the key for
- Returns:
- the generated key
- Throws:
NotSerializableException
- if the generated key is not Serializable
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.