public class SHA256MuleEventKeyGenerator extends Object implements MuleEventKeyGenerator, MuleContextAware
MuleEventKeyGenerator applying SHA-256 digest to the event's message payload.| Constructor and Description |
|---|
SHA256MuleEventKeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
generateKey(Event event)
Generates a key for an event.
|
void |
setMuleContext(MuleContext context) |
public Serializable generateKey(Event event) throws NotSerializableException
MuleEventKeyGeneratorgenerateKey in interface MuleEventKeyGeneratorevent - the event to generate the key forNotSerializableException - if the generated key is not Serializablepublic void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarecontext - the Mule node.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.