public interface IncomingMessageAnalyzer
This interface is an extension point to analyze an
IncomingMessageafter the message has been received but before it is pushed to the central backlog.
The result of an analysis contains several types of
The extension point is also able to cancel the message processing by throwing an exception.
- See Also:
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
analyzeIncomingMessage(IncomingMessageAnalyzerInput incomingMessageAnalyzerInput)The method is called after the message has been received but before it is pushed to the central backlog.
IncomingMessageAnalyzerResult analyzeIncomingMessage(IncomingMessageAnalyzerInput incomingMessageAnalyzerInput) throws PermanentMessagingException, TemporaryMessagingException
IncomingMessageAnalyzerInputthat provides the current state of analysis, the current
IncomingBindingsand information about the
IncomingMessageAnalyzerResultwhich contains the
AnalyzerDecisions for this analysis step, or
IncomingMessageAnalyzerResult.UNMODIFIEDif no decisions where made.
PermanentMessagingException- Throw a PermanentMessagingException to indicate a permanent error. The message will be removed from the incoming source without being processed. The message will be archived by the novomind iAGENT system.
TemporaryMessagingException- Throw a TemporaryMessagingException to indicate a temporary error. The message will stay on the incoming source and retrieved again after a short period of time.