public class EventDataScheme extends Object implements IEventDataScheme
An Event Data Scheme which deserializes message payload into the Strings. No encoding is assumed. The receiver will need to handle parsing of the string data in appropriate encoding.
The resulting tuple would contain two items: the the message string, and a map of properties that include metadata, which can be used to determine who processes the message, and how it is processed.
For passing the raw bytes of a messsage to Bolts, refer to BinaryEventDataScheme.
| Constructor and Description |
|---|
EventDataScheme() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
deserialize(org.apache.qpid.amqp_1_0.client.Message message)
Deserialize an AMQP Message into a Tuple.
|
Fields |
getOutputFields()
Retrieve the Fields that are present on tuples created by this object.
|
public List<Object> deserialize(org.apache.qpid.amqp_1_0.client.Message message)
IEventDataSchemeDeserialize an AMQP Message into a Tuple.
deserialize in interface IEventDataSchememessage - The Message to Deserialize.for the list of fields the tuple will contain.public Fields getOutputFields()
IEventDataSchemeRetrieve the Fields that are present on tuples created by this object.
getOutputFields in interface IEventDataSchemeCopyright © 2022 The Apache Software Foundation. All Rights Reserved.