Mats3 API
which adds interception capabilities - all operations for
initiation and stage processing can be intercepted.See: Description
Interface | Description |
---|---|
CommonCompletedContext |
Common part of the interface of
MatsInitiateInterceptor.InitiateCompletedContext and MatsStageInterceptor.StageCompletedContext . |
CommonCompletedContext.MatsMeasurement | |
CommonCompletedContext.MatsTimingMeasurement | |
CommonInterceptOutgoingMessagesContext |
Common elements of intercepting messages for both Initiate and Stage.
|
MatsInitiateInterceptor |
Implement this interface to intercept Initiations, then register with
MatsInterceptable.addInitiationInterceptor(MatsInitiateInterceptor) . |
MatsInitiateInterceptor.InitiateCompletedContext | |
MatsInitiateInterceptor.InitiateInterceptContext | |
MatsInitiateInterceptor.InitiateInterceptOutgoingMessagesContext | |
MatsInitiateInterceptor.InitiateInterceptUserLambdaContext | |
MatsInitiateInterceptor.InitiateStartedContext | |
MatsInitiateInterceptor.MatsInitiateInterceptOutgoingMessages |
While still within the initiation context, this interception enables modifying outgoing messages from the user
lambda, setting trace properties, adding "sideloads", deleting a message, or initiating additional messages.
|
MatsInitiateInterceptor.MatsInitiateInterceptUserLambda |
Enables the intercepting of the invocation of the user lambda in an Initiation, with ability to wrap the
MatsInitiator.MatsInitiate (and thus modify any request, send or publishes) - or even take over the entire initiation. |
MatsInterceptable |
Specifies methods that an interceptable MatsFactory must provide.
|
MatsInterceptable.MatsLoggingInterceptor |
Marker interface to denote a logging interceptor.
|
MatsInterceptable.MatsMetricsInterceptor |
Marker interface to denote a metrics interceptor.
|
MatsInterceptableMatsFactory |
Combines the interfaces
MatsInterceptable and MatsFactory . |
MatsOutgoingMessage |
Represents an Outgoing Mats Message.
|
MatsOutgoingMessage.MatsEditableOutgoingMessage | |
MatsOutgoingMessage.MatsSentOutgoingMessage | |
MatsStageInterceptor |
Implement this interface to intercept Stage Processing, then register with
MatsInterceptable.addStageInterceptor(MatsStageInterceptor) . |
MatsStageInterceptor.MatsStageInterceptOutgoingMessages |
While still within the stage process context, this interception enables modifying outgoing messages from the user
lambda, setting trace properties, adding "sideloads", deleting a message, or initiating additional messages.
|
MatsStageInterceptor.MatsStageInterceptUserLambda |
Enables the intercepting of the invocation of the "user lambda" in a Stage, with ability to wrap the
MatsEndpoint.ProcessContext (and thus modify any reply, request, next or initiations) and/or modifying state and
message - or even take over the entire stage. |
MatsStageInterceptor.StageCommonContext |
Common context elements for stage interception, including all the incoming message/envelope data and metadata.
|
MatsStageInterceptor.StageCompletedContext | |
MatsStageInterceptor.StageInterceptContext | |
MatsStageInterceptor.StageInterceptOutgoingMessageContext | |
MatsStageInterceptor.StageInterceptUserLambdaContext | |
MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext | |
MatsStageInterceptor.StageReceivedContext |
Enum | Description |
---|---|
MatsOutgoingMessage.DispatchType | |
MatsOutgoingMessage.MessageType | |
MatsStageInterceptor.StageCompletedContext.ProcessResult |
The main result of the Stage Processing - if the stage also initiated messages, this will be known by
MatsStageInterceptor.StageCompletedContext.getStageInitiatedMessages() being non-empty. |
MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError |
Mats3 API
which adds interception capabilities - all operations for
initiation and stage processing can be intercepted.