AbstractMessageProcessor abstract class implements boilerplate methods of the MessageProcessor interface such that the user of this interface does not have to bother.processor to the message processor registry.processors to the message processor registry.DefaultMessageProcessorRegistry class is the default implementation of the
MessageProcessorRegistry interface.MessageProcessor interface.processor.MessageProcessor for the type of the message.Message interface represents a message the system can process.MessageProcessor interface defines methods which allow its implementations to do the
actual work of processing a concrete type of Message implementation and produce a
response that is a concrete implementation of MessageResponse.MessageProcessorDiscoverer interface defines a method that discovers all message
processors within the system (however that's done), which implement MessageProcessor
interface.MessageProcessorRegistry interface defines methods for adding, removing, and retrieving
MessageProcessors based on the type of the Message.MessageProcessorValidator class is a helper class that makes sure that a
MessageProcessor is coded properly such that its string-based message type matches the
string-based type of the Java Message class that the processor is typed with.MessageResponse interface represents the response returned from processing a Message.MessageWithJustType class represents a message, which contains only the
type property, to be used to deserialize the message string coming as the payload of
the REST request.message, producing message response of class type which is embedded
in the type of message.messageType from the message
processor registry.RestProcessorDocumentation class represents REST JSON documentation for a MessageProcessor.RestProcessorDocumentationGenerator is a utility class that produces JSON-based
documentation for MessageProcessors.SpringMessageProcessorDiscoverer class is a Spring Framework implementation of the
MessageProcessorDiscoverer interface.SpringMessageProcessorRegistryFactory class creates a registry that contains
automatically discovered classes that implement MessageProcessor interface.SpringRestMessenger class is a REST controller which wires itself to listen on
'/process' URI, or a custom configured URI (through
'com.clearlydecoded.messenger.endpoint.uri' property) and invokes the
auto-discovered message processors which implement the MessageProcessor interface and are
injected into the Spring Context either manually or by using Spring annotations such as Service, Component, etc.Copyright © 2018. All rights reserved.