Uses of Interface
org.axonframework.messaging.Message
Packages that use Message
Package
Description
Classes that implement the concept of command handling using explicit command objects.
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus.Classes related to message processing in Axon Framework.
Classes related to message processing in Axon Framework.
-
Uses of Message in org.axonframework.axonserver.connector
Classes in org.axonframework.axonserver.connector with type parameters of type MessageModifier and TypeClassDescriptionclassDispatchInterceptors<M extends Message<?>>Composite ofMessageDispatchInterceptors that apply all interceptors in the order of registration.interfaceTargetContextResolver<T extends Message<?>>Interface towards a mechanism that is capable of resolving the context name to which aMessageshould be routed.Methods in org.axonframework.axonserver.connector that return types with arguments of type MessageModifier and TypeMethodDescriptionstatic TargetContextResolver<Message<?>> TargetContextResolver.noOp()Returns a no-op TargetContextResolver. -
Uses of Message in org.axonframework.axonserver.connector.command
Classes in org.axonframework.axonserver.connector.command that implement MessageModifier and TypeClassDescriptionclassWrapper that allows clients to access a gRPCCommandas aCommandMessage. -
Uses of Message in org.axonframework.axonserver.connector.query
Classes in org.axonframework.axonserver.connector.query that implement MessageModifier and TypeClassDescriptionclassWrapper that allows clients to access a gRPCQueryRequestas aQueryMessage.classWrapper that allows clients to access a gRPCQueryResponseas aQueryResponseMessage. -
Uses of Message in org.axonframework.axonserver.connector.query.subscription
Classes in org.axonframework.axonserver.connector.query.subscription that implement MessageModifier and TypeClassDescriptionclassWrapper that allows clients to access a gRPCSubscriptionQuerymessage as aSubscriptionQueryMessage. -
Uses of Message in org.axonframework.axonserver.connector.util
Methods in org.axonframework.axonserver.connector.util with parameters of type Message -
Uses of Message in org.axonframework.commandhandling
Subinterfaces of Message in org.axonframework.commandhandlingModifier and TypeInterfaceDescriptioninterfaceRepresents a Message carrying a command as its payload.interfaceMessage that represents a result from handling aCommandMessage.Classes in org.axonframework.commandhandling that implement MessageModifier and TypeClassDescriptionclassImplementation of the CommandMessage that takes all properties as constructor parameters.classGeneric implementation ofCommandResultMessage.Methods in org.axonframework.commandhandling with parameters of type MessageModifier and TypeMethodDescriptionbooleanCurrentUnitOfWorkParameterResolverFactory.resolveParameterValue(Message message) Constructors in org.axonframework.commandhandling with parameters of type MessageModifierConstructorDescriptionGenericCommandMessage(Message<T> delegate, String commandName) Create a CommandMessage from the givendelegatemessage containing payload, metadata and message identifier, and the givencommandName.GenericCommandResultMessage(Message<R> delegate) Creates a new Command Result Message with givendelegatemessage.GenericCommandResultMessage(Message<R> delegate, Throwable exception) Creates a Command Result Message with givendelegatemessage andexception. -
Uses of Message in org.axonframework.config
Classes in org.axonframework.config with type parameters of type MessageModifier and TypeInterfaceDescriptioninterfaceSubscribableMessageSourceDefinition<M extends Message<?>>Definition for aSubscribableMessageSource.Methods in org.axonframework.config with type parameters of type MessageModifier and TypeMethodDescription<M extends Message<?>>
MessageMonitor<? super M> Configuration.messageMonitor(Class<?> componentType, String componentName) Returns the message monitor configured for a component of givencomponentTypeandcomponentName.Methods in org.axonframework.config that return types with arguments of type MessageModifier and TypeMethodDescriptionMessageMonitorFactory.create(Configuration configuration, Class<?> componentType, String componentName) Function to create a Message Monitor based on the given configuration, component type and component name.MessageMonitor<? super Message<?>> EventProcessingConfiguration.messageMonitor(Class<?> componentType, String componentName) Returns theMessageMonitorset to the givencomponentTypeandcomponentNameregistered within this configuration.MessageMonitor<? super Message<?>> EventProcessingModule.messageMonitor(Class<?> componentType, String eventProcessorName) Method parameters in org.axonframework.config with type arguments of type MessageModifier and TypeMethodDescriptiondefault ConfigurerConfigurer.configureMessageMonitor(Class<?> componentType, String componentName, Function<Configuration, MessageMonitor<Message<?>>> messageMonitorBuilder) Configures the builder function to create the Message Monitor for the Message processing components in this configuration that match the given class and name.default ConfigurerConfigurer.configureMessageMonitor(Class<?> componentType, Function<Configuration, MessageMonitor<Message<?>>> messageMonitorBuilder) Configures the builder function to create the Message Monitor for the Message processing components in this configuration that match the given componentType, unless more specific configuration based on both type and name is available.Configurer.configureMessageMonitor(Function<Configuration, BiFunction<Class<?>, String, MessageMonitor<Message<?>>>> messageMonitorFactoryBuilder) Configures the Message Monitor to use for the Message processing components in this configuration, unless more specific configuration based on the component's type, or type and name is available.DefaultConfigurer.configureMessageMonitor(Function<Configuration, BiFunction<Class<?>, String, MessageMonitor<Message<?>>>> builder) default EventProcessingConfigurerEventProcessingConfigurer.registerMessageMonitor(String eventProcessorName, Function<Configuration, MessageMonitor<Message<?>>> messageMonitorBuilder) -
Uses of Message in org.axonframework.deadline
Subinterfaces of Message in org.axonframework.deadlineModifier and TypeInterfaceDescriptioninterfaceRepresents a Message for a Deadline, specified by its deadline name and optionally containing a deadline payload.Classes in org.axonframework.deadline that implement MessageConstructors in org.axonframework.deadline with parameters of type Message -
Uses of Message in org.axonframework.disruptor.commandhandling
Classes in org.axonframework.disruptor.commandhandling with type parameters of type MessageModifier and TypeClassDescriptionclassDisruptorUnitOfWork<T extends Message<?>>Specialized UnitOfWork instance for theDisruptorCommandBus.Method parameters in org.axonframework.disruptor.commandhandling with type arguments of type MessageModifier and TypeMethodDescriptionDisruptorUnitOfWork.transformMessage(Function<T, ? extends Message<?>> transformOperator) -
Uses of Message in org.axonframework.eventhandling
Subinterfaces of Message in org.axonframework.eventhandlingModifier and TypeInterfaceDescriptioninterfaceRepresents a Message that wraps a DomainEvent and an Event representing an important change in the Domain.interfaceEventMessage<T>Represents a Message wrapping an Event, which is represented by its payload.interfaceRepresents anEventMessagecontaining aTrackingToken.Classes in org.axonframework.eventhandling that implement MessageModifier and TypeClassDescriptionclassGeneric implementation of aDomainEventMessage.classGeneric implementation of the EventMessage interface.classGeneric implementation of aDomainEventMessagethat is also aTrackedEventMessage.classGeneric implementation of aTrackedEventMessage.Methods in org.axonframework.eventhandling with parameters of type MessageModifier and TypeMethodDescriptionstatic booleanIndicates whether the given message is "redelivered", as a result of a previous reset.booleanbooleanConcludesBatchParameterResolverFactory.resolveParameterValue(Message<?> message) SequenceNumberParameterResolverFactory.SequenceNumberParameterResolver.resolveParameterValue(Message message) Constructors in org.axonframework.eventhandling with parameters of type MessageModifierConstructorDescriptionGenericDomainEventMessage(String type, String aggregateIdentifier, long sequenceNumber, Message<T> delegate, Instant timestamp) Initialize a DomainEventMessage originating from an Aggregate with the givenaggregateIdentifier, with givensequenceNumberandpayload,metaDataandtimestamp.GenericDomainEventMessage(String type, String aggregateIdentifier, long sequenceNumber, Message<T> delegate, Supplier<Instant> timestamp) Initialize a DomainEventMessage originating from an Aggregate using existing data.protectedGenericEventMessage(Message<T> delegate, Instant timestamp) Initializes aGenericEventMessagewith given message as delegate and giventimestamp.GenericEventMessage(Message<T> delegate, Supplier<Instant> timestampSupplier) Constructor to reconstruct an EventMessage using existing data.protectedGenericTrackedDomainEventMessage(TrackingToken trackingToken, String type, String aggregateIdentifier, long sequenceNumber, Message<T> delegate, Instant timestamp) Initialize a DomainEventMessage originating from an aggregate.GenericTrackedDomainEventMessage(TrackingToken trackingToken, String type, String aggregateIdentifier, long sequenceNumber, Message<T> delegate, Supplier<Instant> timestamp) Initialize a DomainEventMessage originating from an Aggregate using existing data.protectedGenericTrackedEventMessage(TrackingToken trackingToken, Message<T> delegate, Instant timestamp) Initializes aGenericTrackedEventMessagewith given message as delegate and giventimestamp.GenericTrackedEventMessage(TrackingToken trackingToken, Message<T> delegate, Supplier<Instant> timestamp) Creates a GenericTrackedEventMessage with giventrackingTokenand delegate event message. -
Uses of Message in org.axonframework.eventhandling.replay
Subinterfaces of Message in org.axonframework.eventhandling.replayModifier and TypeInterfaceDescriptioninterfaceResetContext<T>Represents a Message initiating the reset of an Event Handling Component.Classes in org.axonframework.eventhandling.replay that implement MessageConstructors in org.axonframework.eventhandling.replay with parameters of type Message -
Uses of Message in org.axonframework.eventsourcing.conflictresolution
Methods in org.axonframework.eventsourcing.conflictresolution with parameters of type MessageModifier and TypeMethodDescriptionbooleanConflictResolution.resolveParameterValue(Message<?> message) -
Uses of Message in org.axonframework.messaging
Classes in org.axonframework.messaging with type parameters of type MessageModifier and TypeClassDescriptionclassDefaultInterceptorChain<T extends Message<?>>Mechanism that takes care of interceptor and handler execution.interfaceMessageDispatchInterceptor<T extends Message<?>>Interceptor that allows messages to be intercepted and modified before they are dispatched.interfaceMessageDispatchInterceptorSupport<T extends Message<?>>Interface marking components capable of registering Dispatch Interceptors.interfaceMessageHandler<T extends Message<?>>Interface for a component that processes Messages.interfaceMessageHandlerInterceptor<T extends Message<?>>Workflow interface that allows for customized message handler invocation chains.interfaceMessageHandlerInterceptorSupport<T extends Message<?>>Interface marking components capable of registering Handler Interceptors.interfaceStreamableMessageSource<M extends Message<?>>Interface for a source ofmessagesthat processors can track.interfaceSubscribableMessageSource<M extends Message<?>>Interface for a source ofmessagesto which message processors can subscribe.Subinterfaces of Message in org.axonframework.messagingModifier and TypeInterfaceDescriptioninterfaceMessage that represents a result of handling some form of request message.Classes in org.axonframework.messaging that implement MessageModifier and TypeClassDescriptionclassAbstract base class for Messages.classGeneric implementation of aMessagethat contains the payload and metadata as unserialized values.classGeneric implementation ofResultMessage.classAbstract implementation of aMessagethat delegates to an existing message.Methods in org.axonframework.messaging that return MessageModifier and TypeMethodDescriptionAbstractMessage.andMetaData(Map<String, ?> metaData) Message.andMetaData(Map<String, ?> metaData) Returns a copy of this Message with it MetaData merged with the givenmetaData.static Message<?> Returns a Message representing the givenpayloadOrMessage, either by wrapping it or by returning it as-is.MessageDecorator.getDelegate()Returns the wrapped message delegate.AbstractMessage.withMetaData(Map<String, ?> metaData) AbstractMessage.withMetaData(MetaData metaData) Returns a new message instance with the same payload and properties as this message but givenmetaData.GenericMessage.withMetaData(MetaData metaData) Message.withMetaData(Map<String, ?> metaData) Returns a copy of this Message with the givenmetaData.Methods in org.axonframework.messaging with parameters of type MessageModifier and TypeMethodDescriptionvoidScopeAware.send(Message<?> message, ScopeDescriptor scopeDescription) Constructors in org.axonframework.messaging with parameters of type MessageModifierConstructorDescriptionGenericResultMessage(Message<R> delegate) Creates a new ResultMessage with givendelegatemessage.GenericResultMessage(Message<R> delegate, Throwable exception) Creates a ResultMessage with givendelegatemessage andexception.protectedMessageDecorator(Message<T> delegate) Initializes a new decorator with givendelegatemessage. -
Uses of Message in org.axonframework.messaging.annotation
Methods in org.axonframework.messaging.annotation with parameters of type MessageModifier and TypeMethodDescriptionbooleanbooleanChecks if this handler is capable of handling the givenmessage.booleanChainedMessageHandlerInterceptorMember.handle(Message<?> message, T target, MessageHandlingMember<? super T> handler) MessageHandlerInterceptorMemberChain.handle(Message<?> message, T target, MessageHandlingMember<? super T> handler) Handle the givenmessageby passing it through the interceptors and ultimately to the givenhandleron the giventargetinstance.Handles the givenmessageby invoking the appropriate method on giventarget.NoMoreInterceptors.handle(Message<?> message, T target, MessageHandlingMember<? super T> handler) booleanbooleanbooleanIndicates whether this resolver is capable of providing a value for the givenmessage.booleanprotected booleanAnnotatedMessageHandlingMember.parametersMatch(Message<?> message) Checks if the parameter resolvers of this member are compatible with the givenmessage.FixedValueParameterResolver.resolveParameterValue(Message message) InterceptorChainParameterResolverFactory.resolveParameterValue(Message<?> message) ParameterResolver.resolveParameterValue(Message<?> message) Resolves the parameter value to use for the givenmessage, ornullif no suitable parameter value can be resolved.PayloadParameterResolver.resolveParameterValue(Message message) protected booleanAnnotatedMessageHandlingMember.typeMatches(Message<?> message) Checks if this member can handle the type of the givenmessage.Method parameters in org.axonframework.messaging.annotation with type arguments of type MessageModifier and TypeMethodDescriptionbooleanAnnotatedMessageHandlingMember.canHandleMessageType(Class<? extends Message> messageType) booleanMessageHandlingMember.canHandleMessageType(Class<? extends Message> messageType) Checks if this handlers is capable of handlingMessageimplementations of the givenmessageType.booleanWrappedMessageHandlingMember.canHandleMessageType(Class<? extends Message> messageType) Constructor parameters in org.axonframework.messaging.annotation with type arguments of type MessageModifierConstructorDescriptionAnnotatedMessageHandlingMember(Executable executable, Class<? extends Message> messageType, Class<?> explicitPayloadType, ParameterResolverFactory parameterResolverFactory) Initializes a new instance that will invoke the givenexecutable(method) on a target to handle a message of the givenmessageType. -
Uses of Message in org.axonframework.messaging.correlation
Classes in org.axonframework.messaging.correlation with type parameters of type MessageModifier and TypeClassDescriptionclassMultiCorrelationDataProvider<T extends Message>CorrelationDataProvider that combines the data of multiple other correlation providers.Methods in org.axonframework.messaging.correlation with parameters of type MessageModifier and TypeMethodDescriptionCorrelationDataProvider.correlationDataFor(Message<?> message) Provides a map with the entries to attach as correlation data to generated messages while processing givenmessage.MessageOriginProvider.correlationDataFor(Message<?> message) MultiCorrelationDataProvider.correlationDataFor(Message<?> message) SimpleCorrelationDataProvider.correlationDataFor(Message<?> message) -
Uses of Message in org.axonframework.messaging.deadletter
Classes in org.axonframework.messaging.deadletter with type parameters of type MessageModifier and TypeInterfaceDescriptioninterfaceDeadLetter<M extends Message<?>>Interface describing a dead letteredMessageimplementation of generic typeM.classDoNotEnqueue<M extends Message<?>>AnEnqueueDecisionstating adead lettershould not be enqueued.interfaceEnqueueDecision<M extends Message<?>>A contract towards describing a decision among adead lettercontaining a message of typeMconcerning whether to add it to aSequencedDeadLetterQueue.interfaceEnqueuePolicy<M extends Message<?>>classGenericDeadLetter<M extends Message<?>>Generic implementation of thedead letterallowing any type ofMessageto be dead lettered.classAnEnqueueDecisionstating adead lettershould be ignored.classInMemorySequencedDeadLetterQueue<M extends Message<?>>In-memory implementation of theSequencedDeadLetterQueue.static classInMemorySequencedDeadLetterQueue.Builder<M extends Message<?>>Builder class to instantiate anInMemorySequencedDeadLetterQueue.interfaceSequencedDeadLetterProcessor<M extends Message<?>>Contract describing a component that can processdead lettersthat it has enqueued.interfaceSequencedDeadLetterQueue<M extends Message<?>>Interface describing the required functionality for a dead letter queue.classShouldEnqueue<M extends Message<?>>AnEnqueueDecisionstating adead lettershould be enqueued.Methods in org.axonframework.messaging.deadletter with type parameters of type MessageModifier and TypeMethodDescriptionstatic <M extends Message<?>>
InMemorySequencedDeadLetterQueue.Builder<M> InMemorySequencedDeadLetterQueue.builder()Instantiate a builder to construct anInMemorySequencedDeadLetterQueue.static <M extends Message<?>>
InMemorySequencedDeadLetterQueue<M> InMemorySequencedDeadLetterQueue.defaultQueue()Construct a defaultInMemorySequencedDeadLetterQueue.static <M extends Message<?>>
DoNotEnqueue<M> Decisions.doNotEnqueue()Construct aDoNotEnqueuedefining that adead lettershould not be enqueued at all.static <M extends Message<?>>
ShouldEnqueue<M> Decisions.enqueue()Construct aShouldEnqueuedefining that adead lettershould be enqueued.static <M extends Message<?>>
ShouldEnqueue<M> Construct aShouldEnqueuedefining that adead lettershould be enqueued because of the givenenqueueCause.static <M extends Message<?>>
ShouldEnqueue<M> Decisions.enqueue(Throwable enqueueCause, Function<DeadLetter<? extends M>, MetaData> diagnosticsBuilder) Construct aShouldEnqueuedefining that adead lettershould be enqueued because of the givenenqueueCause.static <M extends Message<?>>
DoNotEnqueue<M> Decisions.evict()Construct aDoNotEnqueuedefining that adead lettershould be evicted from the queue.Decisions.ignore()Construct anIgnoredefining that adead lettershould remain in the queue.static <M extends Message<?>>
ShouldEnqueue<M> Construct aShouldEnqueuedefining that adead lettershould be requeued because of the givenrequeueCause.static <M extends Message<?>>
ShouldEnqueue<M> Decisions.requeue(Throwable requeueCause, Function<DeadLetter<? extends M>, MetaData> diagnosticsBuilder) Construct aShouldEnqueuedefining that adead lettershould be requeued because of the givenrequeueCause. -
Uses of Message in org.axonframework.messaging.interceptors
Classes in org.axonframework.messaging.interceptors with type parameters of type MessageModifier and TypeClassDescriptionclassBeanValidationInterceptor<T extends Message<?>>Interceptor that applies JSR303 bean validation on incomingMessages.classCorrelationDataInterceptor<T extends Message<?>>Message interceptor that registersCorrelationDataProviderswith the Unit of Work.classLoggingInterceptor<T extends Message<?>>MessageDispatchInterceptorandMessageHandlerInterceptorimplementation that logs dispatched and incoming messages, and their result, to a SLF4J logger.classTransactionManagingInterceptor<T extends Message<?>>Interceptor that uses aTransactionManagerto start a new transaction before a Message is handled. -
Uses of Message in org.axonframework.messaging.interceptors.legacyvalidation
Classes in org.axonframework.messaging.interceptors.legacyvalidation with type parameters of type MessageModifier and TypeClassDescriptionclassBeanValidationInterceptor<T extends Message<?>>Deprecated. -
Uses of Message in org.axonframework.messaging.responsetypes
Classes in org.axonframework.messaging.responsetypes that implement MessageModifier and TypeClassDescriptionclassImplementation of a QueryResponseMessage that is aware of the requested response type and performs a just-in-time conversion to ensure the response is formatted as requested. -
Uses of Message in org.axonframework.messaging.timeout
Method parameters in org.axonframework.messaging.timeout with type arguments of type MessageModifier and TypeMethodDescriptionUnitOfWorkTimeoutInterceptor.handle(UnitOfWork<? extends Message<?>> unitOfWork, InterceptorChain interceptorChain) -
Uses of Message in org.axonframework.messaging.unitofwork
Classes in org.axonframework.messaging.unitofwork with type parameters of type MessageModifier and TypeClassDescriptionclassAbstractUnitOfWork<T extends Message<?>>Abstract implementation of the Unit of Work.classBatchingUnitOfWork<T extends Message<?>>Unit of Work implementation that is able to process a batch of Messages instead of just a single Message.classDefaultUnitOfWork<T extends Message<?>>Implementation of the UnitOfWork that processes a single message.classMessageProcessingContext<T extends Message<?>>Maintains the context around the processing of a single Message.interfaceUnitOfWork<T extends Message<?>>This class represents a Unit of Work that monitors the processing of aMessage.Methods in org.axonframework.messaging.unitofwork with type parameters of type MessageModifier and TypeMethodDescriptionstatic <T extends Message<?>>
DefaultUnitOfWork<T> DefaultUnitOfWork.startAndGet(T message) Starts a new DefaultUnitOfWork instance, registering it a CurrentUnitOfWork.Methods in org.axonframework.messaging.unitofwork that return types with arguments of type MessageModifier and TypeMethodDescriptionBatchingUnitOfWork.getExecutionResults()Returns a Map ofExecutionResultper Message.Methods in org.axonframework.messaging.unitofwork with parameters of type MessageModifier and TypeMethodDescriptionbooleanBatchingUnitOfWork.isFirstMessage(Message<?> message) Checks if the givenmessageis the first of the batch being processed in this unit of work.booleanBatchingUnitOfWork.isLastMessage(Message<?> message) Checks if the givenmessageis the last of the batch being processed in this unit of work.Method parameters in org.axonframework.messaging.unitofwork with type arguments of type MessageModifier and TypeMethodDescriptionBatchingUnitOfWork.transformMessage(Function<T, ? extends Message<?>> transformOperator) DefaultUnitOfWork.transformMessage(Function<T, ? extends Message<?>> transformOperator) voidMessageProcessingContext.transformMessage(Function<T, ? extends Message<?>> transformOperator) Transform the Message being processed using the given operator.UnitOfWork.transformMessage(Function<T, ? extends Message<?>> transformOperator) Transform the Message being processed using the given operator and stores the result.Constructors in org.axonframework.messaging.unitofwork with parameters of type MessageModifierConstructorDescriptionBatchingUnitOfWork(T... messages) Initializes a BatchingUnitOfWork for processing the given batch ofmessages. -
Uses of Message in org.axonframework.metrics
Classes in org.axonframework.metrics with type parameters of type MessageModifier and TypeClassDescriptionclassPayloadTypeMessageMonitorWrapper<T extends MessageMonitor<Message<?>> & com.codahale.metrics.MetricSet>AMessageMonitorimplementation which creates a new MessageMonitor for everyMessagepayload type ingested by it.Methods in org.axonframework.metrics that return types with arguments of type MessageModifier and TypeMethodDescriptionMessageMonitor<? extends Message<?>> GlobalMetricRegistry.registerComponent(Class<?> componentType, String componentName) Registers new metrics to theMetricRegistryto monitor a component of givencomponentType.Methods in org.axonframework.metrics with parameters of type MessageModifier and TypeMethodDescriptionCapacityMonitor.onMessageIngested(Message<?> message) MessageCountingMonitor.onMessageIngested(Message<?> message) MessageTimerMonitor.onMessageIngested(Message<?> message) PayloadTypeMessageMonitorWrapper.onMessageIngested(Message<?> message) -
Uses of Message in org.axonframework.micrometer
Classes in org.axonframework.micrometer with type parameters of type MessageModifier and TypeClassDescriptionclassPayloadTypeMessageMonitorWrapper<T extends MessageMonitor<Message<?>>>Deprecated.As of release 4.4, replaced by usings on the monitor implementations.invalid reference
TagFields in org.axonframework.micrometer with type parameters of type MessageModifier and TypeFieldDescriptionTagsUtil.META_DATA_TAGGER_FUNCTIONThe function for creating the MicrometerTags based on the message metadata.TagsUtil.PAYLOAD_TYPE_TAGGER_FUNCTIONThe function for creating the MicrometerTags based on the message payload type.Methods in org.axonframework.micrometer that return types with arguments of type MessageModifier and TypeMethodDescriptionMessageMonitor<? extends Message<?>> GlobalMetricRegistry.registerComponent(Class<?> componentType, String componentName) Registers new metrics to the registry to monitor a component of the givencomponentType.MessageMonitor<? extends Message<?>> GlobalMetricRegistry.registerComponentWithDefaultTags(Class<?> componentType, String componentName) Registers new metrics to the registry to monitor a component of the givencomponentType.Methods in org.axonframework.micrometer with parameters of type MessageModifier and TypeMethodDescriptionCapacityMonitor.onMessageIngested(Message<?> message) MessageCountingMonitor.onMessageIngested(Message<?> message) MessageTimerMonitor.onMessageIngested(Message<?> message) PayloadTypeMessageMonitorWrapper.onMessageIngested(Message<?> message) Deprecated.Method parameters in org.axonframework.micrometer with type arguments of type MessageModifier and TypeMethodDescriptionstatic CapacityMonitorCapacityMonitor.buildMonitor(String meterNamePrefix, io.micrometer.core.instrument.MeterRegistry meterRegistry, long window, TimeUnit timeUnit, io.micrometer.core.instrument.Clock clock, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Creates a capacity monitor with the given time window.static CapacityMonitorCapacityMonitor.buildMonitor(String meterNamePrefix, io.micrometer.core.instrument.MeterRegistry meterRegistry, long window, TimeUnit timeUnit, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Creates a capacity monitor with the default system clock.static CapacityMonitorCapacityMonitor.buildMonitor(String meterNamePrefix, io.micrometer.core.instrument.MeterRegistry meterRegistry, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Creates a capacity monitor with the default time window 10 minutesstatic EventProcessorLatencyMonitorEventProcessorLatencyMonitor.buildMonitor(String meterNamePrefix, io.micrometer.core.instrument.MeterRegistry meterRegistry, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Deprecated.in favor of using theEventProcessorLatencyMonitor.builder()static MessageCountingMonitorMessageCountingMonitor.buildMonitor(String meterNamePrefix, io.micrometer.core.instrument.MeterRegistry meterRegistry, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Creates a message counting monitorstatic MessageTimerMonitorMessageTimerMonitor.buildMonitor(String meterNamePrefix, io.micrometer.core.instrument.MeterRegistry meterRegistry, io.micrometer.core.instrument.Clock clock, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Deprecated.in favor of using theMessageTimerMonitor.builder()static MessageTimerMonitorMessageTimerMonitor.buildMonitor(String meterNamePrefix, io.micrometer.core.instrument.MeterRegistry meterRegistry, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Deprecated.in favor of using theMessageTimerMonitor.builder()MessageMonitor<? super CommandMessage<?>> GlobalMetricRegistry.registerCommandBus(String commandBusName, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Registers new metrics to the registry to monitor aCommandBususingTags through the giventagsBuilder.MessageMonitor<? super EventMessage<?>> GlobalMetricRegistry.registerEventBus(String eventBusName, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Registers new metrics to the registry to monitor anEventBususingTags through the giventagsBuilder.MessageMonitor<? super EventMessage<?>> GlobalMetricRegistry.registerEventProcessor(String eventProcessorName, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Deprecated.Please use theGlobalMetricRegistry.registerEventProcessor(String, Function, Function)instead, which has separate tags for the latency metric.MessageMonitor<? super EventMessage<?>> GlobalMetricRegistry.registerEventProcessor(String eventProcessorName, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> latencyTagsBuilder) Registers new metrics to the registry to monitor anEventProcessorusingTags through the giventagsBuilder.MessageMonitor<? super QueryMessage<?, ?>> GlobalMetricRegistry.registerQueryBus(String queryBusName, Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Registers new metrics to the registry to monitor aQueryBususingTags through the giventagsBuilder.EventProcessorLatencyMonitor.Builder.tagsBuilder(Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Configures theFunctionused to deduce what theTags should be for a message being monitored.MessageTimerMonitor.Builder.tagsBuilder(Function<Message<?>, Iterable<io.micrometer.core.instrument.Tag>> tagsBuilder) Configures theFunctionused to deduce what theTags should be for a message being monitored. -
Uses of Message in org.axonframework.modelling.command
Classes in org.axonframework.modelling.command with type parameters of type MessageModifier and TypeInterfaceDescriptioninterfaceForwardingMode<T extends Message<?>>Interface describing the required functionality to forward a message.classForwardMatchingInstances<T extends Message<?>>Only forward messages of typeTif the routing key of the message matches that of the entity.classForwardNone<T extends Message<?>>Forward no messagesTregardless of their set up.classForwardToAll<T extends Message<?>>Forward all messagesTregardless of their set up.Methods in org.axonframework.modelling.command with parameters of type Message -
Uses of Message in org.axonframework.modelling.command.inspection
Methods in org.axonframework.modelling.command.inspection with parameters of type MessageModifier and TypeMethodDescriptionbooleanMethod parameters in org.axonframework.modelling.command.inspection with type arguments of type MessageModifier and TypeMethodDescriptionbooleanChildForwardingCommandMessageHandlingMember.canHandleMessageType(Class<? extends Message> messageType) -
Uses of Message in org.axonframework.modelling.saga
Methods in org.axonframework.modelling.saga with parameters of type MessageModifier and TypeMethodDescriptionvoidAbstractSagaManager.send(Message<?> message, ScopeDescriptor scopeDescription) -
Uses of Message in org.axonframework.monitoring
Classes in org.axonframework.monitoring with type parameters of type MessageModifier and TypeInterfaceDescriptioninterfaceMessageMonitor<T extends Message<?>>Specifies a mechanism to monitor message processing.classMultiMessageMonitor<T extends Message<?>>Delegates messages and callbacks to the given list of message monitorsMethods in org.axonframework.monitoring with parameters of type Message -
Uses of Message in org.axonframework.queryhandling
Subinterfaces of Message in org.axonframework.queryhandlingModifier and TypeInterfaceDescriptioninterfaceQueryMessage<T,R> Message type that carries a Query: a request for information.interfaceMessage that contains the results of a Query.interfaceA special type ofQueryMessageused for initiating streaming queries.interfaceSubscriptionQueryMessage<Q,I, U> Message type that carries a Subscription Query: a request for information.interfaceMessage which holds incremental update of an subscription query.Classes in org.axonframework.queryhandling that implement MessageModifier and TypeClassDescriptionclassGenericQueryMessage<T,R> Generic implementation of the QueryMessage.classQueryResponseMessage implementation that takes all properties as constructor parameters.classGeneric implementation of theStreamingQueryMessage.classGeneric implementation of theSubscriptionQueryMessage.classGenericSubscriptionQueryUpdateMessagewhich holds incremental update of an subscription query.Constructors in org.axonframework.queryhandling with parameters of type MessageModifierConstructorDescriptionGenericQueryMessage(Message<T> delegate, String queryName, ResponseType<R> responseType) Initialize the Query Message, using givendelegateas the carrier of payload and metadata and givenqueryNameand expecting the givenresponseType.GenericQueryResponseMessage(Message<R> delegate) Copy-constructor that takes the payload, meta data and message identifier of the givendelegatefor this message.GenericQueryResponseMessage(Message<R> delegate, Throwable exception) Copy-constructor that takes the payload, meta data and message identifier of the givendelegatefor this message and givenexceptionas a cause for the failure.Initializes the message with the givendelegate,queryNameand expectedresponseType.GenericStreamingQueryMessage(Message<Q> delegate, String queryName, ResponseType<org.reactivestreams.Publisher<R>> responseType) Initialize the Query Message, using givendelegateas the carrier of payload and metadata and givenqueryNameand expecting the givenresponseType.GenericSubscriptionQueryMessage(Message<Q> delegate, String queryName, ResponseType<I> responseType, ResponseType<U> updateResponseType) Initializes the message, using givendelegateas the carrier of payload and metadata and givenqueryName, expectedresponseTypeand expectedupdateResponseType.protectedGenericSubscriptionQueryUpdateMessage(Message<U> delegate) Initializes a new decorator with givendelegatemessage. -
Uses of Message in org.axonframework.serialization
Classes in org.axonframework.serialization that implement MessageModifier and TypeClassDescriptionclassA message containing serialized payload data and metadata.Constructors in org.axonframework.serialization with parameters of type MessageModifierConstructorDescriptionSerializedObjectHolder(Message message) Initialize the holder for the serialized representations of the payload and meta data of givenmessage -
Uses of Message in org.axonframework.spring.authorization
Classes in org.axonframework.spring.authorization with type parameters of type MessageModifier and TypeClassDescriptionclassMessageAuthorizationDispatchInterceptor<T extends Message<?>>AMessageDispatchInterceptorthat adds the {$code authorities} from the authorized principle.classMessageAuthorizationHandlerInterceptor<T extends Message<?>>AMessageHandlerInterceptorthat verifies authorization based onSecuredannotations on the payload ofMessages. -
Uses of Message in org.axonframework.spring.config
Methods in org.axonframework.spring.config with type parameters of type MessageModifier and TypeMethodDescription<M extends Message<?>>
MessageMonitor<? super M> AxonConfiguration.messageMonitor(Class<?> componentType, String componentName) Deprecated.Methods in org.axonframework.spring.config that return types with arguments of type MessageModifier and TypeMethodDescriptionMessageHandlerConfigurer.Type.getMessageType()Returns the supportedMessageimplementation.Method parameters in org.axonframework.spring.config with type arguments of type MessageModifier and TypeMethodDescriptionMessageHandlerLookup.messageHandlerBeans(Class<? extends Message<?>> messageType, org.springframework.beans.factory.config.ConfigurableListableBeanFactory registry) Returns a list of beans found in the givenregisterthat contain a handler for the givenmessageType.MessageHandlerLookup.messageHandlerBeans(Class<? extends Message<?>> messageType, org.springframework.beans.factory.config.ConfigurableListableBeanFactory registry, boolean includePrototypeBeans) Returns a list of beans found in the givenregisterthat contain a handler for the givenmessageType. -
Uses of Message in org.axonframework.springboot.autoconfig
Methods in org.axonframework.springboot.autoconfig that return types with arguments of type Message -
Uses of Message in org.axonframework.test.matchers
Classes in org.axonframework.test.matchers with type parameters of type MessageModifier and TypeClassDescriptionclassPayloadMatcher<T extends Message>Matcher that matches any message (e.g.Methods in org.axonframework.test.matchers that return types with arguments of type MessageModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<Message<?>> Matchers.messageWithPayload(org.hamcrest.Matcher<?> payloadMatcher) Matches a single Message if the givenpayloadMatchermatches that message's payload.Matchers.payloadsMatching(org.hamcrest.Matcher<? extends List<?>> matcher) Matches a list of Messages if a list containing their respective payloads matches the givenmatcher. -
Uses of Message in org.axonframework.tracing
Methods in org.axonframework.tracing with type parameters of type MessageModifier and TypeMethodDescription<M extends Message<?>>
MLoggingSpanFactory.propagateContext(M message) <M extends Message<?>>
MMultiSpanFactory.propagateContext(M message) <M extends Message<?>>
MNestingSpanFactory.propagateContext(M message) Deprecated.<M extends Message<?>>
MNoOpSpanFactory.propagateContext(M message) <M extends Message<?>>
MSpanFactory.propagateContext(M message) Propagates the currently active trace and span to the message.Methods in org.axonframework.tracing with parameters of type MessageModifier and TypeMethodDescriptiondefault SpanSpanFactory.createChildHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedParents) Creates a newSpanwhich is part of the current trace.LoggingSpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) MultiSpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) NestingSpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) Deprecated.NoOpSpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) SpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) LoggingSpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) MultiSpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) NestingSpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) Deprecated.NoOpSpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) SpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) LoggingSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) MultiSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) NestingSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) Deprecated.NoOpSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) SpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) Creates a newSpanlinked to the currently active span.default SpanSpanFactory.createLinkedHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedParents) Creates a newSpanwhich becomes its own separate trace, linked to the previous span.static StringSpanUtils.determineMessageName(Message<?> message) Creates a human-readable name for a message's payload.SpanAttributesProvider.provideForMessage(Message<?> message) -
Uses of Message in org.axonframework.tracing.attributes
Methods in org.axonframework.tracing.attributes with parameters of type MessageModifier and TypeMethodDescriptionAggregateIdentifierSpanAttributesProvider.provideForMessage(Message<?> message) MessageIdSpanAttributesProvider.provideForMessage(Message<?> message) MessageNameSpanAttributesProvider.provideForMessage(Message<?> message) MessageTypeSpanAttributesProvider.provideForMessage(Message<?> message) MetadataSpanAttributesProvider.provideForMessage(Message<?> message) PayloadTypeSpanAttributesProvider.provideForMessage(Message<?> message) -
Uses of Message in org.axonframework.tracing.opentelemetry
Methods in org.axonframework.tracing.opentelemetry with type parameters of type MessageModifier and TypeMethodDescription<M extends Message<?>>
MOpenTelemetrySpanFactory.propagateContext(M message) Methods in org.axonframework.tracing.opentelemetry with parameters of type MessageModifier and TypeMethodDescriptionOpenTelemetrySpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) OpenTelemetrySpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) OpenTelemetrySpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) Method parameters in org.axonframework.tracing.opentelemetry with type arguments of type MessageModifier and TypeMethodDescriptionOpenTelemetrySpanFactory.Builder.textMapGetter(io.opentelemetry.context.propagation.TextMapGetter<Message<?>> textMapGetter) Defines theTextMapGetterto use, which is used for extracting the propagated context from another thread or service.
BeanValidationInterceptorwhich moved to jakarta.