public interface FeedMessageProcessor
Modifier and Type | Method and Description |
---|---|
String |
getProcessorId()
Returns the processor identifier
|
void |
processMessage(UnmarshalledMessage message,
byte[] body,
RoutingKeyInfo routingKeyInfo,
MessageTimestamp timestamp)
Processes the provided message.
|
void |
setNextMessageProcessor(FeedMessageProcessor nextMessageProcessor)
Sets the next message processor that should be invoked after the message processing is finished
|
String getProcessorId()
void processMessage(UnmarshalledMessage message, byte[] body, RoutingKeyInfo routingKeyInfo, MessageTimestamp timestamp)
setNextMessageProcessor(FeedMessageProcessor)
, the instance should forward the
message to the defined next message processor after the processing is completedmessage
- - the message that should be processedbody
- - the raw body of the received messageroutingKeyInfo
- - a RoutingKeyInfo
instance describing the message routing keytimestamp
- - all message timestampsvoid setNextMessageProcessor(FeedMessageProcessor nextMessageProcessor)
nextMessageProcessor
- - the FeedMessageProcessor
implementation that should be
invoked after the message process is finishedCopyright © 2016–2025. All rights reserved.