Uses of Interface
org.axonframework.messaging.eventhandling.EventMessage
Packages that use EventMessage
Package
Description
Part of the Axon Server Connector module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axoniq Messaging folder.
Axon Server specific multi-tenant event streaming infrastructure, giving each tenant its own persistent stream and
labelling the events it delivers with the tenant they belong to.
Integrates dead-letter queue handling with multi-tenant event processing.
Package containing multitenancy support for event sourcing components.
Part of the Axoniq Messaging folder.
Postgres extension main package.
Author-facing DSL entry points, step-definition value types, event conditions, and workflow lifecycle exceptions.
Base Java DSL for defining workflow steps, providing the core primitives to execute work, wait for events, modify the
workflow payload, sleep, fail, and cancel a workflow.
Convenience Java DSL built on top of the base DSL, adding shortcuts for common workflow steps such as executing
without extra input payload, waiting for a typed event, and replacing the workflow payload outright.
In-memory
WorkflowHistoryRepository implementation and the event
handler that projects workflow events into it.Internal runtime contracts for workflow execution, command dispatch, configuration, and event publication.
The association DSL used to correlate incoming events with waiting workflow steps, including value retrievers,
comparison operators, and their serialized representation.
Internal implementation of the workflow execution engine: the
WorkflowEngine, its scheduling, state and
storage, checkpointing/replay support, cancellation coordination, and the delegates implementing individual step
primitives.Internal runtime utilities for future resolution, workflow event and metadata construction, processing context
propagation, reflection, and workflow state inspection.
Deadline support carried over from Axon Framework 4, to keep deadlines that were scheduled before migrating firing
while a project moves off this API.
Root package for Axon Eventsourcing.
Part of the Axon Eventsourcing module.
Definitions and implementations of the Event store, the mechanism that can load event streams and append events to
them.
Part of the Axon Eventsourcing module.
Part of the Axon Eventsourcing module.
Event-store tracing decorators and event-sourcing-specific
SpanAttributesProvider implementations.Package for the sourcing handler API.
Public API for snapshotting of event-sourced entities.
Part of the Axon Extension module.
Part of the Axon Extension module.
Part of the Axon Extension module.
Part of the Axon Extension module.
Part of the Axon Extension module.
Classes related to message processing in Axon Framework.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Package for event handling components in Axon Framework.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Tracing decorators for event handling components.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Root package for Axon Modelling.
Part of the Axon Modelling module.
Part of the Axon Modelling module.
Part of the Axon Modelling module.
Part of the Axon Modelling module.
Association values, the means by which an event is correlated to the saga instances that should handle it.
Meta-model support for describing the structure and event handling capabilities of Axon Framework 4 style
annotated Sagas.
Part of the Axon Test module.
Part of the Axon Test module.
Test support for the sagas carried by
axon-legacy.-
Uses of EventMessage in io.axoniq.framework.axonserver.connector.event
Methods in io.axoniq.framework.axonserver.connector.event that return EventMessageModifier and TypeMethodDescriptionTaggedEventConverter.convertEvent(io.axoniq.axonserver.grpc.event.dcb.Event event) Convert the giveneventto anEventMessage.Methods in io.axoniq.framework.axonserver.connector.event that return types with arguments of type EventMessageModifier and TypeMethodDescriptionSourcingEventMessageStream.next()StreamingEventMessageStream.next()SourcingEventMessageStream.peek()StreamingEventMessageStream.peek()AggregateBasedAxonServerEventStorageEngine.source(SourcingCondition condition, @Nullable ProcessingContext context) AxonServerEventStorageEngine.source(SourcingCondition condition, @Nullable ProcessingContext context) AggregateBasedAxonServerEventStorageEngine.stream(StreamingCondition condition) AxonServerEventStorageEngine.stream(StreamingCondition condition) Method parameters in io.axoniq.framework.axonserver.connector.event with type arguments of type EventMessageModifier and TypeMethodDescriptionvoidPersistentStreamConnection.open(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> consumer) Initiates the connection to Axon Server and starts delivering events to the givenconsumer.PersistentStreamEventSource.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) -
Uses of EventMessage in io.axoniq.framework.messaging.eventhandling.deadletter
Fields in io.axoniq.framework.messaging.eventhandling.deadletter with type parameters of type EventMessageModifier and TypeFieldDescriptionstatic final EnqueuePolicy<EventMessage> DeadLetterQueueConfiguration.DEFAULT_ENQUEUE_POLICYThe default enqueue policy that always enqueues with a truncated cause message.Methods in io.axoniq.framework.messaging.eventhandling.deadletter that return types with arguments of type EventMessageModifier and TypeMethodDescriptionSequencedDeadLetterQueueFactory.create(String processingGroup, Configuration configuration) Creates aSequencedDeadLetterQueuefor the givenprocessingGroup.DeadLetterQueueConfiguration.enqueuePolicy()Returns the configuredEnqueuePolicy.Methods in io.axoniq.framework.messaging.eventhandling.deadletter with parameters of type EventMessageModifier and TypeMethodDescriptionDeadLetteringEventHandlingComponent.handle(EventMessage event, ProcessingContext context) Method parameters in io.axoniq.framework.messaging.eventhandling.deadletter with type arguments of type EventMessageModifier and TypeMethodDescriptionDeadLetterQueueConfiguration.enqueuePolicy(EnqueuePolicy<EventMessage> enqueuePolicy) Sets theEnqueuePolicyto use when deciding whether to dead-letter a failed event.DeadLetteringEventHandlingComponent.process(Predicate<DeadLetter<? extends EventMessage>> sequenceFilter) DeadLetteringEventHandlingComponent.process(Predicate<DeadLetter<? extends EventMessage>> sequenceFilter, @Nullable ProcessingContext context) Constructor parameters in io.axoniq.framework.messaging.eventhandling.deadletter with type arguments of type EventMessageModifierConstructorDescriptionDeadLetteringEventHandlingComponent(EventHandlingComponent delegate, SequencedDeadLetterQueue<EventMessage> queue, EnqueuePolicy<EventMessage> enqueuePolicy, UnitOfWorkFactory unitOfWorkFactory, boolean allowReset) Instantiate aDeadLetteringEventHandlingComponentwith the givendelegate,queue, customEnqueuePolicy, reset behavior, andunitOfWorkFactory.DeadLetteringEventHandlingComponent(EventHandlingComponent delegate, SequencedDeadLetterQueue<EventMessage> queue, EnqueuePolicy<EventMessage> enqueuePolicy, UnitOfWorkFactory unitOfWorkFactory, boolean allowReset) Instantiate aDeadLetteringEventHandlingComponentwith the givendelegate,queue, customEnqueuePolicy, reset behavior, andunitOfWorkFactory. -
Uses of EventMessage in io.axoniq.framework.messaging.eventhandling.deadletter.jdbc
Classes in io.axoniq.framework.messaging.eventhandling.deadletter.jdbc with type parameters of type EventMessageModifier and TypeInterfaceDescriptioninterfaceDeadLetterJdbcConverter<E extends EventMessage,D extends JdbcDeadLetter<E>> A functional interface describing how to convert aResultSetinJdbcDeadLetterimplementation of typeDinterfaceDeadLetterStatementFactory<E extends EventMessage>A contract towards allPreparedStatementsaJdbcSequencedDeadLetterQueuerequires to function.classDefaultDeadLetterJdbcConverter<E extends EventMessage>Default implementation of theDeadLetterJdbcConverter, convertingResultSetsintoJdbcDeadLetterinstances.protected static classBuilder class to instantiate aDefaultDeadLetterJdbcConverter.classDefaultDeadLetterStatementFactory<E extends EventMessage>Default implementation of theDeadLetterStatementFactoryused by theJdbcSequencedDeadLetterQueue.protected static classBuilder class to instantiate aDefaultDeadLetterStatementFactory.classJdbcDeadLetter<E extends EventMessage>ADeadLetterthat was saved to a JDBC-backed database and reconstructed from it.classJdbcSequencedDeadLetterQueue<E extends EventMessage>A JDBC-based implementation of theSequencedDeadLetterQueue, used for storing dead letters containingevent messagesdurably.static classJdbcSequencedDeadLetterQueue.Builder<E extends EventMessage>Builder class to instantiate aJdbcSequencedDeadLetterQueue.Methods in io.axoniq.framework.messaging.eventhandling.deadletter.jdbc with type parameters of type EventMessageModifier and TypeMethodDescriptionstatic <E extends EventMessage>
DefaultDeadLetterJdbcConverter.Builder<E> DefaultDeadLetterJdbcConverter.builder()Instantiate a builder to construct aDefaultDeadLetterJdbcConverter.static <E extends EventMessage>
DefaultDeadLetterStatementFactory.Builder<E> DefaultDeadLetterStatementFactory.builder()Instantiate a builder to construct aDefaultDeadLetterStatementFactory.static <E extends EventMessage>
JdbcSequencedDeadLetterQueue.Builder<E> JdbcSequencedDeadLetterQueue.builder()Instantiate a builder to construct aJdbcSequencedDeadLetterQueue. -
Uses of EventMessage in io.axoniq.framework.messaging.eventhandling.deadletter.jpa
Classes in io.axoniq.framework.messaging.eventhandling.deadletter.jpa with type parameters of type EventMessageModifier and TypeInterfaceDescriptioninterfaceDeadLetterJpaConverter<M extends EventMessage>Converter that can convert anEventMessageto aDeadLetterEventEntryand vice versa.classJpaDeadLetter<M extends EventMessage>ADeadLetterthat was saved to the database and reconstructed from it.classJpaSequencedDeadLetterQueue<M extends EventMessage>JPA-backed implementation of theSequencedDeadLetterQueue, used for storing dead letters containingEventMessagesdurably as aDeadLetterEntry.static classJpaSequencedDeadLetterQueue.Builder<T extends EventMessage>Builder class to instantiate anJpaSequencedDeadLetterQueue.Methods in io.axoniq.framework.messaging.eventhandling.deadletter.jpa with type parameters of type EventMessageModifier and TypeMethodDescriptionstatic <M extends EventMessage>
JpaSequencedDeadLetterQueue.Builder<M> JpaSequencedDeadLetterQueue.builder()Creates a new builder, capable of building aJpaSequencedDeadLetterQueueaccording to the provided configuration.Methods in io.axoniq.framework.messaging.eventhandling.deadletter.jpa that return types with arguments of type EventMessageModifier and TypeMethodDescriptionEventMessageDeadLetterJpaConverter.convert(DeadLetterEventEntry entry, EventConverter eventConverter, Converter genericConverter) Methods in io.axoniq.framework.messaging.eventhandling.deadletter.jpa with parameters of type EventMessageModifier and TypeMethodDescriptionEventMessageDeadLetterJpaConverter.convert(EventMessage message, @Nullable Context context, EventConverter eventConverter, Converter genericConverter) Method parameters in io.axoniq.framework.messaging.eventhandling.deadletter.jpa with type arguments of type EventMessageModifier and TypeMethodDescriptionJpaSequencedDeadLetterQueue.Builder.converter(DeadLetterJpaConverter<EventMessage> converter) -
Uses of EventMessage in io.axoniq.framework.messaging.eventstreaming
Methods in io.axoniq.framework.messaging.eventstreaming that return types with arguments of type EventMessageModifier and TypeMethodDescriptionMultiStreamableEventSource.open(StreamingCondition condition, @Nullable ProcessingContext context) Method parameters in io.axoniq.framework.messaging.eventstreaming with type arguments of type EventMessageModifier and TypeMethodDescriptionMultiStreamableEventSource.SourceCollector.comparingUsing(Comparator<MessageStream.Entry<EventMessage>> comparator) Creates a MultiStreamableEventSource using a custom comparator.Constructor parameters in io.axoniq.framework.messaging.eventstreaming with type arguments of type EventMessageModifierConstructorDescriptionprotectedMultiStreamableEventSource(Map<String, StreamableEventSource> eventSources, Comparator<MessageStream.Entry<EventMessage>> eventComparator) Constructs a MultiStreamableEventSource from the collected sources and comparator. -
Uses of EventMessage in io.axoniq.framework.messaging.multitenancy.axonserver.eventstreaming
Method parameters in io.axoniq.framework.messaging.multitenancy.axonserver.eventstreaming with type arguments of type EventMessageModifier and TypeMethodDescriptionMultiTenantPersistentStreamEventSource.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) Subscribes the giveneventsBatchConsumerto the persistent stream of every tenant, opening a stream for each tenant known to theTenantProviderand for every tenant added while the subscription lasts. -
Uses of EventMessage in io.axoniq.framework.messaging.multitenancy.deadletter
Methods in io.axoniq.framework.messaging.multitenancy.deadletter that return types with arguments of type EventMessageModifier and TypeMethodDescriptionTenantAwareSequencedDeadLetterQueueFactory.create(TenantDescriptor tenant, String processorName, Configuration configuration) Creates the concrete dead-letter queue for the giventenantandprocessorName.CompletableFuture<Iterable<Iterable<DeadLetter<? extends EventMessage>>>> TenantRoutingSequencedDeadLetterQueue.deadLetters(@Nullable ProcessingContext context) CompletableFuture<Iterable<DeadLetter<? extends EventMessage>>> TenantRoutingSequencedDeadLetterQueue.deadLetterSequence(Object sequenceIdentifier, @Nullable ProcessingContext context) TenantRoutingSequencedDeadLetterQueueRegistry.queueFor(String processorName, Configuration configuration, TenantAwareSequencedDeadLetterQueueFactory factory, TenantDescriptor tenant) Returns the queue of the given tenant for the dead-letter queue identified by the supplied processing group, configuration, and delegate factory.Method parameters in io.axoniq.framework.messaging.multitenancy.deadletter with type arguments of type EventMessageModifier and TypeMethodDescriptionTenantRoutingSequencedDeadLetterQueue.enqueue(Object sequenceIdentifier, DeadLetter<? extends EventMessage> letter, @Nullable ProcessingContext context) TenantRoutingSequencedDeadLetterQueue.evict(DeadLetter<? extends EventMessage> letter, @Nullable ProcessingContext context) TenantRoutingSequencedDeadLetterQueue.process(Predicate<DeadLetter<? extends EventMessage>> sequenceFilter, Function<DeadLetter<? extends EventMessage>, CompletableFuture<EnqueueDecision<EventMessage>>> processingTask, @Nullable ProcessingContext context) TenantRoutingSequencedDeadLetterQueue.process(Predicate<DeadLetter<? extends EventMessage>> sequenceFilter, Function<DeadLetter<? extends EventMessage>, CompletableFuture<EnqueueDecision<EventMessage>>> processingTask, @Nullable ProcessingContext context) TenantRoutingSequencedDeadLetterQueue.process(Predicate<DeadLetter<? extends EventMessage>> sequenceFilter, Function<DeadLetter<? extends EventMessage>, CompletableFuture<EnqueueDecision<EventMessage>>> processingTask, @Nullable ProcessingContext context) TenantRoutingSequencedDeadLetterQueue.requeue(DeadLetter<? extends EventMessage> letter, UnaryOperator<DeadLetter<? extends EventMessage>> letterUpdater, @Nullable ProcessingContext context) TenantRoutingSequencedDeadLetterQueue.requeue(DeadLetter<? extends EventMessage> letter, UnaryOperator<DeadLetter<? extends EventMessage>> letterUpdater, @Nullable ProcessingContext context) -
Uses of EventMessage in io.axoniq.framework.messaging.multitenancy.eventsourcing
Methods in io.axoniq.framework.messaging.multitenancy.eventsourcing that return types with arguments of type EventMessageModifier and TypeMethodDescriptionMultiTenantEventStorageEngine.source(SourcingCondition condition, @Nullable ProcessingContext context) MultiTenantEventStorageEngine.stream(StreamingCondition condition) -
Uses of EventMessage in io.axoniq.framework.messaging.transformation.events
Methods in io.axoniq.framework.messaging.transformation.events that return types with arguments of type EventMessageModifier and TypeMethodDescriptionTransformingEventStore.open(StreamingCondition condition, @Nullable ProcessingContext context) EventTransformerChain.transform(MessageStream<? extends EventMessage> stream, @Nullable ProcessingContext context, MessageConverter converter, MessageTypeResolver messageTypeResolver) Applies the chain to every event in the given stream at read time.Method parameters in io.axoniq.framework.messaging.transformation.events with type arguments of type EventMessageModifier and TypeMethodDescriptionTransformingEventStore.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) TransformingEventStore.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) EventTransformerChain.transform(MessageStream<? extends EventMessage> stream, @Nullable ProcessingContext context, MessageConverter converter, MessageTypeResolver messageTypeResolver) Applies the chain to every event in the given stream at read time. -
Uses of EventMessage in io.axoniq.framework.postgresql
Methods in io.axoniq.framework.postgresql that return types with arguments of type EventMessageModifier and TypeMethodDescriptionPostgresqlEventStorageEngine.source(SourcingCondition condition, @Nullable ProcessingContext context) PostgresqlEventStorageEngine.stream(StreamingCondition condition) -
Uses of EventMessage in io.axoniq.framework.workflow.dsl.api
Methods in io.axoniq.framework.workflow.dsl.api that return EventMessageModifier and TypeMethodDescriptionPublishStepDefinition.event()Returns the value of theeventrecord component.Methods in io.axoniq.framework.workflow.dsl.api that return types with arguments of type EventMessageModifier and TypeMethodDescriptionEventCondition.predicate()Returns the predicate on anEventMessageand its accompanyingProcessingContextthrough which this condition can be evaluated.Methods in io.axoniq.framework.workflow.dsl.api with parameters of type EventMessageModifier and TypeMethodDescriptionPublishStepDefinition.event(EventMessage event) Returns a copy of this definition with the provided event.Constructors in io.axoniq.framework.workflow.dsl.api with parameters of type EventMessageModifierConstructorDescriptionPublishStepDefinition(String stepName, EventMessage event) Fails fast when a mandatory component isnull; the package's null-marked contract alone is not enforced at runtime, so a user ignoring it is detected here at construction. -
Uses of EventMessage in io.axoniq.framework.workflow.dsl.base
Methods in io.axoniq.framework.workflow.dsl.base with parameters of type EventMessageModifier and TypeMethodDescriptionvoidBaseWorkflowContext.awaitPublish(String stepName, EventMessage event, UnaryOperator<PublishStepDefinition> customizer) Publishes a business event as a durable workflow step and blocks until the step is recorded.BaseWorkflowContext.defaultPublishStepDefinition(String stepName, EventMessage event) Creates the default publish step definition used by theBaseWorkflowContext.publish(String, EventMessage, UnaryOperator)convenience overloads.BaseWorkflowContext.publish(String stepName, EventMessage event, UnaryOperator<PublishStepDefinition> customizer) Publishes a business event as a durable workflow step and returns a handle to await later. -
Uses of EventMessage in io.axoniq.framework.workflow.dsl.simple
Methods in io.axoniq.framework.workflow.dsl.simple with parameters of type EventMessageModifier and TypeMethodDescriptionvoidSimpleWorkflowContext.awaitPublish(String stepName, EventMessage event) Publishes a business event as a durable workflow step and blocks until the step is recorded.SimpleWorkflowContext.publish(String stepName, EventMessage event) Publishes a business event as a durable workflow step and returns a handle to await later. -
Uses of EventMessage in io.axoniq.framework.workflow.history.inmemory
Methods in io.axoniq.framework.workflow.history.inmemory with parameters of type EventMessageModifier and TypeMethodDescriptionWorkflowHistoryProjector.handle(EventMessage event, ProcessingContext context) -
Uses of EventMessage in io.axoniq.framework.workflow.runtime.api.execution.context
Methods in io.axoniq.framework.workflow.runtime.api.execution.context that return EventMessageModifier and TypeMethodDescriptionPrimitiveCommands.SimplePublishCommand.event()Returns the value of theeventrecord component.PublishPrimitive.PublishCommand.event()Event to publish.Methods in io.axoniq.framework.workflow.runtime.api.execution.context with parameters of type EventMessageModifier and TypeMethodDescriptionWorkflowExecution.appendWorkflowEvent(EventMessage event, Context parentContext) Appends a workflow-owned event from the given parent context.voidWorkflowExecution.onEvent(EventMessage eventMessage, ProcessingContext processingContext) Delivers an event to the workflow execution.PrimitiveCommands.publish(String stepName, EventMessage event) Factory method to create aPrimitiveCommands.SimplePublishCommand, the parameter object ofPublishPrimitive.publish(PublishPrimitive.PublishCommand).Constructors in io.axoniq.framework.workflow.runtime.api.execution.context with parameters of type EventMessageModifierConstructorDescriptionSimplePublishCommand(String stepName, EventMessage event) Creates an instance of aSimplePublishCommandrecord class. -
Uses of EventMessage in io.axoniq.framework.workflow.runtime.association
Methods in io.axoniq.framework.workflow.runtime.association that return types with arguments of type EventMessageModifier and TypeMethodDescriptionSerializedAssociation.asEventMessagePredicate(ValueComparisonOperatorRegistry registry) Delivers a predicate that can be used to filter event messages.Methods in io.axoniq.framework.workflow.runtime.association with parameters of type EventMessageModifier and TypeMethodDescriptionMetadataPropertyValueRetriever.apply(EventMessage eventMessage, ProcessingContext processingContext) PayloadPropertyValueRetriever.apply(EventMessage eventMessage, ProcessingContext processingContext) ValueRetriever.apply(EventMessage eventMessage, ProcessingContext processingContext) Retrieves association value from the event message. -
Uses of EventMessage in io.axoniq.framework.workflow.runtime.execution
Methods in io.axoniq.framework.workflow.runtime.execution that return types with arguments of type EventMessageModifier and TypeMethodDescriptionWorkflowConfigurationRegistry.PredicatedWorkflowConfiguration.predicate()Returns the value of thepredicaterecord component.WorkflowEngine.segmentedRouting()Returns the sequencing policy derived from this engine's workflow definitions, which delivers each event to the segment owning the workflow instance it affects.Methods in io.axoniq.framework.workflow.runtime.execution with parameters of type EventMessageModifier and TypeMethodDescriptionprotected CompletableFuture<Void> AbstractStepExecutor.appendEvent(EventMessage eventMessage, Context context) Appends the giveneventMessageunder its append condition, deriving the append's unit of work from the givencontext.SimpleWorkflowExecution.appendWorkflowEvent(EventMessage eventMessage, Context parentContext) MessageWorkflowIdProvider.apply(EventMessage eventMessage) PayloadPropertyWorkflowIdProvider.apply(EventMessage eventMessage) AbstractStepExecutor.eventMessagePayload(EventMessage eventMessage) EventSourcedWorkflowState.evolve(EventMessage eventMessage, ProcessingContext processingContext) Applies an event while notifying workflow status listeners.EventHandlingComponentHandlingAny.handle(EventMessage event, ProcessingContext context) WorkflowEngine.handle(EventMessage event, ProcessingContext context) voidSimpleWorkflowExecution.onEvent(EventMessage eventMessage, ProcessingContext processingContext) WorkflowEventTagResolver.resolve(EventMessage eventMessage) EventHandlingComponentHandlingAny.sequenceIdentifierFor(EventMessage event, ProcessingContext context) Constructor parameters in io.axoniq.framework.workflow.runtime.execution with type arguments of type EventMessageModifierConstructorDescriptionPredicatedWorkflowConfiguration(BiPredicate<EventMessage, ProcessingContext> predicate, WorkflowConfiguration<?> configuration) Creates an instance of aPredicatedWorkflowConfigurationrecord class. -
Uses of EventMessage in io.axoniq.framework.workflow.runtime.util
Methods in io.axoniq.framework.workflow.runtime.util that return EventMessageModifier and TypeMethodDescriptionstatic EventMessageEventMessageUtils.cancelledStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, EventNameCustomizer customizer) Creates a new event message stating that a workflow step has been cancelled.static EventMessageEventMessageUtils.cancelledStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, @Nullable Throwable cause, EventNameCustomizer customizer) Creates a new event message stating that a workflow step has been cancelled, optionally with a cause.static EventMessageEventMessageUtils.cancelledWaitForEventStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, @Nullable Throwable cause, EventNameCustomizer customizer) Creates a cancelled event for a wait-for-event step.static EventMessageEventMessageUtils.cancelledWorkflow(WorkflowEventPublicationContext workflowEventPublicationContext, String workflowName, @Nullable Throwable cause, VersionedType workflowDefinitionId, EventNameCustomizer customizer) static EventMessageEventMessageUtils.cancelledWorkflow(WorkflowEventPublicationContext workflowEventPublicationContext, String workflowName, VersionedType workflowDefinitionId, EventNameCustomizer customizer) Creates a new event message stating that a workflow has been cancelled.static EventMessageEventMessageUtils.completedStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, Map<String, @Nullable Object> result, @Nullable String resultPayloadReducerName, EventNameCustomizer customizer) Creates a new event message stating that a workflow step has completed.static EventMessageEventMessageUtils.completedWaitForEventStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, Map<String, @Nullable Object> result, @Nullable String resultPayloadReducerName, EventNameCustomizer customizer) Creates a completed event for a wait-for-event step.static EventMessageEventMessageUtils.completedWorkflow(WorkflowEventPublicationContext workflowEventPublicationContext, String workflowName, VersionedType workflowDefinitionId, EventNameCustomizer customizer) Creates a new event message stating that a workflow has completed successfully.static EventMessageEventMessageUtils.failedWorkflow(WorkflowEventPublicationContext workflowEventPublicationContext, String workflowName, Exception exception, VersionedType workflowDefinitionId, EventNameCustomizer customizer) Creates a new event message stating that a workflow has failed.static EventMessageEventMessageUtils.failStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, Throwable exception, EventNameCustomizer customizer) Creates a new event message stating that a workflow step has failed.static EventMessageEventMessageUtils.retryingStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, StepRetryInfo retryInfo, EventNameCustomizer customizer) Creates a new event message stating that a workflow step is retrying.static EventMessageEventMessageUtils.retryStartedStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, StepRetryInfo retryInfo, EventNameCustomizer customizer) Creates a new event message stating that a retry attempt of a workflow step has started.static EventMessageEventMessageUtils.startedStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, Map<String, @Nullable Object> local, EventNameCustomizer customizer) Creates a new event message stating that a workflow step has started.static EventMessageEventMessageUtils.startedWaitForEventStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, Map<String, @Nullable Object> local, EventNameCustomizer customizer) Creates a new started event for a wait-for-event step.static EventMessageEventMessageUtils.startedWorkflow(WorkflowEventPublicationContext workflowEventPublicationContext, String workflowName, VersionedType workflowDefinitionId, EventNameCustomizer customizer) Creates a new event message stating that a workflow has started.static EventMessageEventMessageUtils.timeoutStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, Instant time, EventNameCustomizer customizer) Creates a new event message stating that a workflow step has timed out.static EventMessageEventMessageUtils.timeoutWaitForEventStep(WorkflowEventPublicationContext workflowEventPublicationContext, String stepName, Instant time, EventNameCustomizer customizer) Creates a timed-out event for a wait-for-event step.static EventMessageEventMessageUtils.timeoutWorkflow(WorkflowEventPublicationContext workflowEventPublicationContext, String workflowName, Instant time, VersionedType workflowDefinitionId, EventNameCustomizer customizer) Creates a new event message stating that a workflow has timed out.static EventMessageEventMessageUtils.versionMigrationStep(WorkflowEventPublicationContext workflowEventPublicationContext, String changeId, String version, EventNameCustomizer customizer) Creates a new event message recording a migration step for the givenchangeId.Methods in io.axoniq.framework.workflow.runtime.util that return types with arguments of type EventMessageModifier and TypeMethodDescriptionstatic Predicate<EventMessage> EventMessageUtils.workflowIdFilter(String workflowId) Creates a filter predicate for event messages based on the workflow ID. -
Uses of EventMessage in org.axonframework.deadline
Subinterfaces of EventMessage in org.axonframework.deadlineModifier and TypeInterfaceDescriptioninterfaceAnEventMessagefor a deadline, specified by itsdeadlineNameand optionally containing adeadlinePayload.Classes in org.axonframework.deadline that implement EventMessage -
Uses of EventMessage in org.axonframework.eventsourcing
Methods in org.axonframework.eventsourcing with parameters of type EventMessageModifier and TypeMethodDescription@Nullable EEventSourcedEntityFactory.create(ID id, @Nullable EventMessage firstEventMessage, ProcessingContext context) Creates an entity of typeEwith the given identifier.Method parameters in org.axonframework.eventsourcing with type arguments of type EventMessageModifier and TypeMethodDescriptionstatic <ID,E> EventSourcedEntityFactory <ID, E> EventSourcedEntityFactory.fromEventMessage(BiFunction<ID, EventMessage, E> creator) Creates a factory for an entity of typeEusing a specified constructor with the identifier and the event message as parameters. -
Uses of EventMessage in org.axonframework.eventsourcing.annotation.reflection
Methods in org.axonframework.eventsourcing.annotation.reflection with parameters of type EventMessageModifier and TypeMethodDescription@Nullable EAnnotationBasedEventSourcedEntityFactory.create(ID id, @Nullable EventMessage firstEventMessage, ProcessingContext context) -
Uses of EventMessage in org.axonframework.eventsourcing.eventstore
Classes in org.axonframework.eventsourcing.eventstore with type parameters of type EventMessageModifier and TypeClassDescriptionfinal recordGenericTaggedEventMessage<E extends EventMessage>interfaceTaggedEventMessage<E extends EventMessage>A wrapper of anEventMessageand itsTags.Classes in org.axonframework.eventsourcing.eventstore that implement EventMessageModifier and TypeClassDescriptionclassMessage containing a snapshot.classEmptyEventMessageimplementation without anypayload, used as the terminal message of aMessageStream.Methods in org.axonframework.eventsourcing.eventstore that return EventMessageModifier and TypeMethodDescriptionTooManyTagsOnEventMessageException.eventMessage()Returns the message that was rejected by the storage engine.Methods in org.axonframework.eventsourcing.eventstore that return types with arguments of type EventMessageModifier and TypeMethodDescriptionAppendEventsTransactionRejectedException.conflictingEvent()The first event matching thecriteriafound beyond the violated consistency marker, if looked up; empty otherwise.ContinuousMessageStream.fetchNext()InterceptingEventStore.open(StreamingCondition condition, @Nullable ProcessingContext context) StorageEngineBackedEventStore.open(StreamingCondition condition, @Nullable ProcessingContext context) ConflictDiagnosingEventStorageEngine.source(SourcingCondition condition, @Nullable ProcessingContext context) MessageStream<? extends EventMessage> DefaultEventStoreTransaction.source(SourcingCondition condition) MessageStream<? extends EventMessage> DefaultEventStoreTransaction.source(SourcingCondition condition, @Nullable Consumer<Position> resumePositionCallback) default MessageStream<EventMessage> EventStorageEngine.source(SourcingCondition condition) EventStorageEngine.source(SourcingCondition condition, @Nullable ProcessingContext context) Creates a finiteMessageStreamofeventsmatching the givencondition, carrying along the activeProcessingContext.default MessageStream<? extends EventMessage> EventStoreTransaction.source(SourcingCondition condition) Sources aMessageStreamof typeEventMessagebased on the givenconditionthat can be used to rehydrate a model.MessageStream<? extends EventMessage> EventStoreTransaction.source(SourcingCondition condition, @Nullable Consumer<Position> resumePositionCallback) Sources aMessageStreamof typeEventMessagebased on the givencondition, optionally invoking the givenresume positioncallback.SnapshotCapableEventStorageEngine.source(SourcingCondition condition, @Nullable ProcessingContext context) ConflictDiagnosingEventStorageEngine.stream(StreamingCondition condition) EventStorageEngine.stream(StreamingCondition condition) SnapshotCapableEventStorageEngine.stream(StreamingCondition condition) Methods in org.axonframework.eventsourcing.eventstore with parameters of type EventMessageModifier and TypeMethodDescriptionvoidDefaultEventStoreTransaction.appendEvent(EventMessage eventMessage) voidEventStoreTransaction.appendEvent(EventMessage eventMessage) Appends aneventMessageto be appended to anEventStorein this transaction.AnnotationBasedTagResolver.resolve(EventMessage event) MetadataBasedTagResolver.resolve(EventMessage event) MultiTagResolver.resolve(EventMessage event) PayloadBasedTagResolver.resolve(EventMessage event) TagResolver.resolve(EventMessage event) TagResolver.resolve(EventMessage event, @Nullable ProcessingContext context) AppendEventsTransactionRejectedException.withConflictingEvent(@Nullable EventMessage conflictingEvent) Returns a copy ofthis AppendEventsTransactionRejectedExceptionwith itsAppendEventsTransactionRejectedException.conflictingEvent()replaced by the givenconflictingEvent, preserving the original message,AppendEventsTransactionRejectedException.tags(), stack trace, and cause.Method parameters in org.axonframework.eventsourcing.eventstore with type arguments of type EventMessageModifier and TypeMethodDescriptionvoidDefaultEventStoreTransaction.onAppend(Consumer<EventMessage> callback) voidEventStoreTransaction.onAppend(Consumer<EventMessage> callback) Registers acallbackto invoke when an event isappendedto this transaction.InterceptingEventStore.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) StorageEngineBackedEventStore.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) InterceptingEventStore.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) StorageEngineBackedEventStore.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) Constructors in org.axonframework.eventsourcing.eventstore with parameters of type EventMessageModifierConstructorDescriptionTooManyTagsOnEventMessageException(String message, EventMessage eventMessage, Set<Tag> tags) Initialize the exception with given explanatorymessagefor logging, referencing the giveneventMessageandtagsfor debug purposes.Constructor parameters in org.axonframework.eventsourcing.eventstore with type arguments of type EventMessageModifierConstructorDescriptionContinuousMessageStream(Supplier<List<E>> fetcher, Function<E, MessageStream.Entry<EventMessage>> converter, BiFunction<ContinuousMessageStream<?>, Runnable, Registration> callbackTracker) Creates a newContinuousMessageStreaminstance configured with the given strategies.DefaultEventStoreTransaction(EventStorageEngine eventStorageEngine, ProcessingContext processingContext, Function<EventMessage, TaggedEventMessage<?>> eventTagger) Constructs aDefaultEventStoreTransactionusing the giveneventStorageEnginetoappend eventsoriginating from the givencontext.InterceptingEventStore(EventStore delegate, List<MessageDispatchInterceptor<? super EventMessage>> interceptors) Constructs aInterceptingEventStore, delegating all operation to the givendelegate. -
Uses of EventMessage in org.axonframework.eventsourcing.eventstore.inmemory
Methods in org.axonframework.eventsourcing.eventstore.inmemory that return types with arguments of type EventMessageModifier and TypeMethodDescriptionInMemoryEventStorageEngine.source(SourcingCondition condition, @Nullable ProcessingContext context) InMemoryEventStorageEngine.stream(StreamingCondition condition) -
Uses of EventMessage in org.axonframework.eventsourcing.eventstore.jpa
Methods in org.axonframework.eventsourcing.eventstore.jpa that return types with arguments of type EventMessageModifier and TypeMethodDescriptionAggregateBasedJpaEventStorageEngine.source(SourcingCondition condition, @Nullable ProcessingContext context) AggregateBasedJpaEventStorageEngine.stream(StreamingCondition condition) -
Uses of EventMessage in org.axonframework.eventsourcing.eventstore.tracing
Methods in org.axonframework.eventsourcing.eventstore.tracing that return types with arguments of type EventMessageModifier and TypeMethodDescriptionTracingEventStore.open(StreamingCondition condition, @Nullable ProcessingContext context) TracingEventStorageEngine.source(SourcingCondition condition, @Nullable ProcessingContext context) TracingEventStorageEngine.stream(StreamingCondition condition) Method parameters in org.axonframework.eventsourcing.eventstore.tracing with type arguments of type EventMessageModifier and TypeMethodDescriptionTracingEventStore.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) TracingEventStore.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) -
Uses of EventMessage in org.axonframework.eventsourcing.handler
Methods in org.axonframework.eventsourcing.handler with parameters of type EventMessageModifier and TypeMethodDescriptionInitializingEntityEvolver.evolve(I identifier, @Nullable E entity, EventMessage message, ProcessingContext context) Initializes or evolves the given entity using the given message. -
Uses of EventMessage in org.axonframework.eventsourcing.snapshot.api
Methods in org.axonframework.eventsourcing.snapshot.api with parameters of type EventMessageModifier and TypeMethodDescriptiondefault booleanSnapshotPolicy.shouldSnapshot(EventMessage event) Allows triggering a snapshot when sourcing completes, based on an event seen during sourcing.Method parameters in org.axonframework.eventsourcing.snapshot.api with type arguments of type EventMessageModifier and TypeMethodDescriptionstatic SnapshotPolicySnapshotPolicy.whenEventMatches(Predicate<EventMessage> predicate) Creates a policy that triggers a snapshot when the predicate matches an event encountered during sourcing. -
Uses of EventMessage in org.axonframework.extension.metrics.dropwizard
Methods in org.axonframework.extension.metrics.dropwizard with parameters of type EventMessageModifier and TypeMethodDescriptionEventProcessorLatencyMonitor.onMessageIngested(EventMessage message) -
Uses of EventMessage in org.axonframework.extension.metrics.micrometer
Methods in org.axonframework.extension.metrics.micrometer with parameters of type EventMessageModifier and TypeMethodDescriptionEventProcessorLatencyMonitor.onMessageIngested(EventMessage message) -
Uses of EventMessage in org.axonframework.extension.reactor.messaging.core.interception
Methods in org.axonframework.extension.reactor.messaging.core.interception that return types with arguments of type EventMessageModifier and TypeMethodDescriptionDefaultReactorDispatchInterceptorRegistry.eventInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) ReactorDispatchInterceptorRegistry.eventInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) Returns the list ofReactorMessageDispatchInterceptorsregistered forEventMessagesfor a specificcomponentTypeandcomponentName.Method parameters in org.axonframework.extension.reactor.messaging.core.interception with type arguments of type EventMessageModifier and TypeMethodDescriptionDefaultReactorDispatchInterceptorRegistry.registerEventInterceptor(ComponentBuilder<ReactorMessageDispatchInterceptor<? super EventMessage>> interceptorBuilder) DefaultReactorDispatchInterceptorRegistry.registerEventInterceptor(ReactorDispatchInterceptorFactory<? super EventMessage> interceptorFactory) ReactorDispatchInterceptorRegistry.registerEventInterceptor(ComponentBuilder<ReactorMessageDispatchInterceptor<? super EventMessage>> interceptorBuilder) Registers the giveninterceptorBuilderfor anEventMessage-specificReactorMessageDispatchInterceptor.ReactorDispatchInterceptorRegistry.registerEventInterceptor(ReactorDispatchInterceptorFactory<? super EventMessage> interceptorFactory) Registers the given component-awareinterceptorFactoryfor anEventMessage-specificReactorMessageDispatchInterceptor. -
Uses of EventMessage in org.axonframework.extension.reactor.messaging.eventhandling.gateway
Constructor parameters in org.axonframework.extension.reactor.messaging.eventhandling.gateway with type arguments of type EventMessageModifierConstructorDescriptionDefaultReactorEventGateway(EventGateway eventGateway, MessageTypeResolver messageTypeResolver, List<ReactorMessageDispatchInterceptor<? super EventMessage>> dispatchInterceptors) Instantiate aDefaultReactorEventGateway. -
Uses of EventMessage in org.axonframework.extension.spring.messaging
Methods in org.axonframework.extension.spring.messaging that return EventMessageModifier and TypeMethodDescription<T> EventMessageDefaultEventMessageConverter.convertFromInboundMessage(org.springframework.messaging.Message message) <T> EventMessageEventMessageConverter.convertFromInboundMessage(org.springframework.messaging.Message message) Converts a Spring inboundmessageinto an Axon event Messageprotected EventMessageInboundEventMessageChannelAdapter.transformMessage(org.springframework.messaging.Message message) Transforms the given incoming Spring Messagingmessageto an Axon EventMessage.Methods in org.axonframework.extension.spring.messaging with parameters of type EventMessageModifier and TypeMethodDescriptionprotected org.springframework.context.ApplicationEventApplicationContextEventPublisher.convert(EventMessage eventMessage) Converts the given AxoneventMessageto a Spring ApplicationEvent.<T> org.springframework.messaging.MessageDefaultEventMessageConverter.convertToOutboundMessage(EventMessage event) <T> org.springframework.messaging.MessageEventMessageConverter.convertToOutboundMessage(EventMessage event) Converts Axoneventinto Spring message.protected org.springframework.messaging.MessageOutboundEventMessageChannelAdapter.transform(EventMessage event) Transforms the given Axoneventinto a Spring Messaging Message.Method parameters in org.axonframework.extension.spring.messaging with type arguments of type EventMessageModifier and TypeMethodDescriptionprotected voidOutboundEventMessageChannelAdapter.handle(List<? extends EventMessage> events, ProcessingContext context) If allows by the filter, wraps the giveneventin aGenericMessageands sends it to the configuredMessageChannel.InboundEventMessageChannelAdapter.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) Constructor parameters in org.axonframework.extension.spring.messaging with type arguments of type EventMessageModifierConstructorDescriptionInboundEventMessageChannelAdapter(List<BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>>> processors, EventMessageConverter eventMessageConverter) Initialize the adapter to publish all incoming events to the subscribed processors.OutboundEventMessageChannelAdapter(SubscribableEventSource eventSource, org.springframework.messaging.MessageChannel channel, Predicate<? super EventMessage> filter) Initialize an adapter to forward messages from the giveneventSourceto the givenchannel.OutboundEventMessageChannelAdapter(SubscribableEventSource eventSource, org.springframework.messaging.MessageChannel channel, Predicate<? super EventMessage> filter, EventMessageConverter eventMessageConverter) Initialize an adapter to forward messages from the giveneventSourceto the givenchannel. -
Uses of EventMessage in org.axonframework.messaging.core
Method parameters in org.axonframework.messaging.core with type arguments of type EventMessageModifier and TypeMethodDescriptionSubscribableEventSource.subscribe(BiFunction<List<? extends EventMessage>, @Nullable ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) Subscribe the giveneventsBatchConsumerto this event source. -
Uses of EventMessage in org.axonframework.messaging.core.configuration
Method parameters in org.axonframework.messaging.core.configuration with type arguments of type EventMessageModifier and TypeMethodDescriptionMessagingConfigurer.registerEventDispatchInterceptor(ComponentBuilder<MessageDispatchInterceptor<? super EventMessage>> interceptorBuilder) MessagingConfigurer.registerEventHandlerInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) MessagingConfigurer.registerEventMonitor(ComponentBuilder<MessageMonitor<? super EventMessage>> monitorBuilder) Registers aeventMessageMonitorbuilder for all event-specific infrastructure components component in this configuration.MessagingConfigurer.registerEventMonitor(MessageMonitorFactory<? super EventMessage> monitorFactory) Registers amessage monitor factoryforevent-specificinfrastructure components in this configuration. -
Uses of EventMessage in org.axonframework.messaging.core.interception
Methods in org.axonframework.messaging.core.interception that return types with arguments of type EventMessageModifier and TypeMethodDescriptionList<MessageDispatchInterceptor<? super EventMessage>> DefaultDispatchInterceptorRegistry.eventInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) List<MessageHandlerInterceptor<? super EventMessage>> DefaultHandlerInterceptorRegistry.eventInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) List<MessageDispatchInterceptor<? super EventMessage>> DispatchInterceptorRegistry.eventInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) Returns the list ofEventMessage-specificMessageDispatchInterceptorsregistered in this registry for a specificcomponentTypeandcomponentName.List<MessageHandlerInterceptor<? super EventMessage>> HandlerInterceptorRegistry.eventInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) Returns the list ofEventMessage-specificMessageHandlerInterceptorsregistered in this registry for acomponentTypeandcomponentName.Method parameters in org.axonframework.messaging.core.interception with type arguments of type EventMessageModifier and TypeMethodDescriptionDefaultDispatchInterceptorRegistry.registerEventInterceptor(ComponentBuilder<MessageDispatchInterceptor<? super EventMessage>> interceptorBuilder) DefaultDispatchInterceptorRegistry.registerEventInterceptor(DispatchInterceptorFactory<? super EventMessage> interceptorFactory) DefaultHandlerInterceptorRegistry.registerEventInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) DefaultHandlerInterceptorRegistry.registerEventInterceptor(HandlerInterceptorFactory<? super EventMessage> interceptorFactory) DispatchInterceptorRegistry.registerEventInterceptor(ComponentBuilder<MessageDispatchInterceptor<? super EventMessage>> interceptorBuilder) DispatchInterceptorRegistry.registerEventInterceptor(DispatchInterceptorFactory<? super EventMessage> interceptorFactory) Registers the given component-awareinterceptorFactoryfor aEventMessage-specificMessageDispatchInterceptor.HandlerInterceptorRegistry.registerEventInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) Registers the giveninterceptorBuilderfor aEventMessageMessageHandlerInterceptorfor all event handling infrastructure components.HandlerInterceptorRegistry.registerEventInterceptor(HandlerInterceptorFactory<? super EventMessage> interceptorFactory) Registers the given component-awareinterceptorFactoryfor aEventMessageMessageHandlerInterceptorfor all event handling infrastructure components. -
Uses of EventMessage in org.axonframework.messaging.core.sequencing
Methods in org.axonframework.messaging.core.sequencing with parameters of type EventMessageModifier and TypeMethodDescriptionSequentialPerAggregatePolicy.sequenceIdentifierFor(EventMessage message, ProcessingContext context) -
Uses of EventMessage in org.axonframework.messaging.eventhandling
Classes in org.axonframework.messaging.eventhandling that implement EventMessageMethods in org.axonframework.messaging.eventhandling that return EventMessageModifier and TypeMethodDescriptionEventMessage.andMetadata(Map<String, @Nullable String> metadata) GenericEventMessage.andMetadata(Map<String, String> metadata) default EventMessageEventMessage.withConvertedPayload(Class<?> type, Converter converter) EventMessage.withConvertedPayload(Type type, Converter converter) default EventMessageEventMessage.withConvertedPayload(TypeReference<?> type, Converter converter) GenericEventMessage.withConvertedPayload(Type type, Converter converter) EventMessage.withMetadata(Map<String, @Nullable String> metadata) GenericEventMessage.withMetadata(Map<String, String> metadata) Methods in org.axonframework.messaging.eventhandling with parameters of type EventMessageModifier and TypeMethodDescriptionDelegatingEventHandlingComponent.handle(EventMessage event, ProcessingContext context) EventHandler.handle(EventMessage event, ProcessingContext context) Handles the giveneventwithin the givencontext.EventHandlingExceptionHandler.handle(EventMessage event, ProcessingContext context, Throwable error) Called when an event handler throws an exception.SimpleEventHandlingComponent.handle(EventMessage event, ProcessingContext context) default CompletableFuture<Void> EventSink.publish(@Nullable ProcessingContext context, EventMessage @Nullable ... events) Publishes the giveneventswithin the givencontext, when present.DelegatingEventHandlingComponent.sequenceIdentifierFor(EventMessage event, ProcessingContext context) EventHandlingComponent.sequenceIdentifierFor(EventMessage event, ProcessingContext context) Returns the sequence identifier for the givenevent.SimpleEventHandlingComponent.sequenceIdentifierFor(EventMessage event, ProcessingContext context) Returns the sequence identifier for the givenevent.Method parameters in org.axonframework.messaging.eventhandling with type arguments of type EventMessageModifier and TypeMethodDescriptionstatic SimpleEventHandlingComponentSimpleEventHandlingComponent.create(String name, SequencingPolicy<? super EventMessage> sequencingPolicy) Instantiates a simpleEventHandlingComponentthat is able to handle events and delegate them to subcomponents, using the givensequencingPolicyto decide how to sequence incoming events.SimpleEventHandlingComponent.overridePolicyWhenDefault(SequencingPolicy<? super EventMessage> sequencingPolicy) Replaces the defaultSequencingPolicyof aSimpleEventHandlingComponentwith the givensequencingPolicy, only if the default is in place.DelegatingEventBus.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) EventSink.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) Publishes the giveneventswithin the givencontext, when present.InterceptingEventBus.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) InterceptingEventSink.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) SimpleEventBus.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) DelegatingEventBus.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) InterceptingEventBus.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) SimpleEventBus.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) Constructor parameters in org.axonframework.messaging.eventhandling with type arguments of type EventMessageModifierConstructorDescriptionInterceptingEventBus(EventBus delegate, List<MessageDispatchInterceptor<? super EventMessage>> interceptors) Constructs aInterceptingEventBus, delegating all operations to the givendelegate.InterceptingEventSink(EventSink delegate, List<MessageDispatchInterceptor<? super EventMessage>> interceptors) Constructs aInterceptingEventSink, delegating publishing to the givendelegate.protectedSimpleEventHandlingComponent(String name, SequencingPolicy<? super EventMessage> sequencingPolicy) -
Uses of EventMessage in org.axonframework.messaging.eventhandling.annotation
Methods in org.axonframework.messaging.eventhandling.annotation with parameters of type EventMessageModifier and TypeMethodDescriptionAnnotatedEventHandlingComponent.handle(EventMessage event, ProcessingContext context) AnnotatedEventHandlingComponent.sequenceIdentifierFor(EventMessage event, ProcessingContext context) -
Uses of EventMessage in org.axonframework.messaging.eventhandling.configuration
Fields in org.axonframework.messaging.eventhandling.configuration with type parameters of type EventMessageModifier and TypeFieldDescriptionprotected BiFunction<Class<? extends EventProcessor>, String, List<MessageHandlerInterceptor<? super EventMessage>>> EventProcessorConfiguration.interceptorBuilderprotected List<MessageHandlerInterceptor<? super EventMessage>> EventProcessorConfiguration.interceptorsprotected BiFunction<Class<? extends EventProcessor>, String, MessageMonitor<? super EventMessage>> EventProcessorConfiguration.monitorBuilderMethod parameters in org.axonframework.messaging.eventhandling.configuration with type arguments of type EventMessageModifier and TypeMethodDescriptionDefaultEventHandlingComponentsConfigurer.intercepted(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) EventHandlingComponentsConfigurer.CompletePhase.intercepted(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) Registers an interceptor to be applied to all event handling components in this configurer.EventHandlingComponentsConfigurer.CompletePhase.withExceptionHandler(ComponentBuilder<? extends MessageHandlingExceptionHandler<? super EventMessage>> handlerBuilder) Wraps all event handling components with the exception handler built by the givenhandlerBuilder. -
Uses of EventMessage in org.axonframework.messaging.eventhandling.conversion
Methods in org.axonframework.messaging.eventhandling.conversion with type parameters of type EventMessageModifier and TypeMethodDescription<E extends EventMessage>
EDelegatingEventConverter.convertEvent(E event, Type targetType) default <E extends EventMessage,T>
EEventConverter.convertEvent(E event, Class<T> targetType) Converts the givenevent'spayloadto the giventargetType, returning a newEventMessagewith the converted payload.<E extends EventMessage>
EEventConverter.convertEvent(E event, Type targetType) Converts the givenevent'spayloadto the giventargetType, returning a newEventMessagewith the converted payload.<E extends EventMessage,T>
@Nullable TDelegatingEventConverter.convertPayload(E event, Type targetType) default <E extends EventMessage,T>
@Nullable TEventConverter.convertPayload(E event, Class<T> targetType) <E extends EventMessage,T>
@Nullable TEventConverter.convertPayload(E event, Type targetType) -
Uses of EventMessage in org.axonframework.messaging.eventhandling.interception
Methods in org.axonframework.messaging.eventhandling.interception with parameters of type EventMessageModifier and TypeMethodDescriptionInterceptingEventHandlingComponent.handle(EventMessage event, ProcessingContext context) EventMessageHandlerInterceptorChain.proceed(EventMessage event, ProcessingContext context) Constructor parameters in org.axonframework.messaging.eventhandling.interception with type arguments of type EventMessageModifierConstructorDescriptionEventMessageHandlerInterceptorChain(List<MessageHandlerInterceptor<? super EventMessage>> interceptors, EventHandler eventHandler) Constructs a newEventMessageHandlerInterceptorChainwith a list ofinterceptionand aneventHandler.InterceptingEventHandlingComponent(List<MessageHandlerInterceptor<? super EventMessage>> interceptors, EventHandlingComponent delegate) Constructs the component with the given delegate and interceptors. -
Uses of EventMessage in org.axonframework.messaging.eventhandling.processing
Methods in org.axonframework.messaging.eventhandling.processing with parameters of type EventMessageModifier and TypeMethodDescriptionProcessorEventHandlingComponents.sequenceIdentifiersFor(EventMessage event, ProcessingContext context) Retrieves a set of sequence identifiers for the given event message and processing context.Method parameters in org.axonframework.messaging.eventhandling.processing with type arguments of type EventMessageModifier and TypeMethodDescriptionProcessorEventHandlingComponents.handle(List<MessageStream.Entry<? extends EventMessage>> entries, ProcessingContext context) Processes a batch of events in the given processing context. -
Uses of EventMessage in org.axonframework.messaging.eventhandling.processing.errorhandling
Methods in org.axonframework.messaging.eventhandling.processing.errorhandling that return types with arguments of type EventMessageModifier and TypeMethodDescriptionList<? extends EventMessage> ErrorContext.failedEvents()Returns the value of thefailedEventsrecord component.Constructor parameters in org.axonframework.messaging.eventhandling.processing.errorhandling with type arguments of type EventMessageModifierConstructorDescriptionErrorContext(String eventProcessor, Throwable error, List<? extends EventMessage> failedEvents, Context context) Compact constructor of theErrorContextto validate theeventProcessor,error,failedEvents, andcontextare not null. -
Uses of EventMessage in org.axonframework.messaging.eventhandling.processing.streaming.pooled
Methods in org.axonframework.messaging.eventhandling.processing.streaming.pooled that return types with arguments of type EventMessageModifier and TypeMethodDescriptionConsumer<? super EventMessage> PooledStreamingEventProcessorConfiguration.ignoredMessageHandler()Returns the handler for ignored messages.List<MessageHandlerInterceptor<? super EventMessage>> PooledStreamingEventProcessorConfiguration.interceptors()Returns the list ofEventMessage-specificMessageHandlerInterceptorsto add to thePooledStreamingEventProcessorunder construction with this configuration implementation.@Nullable SequencingPolicy<? super EventMessage> PooledStreamingEventProcessorConfiguration.sequencingPolicy()Returns theSequencingPolicythis processor applies to assignedEventHandlingComponentsthat do not define a more specific one.Method parameters in org.axonframework.messaging.eventhandling.processing.streaming.pooled with type arguments of type EventMessageModifier and TypeMethodDescriptionPooledStreamingEventProcessorConfiguration.ignoredMessageHandler(Consumer<? super EventMessage> ignoredMessageHandler) Sets the handler, that is invoked when the event is ignored by allWorkPackages thisCoordinatorcontrols.PooledStreamingEventProcessorConfiguration.sequencingPolicy(SequencingPolicy<? super EventMessage> sequencingPolicy) Sets theSequencingPolicyused to determine the sequence identifier of events handled by thisPooledStreamingEventProcessor, whenever an assignedEventHandlingComponentdoes not define a more specific one.PooledStreamingEventProcessorConfiguration.withInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor) Registers the givenEventMessage-specificMessageHandlerInterceptorfor thePooledStreamingEventProcessorunder construction. -
Uses of EventMessage in org.axonframework.messaging.eventhandling.processing.streaming.segmenting
Methods in org.axonframework.messaging.eventhandling.processing.streaming.segmenting with parameters of type EventMessageModifier and TypeMethodDescriptionSequenceOverridingEventHandlingComponent.handle(EventMessage event, ProcessingContext context) SequencingEventHandlingComponent.handle(EventMessage event, ProcessingContext context) SequenceCachingEventHandlingComponent.sequenceIdentifierFor(EventMessage event, ProcessingContext context) SequenceOverridingEventHandlingComponent.sequenceIdentifierFor(EventMessage event, ProcessingContext context) Constructor parameters in org.axonframework.messaging.eventhandling.processing.streaming.segmenting with type arguments of type EventMessageModifierConstructorDescriptionSequenceOverridingEventHandlingComponent(SequencingPolicy<? super EventMessage> sequencingPolicy, EventHandlingComponent delegate) Creates a newSequenceOverridingEventHandlingComponentthat uses the givensequencingPolicyto override sequence identification while delegating all other operations to thedelegatecomponent. -
Uses of EventMessage in org.axonframework.messaging.eventhandling.processing.subscribing
Methods in org.axonframework.messaging.eventhandling.processing.subscribing that return types with arguments of type EventMessageModifier and TypeMethodDescriptionConsumer<? super EventMessage> SubscribingEventProcessorConfiguration.ignoredMessageHandler()Returns the handler for ignored messages.List<MessageHandlerInterceptor<? super EventMessage>> SubscribingEventProcessorConfiguration.interceptors()Returns the list ofEventMessage-specificMessageHandlerInterceptorsto add to theSubscribingEventProcessorunder construction with this configuration implementation.Method parameters in org.axonframework.messaging.eventhandling.processing.subscribing with type arguments of type EventMessageModifier and TypeMethodDescriptionSubscribingEventProcessorConfiguration.ignoredMessageHandler(Consumer<? super EventMessage> ignoredMessageHandler) Sets the handler, that is invoked when the event is ignored by allEventHandlingComponentsthisSubscribingEventProcessorcontrols.protected voidSubscribingEventProcessor.process(List<EventMessage> eventMessages, @Nullable ProcessingContext context) Deprecated, for removal: This API element is subject to removal in a future version.protected CompletableFuture<Void> SubscribingEventProcessor.processAsync(List<EventMessage> eventMessages, @Nullable ProcessingContext context) Process the given messages, returning aCompletableFuturethat completes when processing is done.SubscribingEventProcessorConfiguration.withInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor) Registers the givenEventMessage-specificMessageHandlerInterceptorfor theSubscribingEventProcessorunder construction. -
Uses of EventMessage in org.axonframework.messaging.eventhandling.replay
Methods in org.axonframework.messaging.eventhandling.replay with parameters of type EventMessageModifier and TypeMethodDescriptionReplayBlockingEventHandlingComponent.handle(EventMessage event, ProcessingContext context) Handles the giveneventunless a replay is in progress. -
Uses of EventMessage in org.axonframework.messaging.eventhandling.tracing
Methods in org.axonframework.messaging.eventhandling.tracing with parameters of type EventMessageModifier and TypeMethodDescriptionTracingEventHandlingComponent.handle(EventMessage event, ProcessingContext context) Method parameters in org.axonframework.messaging.eventhandling.tracing with type arguments of type EventMessageModifier and TypeMethodDescriptionTracingEventBus.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) TracingEventSink.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) TracingEventBus.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) -
Uses of EventMessage in org.axonframework.messaging.eventstreaming
Methods in org.axonframework.messaging.eventstreaming that return types with arguments of type EventMessageModifier and TypeMethodDescriptionStreamableEventSource.open(StreamingCondition condition, @Nullable ProcessingContext context) -
Uses of EventMessage in org.axonframework.messaging.monitoring.configuration
Methods in org.axonframework.messaging.monitoring.configuration that return types with arguments of type EventMessageModifier and TypeMethodDescriptionMessageMonitor<? super EventMessage> DefaultMessageMonitorRegistry.eventMonitor(Configuration config, Class<?> componentType, @Nullable String componentName) MessageMonitor<? super EventMessage> MessageMonitorRegistry.eventMonitor(Configuration config, Class<?> componentType, @Nullable String componentName) Retrieves aMessageMonitorspecifically designed to monitor the processing ofEventMessageinstances for a specificcomponentTypeandcomponentName.Method parameters in org.axonframework.messaging.monitoring.configuration with type arguments of type EventMessageModifier and TypeMethodDescriptionDefaultMessageMonitorRegistry.registerEventMonitor(ComponentBuilder<MessageMonitor<? super EventMessage>> monitorBuilder) DefaultMessageMonitorRegistry.registerEventMonitor(MessageMonitorFactory<? super EventMessage> monitorFactory) MessageMonitorRegistry.registerEventMonitor(ComponentBuilder<MessageMonitor<? super EventMessage>> monitorBuilder) Registers aMessageMonitorspecific forEventMessagetypes using the supplied monitor builder.MessageMonitorRegistry.registerEventMonitor(MessageMonitorFactory<? super EventMessage> monitorFactory) Registers a component-awareMessageMonitorspecifically for monitoring the processing ofEventMessageinstances using the givenmonitorFactory. -
Uses of EventMessage in org.axonframework.messaging.monitoring.interception
Methods in org.axonframework.messaging.monitoring.interception with parameters of type EventMessageModifier and TypeMethodDescriptionMonitoringEventDispatchInterceptor.interceptOnDispatch(EventMessage message, @Nullable ProcessingContext context, MessageDispatchInterceptorChain<EventMessage> interceptorChain) MonitoringEventHandlerInterceptor.interceptOnHandle(EventMessage message, ProcessingContext context, MessageHandlerInterceptorChain<EventMessage> interceptorChain) Method parameters in org.axonframework.messaging.monitoring.interception with type arguments of type EventMessageModifier and TypeMethodDescriptionMonitoringEventDispatchInterceptor.interceptOnDispatch(EventMessage message, @Nullable ProcessingContext context, MessageDispatchInterceptorChain<EventMessage> interceptorChain) MonitoringEventHandlerInterceptor.interceptOnHandle(EventMessage message, ProcessingContext context, MessageHandlerInterceptorChain<EventMessage> interceptorChain) Constructor parameters in org.axonframework.messaging.monitoring.interception with type arguments of type EventMessageModifierConstructorDescriptionMonitoringEventDispatchInterceptor(MessageMonitor<? super EventMessage> messageMonitor) Constructs a new MonitoringEventDispatchInterceptor using the givenMessageMonitor.MonitoringEventHandlerInterceptor(MessageMonitor<? super EventMessage> messageMonitor) Constructs a new MonitoringEventHandlerInterceptor using the givenMessageMonitor. -
Uses of EventMessage in org.axonframework.modelling
Methods in org.axonframework.modelling with parameters of type EventMessageModifier and TypeMethodDescriptionEntityEvolver.evolve(E entity, EventMessage event, ProcessingContext context) Evolve the givenentityby applying the giveneventto it.PayloadBasedEntityEvolver.evolve(E entity, EventMessage event, ProcessingContext context) SimpleEntityEvolvingComponent.evolve(E entity, EventMessage event, ProcessingContext context) -
Uses of EventMessage in org.axonframework.modelling.annotation
Methods in org.axonframework.modelling.annotation with parameters of type EventMessageModifier and TypeMethodDescriptionAnnotationBasedEntityEvolvingComponent.evolve(E entity, EventMessage event, ProcessingContext context) -
Uses of EventMessage in org.axonframework.modelling.entity
Methods in org.axonframework.modelling.entity with parameters of type EventMessageModifier and TypeMethodDescription@Nullable EConcreteEntityMetamodel.evolve(E entity, EventMessage event, ProcessingContext context) PolymorphicEntityMetamodel.evolve(E entity, EventMessage event, ProcessingContext context) -
Uses of EventMessage in org.axonframework.modelling.entity.annotation
Methods in org.axonframework.modelling.entity.annotation with parameters of type EventMessageModifier and TypeMethodDescriptionAnnotatedEntityMetamodel.evolve(E entity, EventMessage event, ProcessingContext context) booleanRoutingKeyEventTargetMatcher.matches(E childEntity, EventMessage message, ProcessingContext processingContext) -
Uses of EventMessage in org.axonframework.modelling.entity.child
Methods in org.axonframework.modelling.entity.child with parameters of type EventMessageModifier and TypeMethodDescriptionAbstractEntityChildMetamodel.evolve(P entity, EventMessage event, ProcessingContext context) booleanEventTargetMatcher.matches(E targetEntity, EventMessage message, ProcessingContext processingContext) -
Uses of EventMessage in org.axonframework.modelling.saga
Methods in org.axonframework.modelling.saga that return EventMessageModifier and TypeMethodDescriptionprotected abstract EventMessageAbstractSagaManager.withHandlerPayload(EventMessage event, ProcessingContext context) Returns the giveneventwith its payload converted to the type the Saga's handler declares for it.protected EventMessageAnnotatedSagaManager.withHandlerPayload(EventMessage event, ProcessingContext context) Methods in org.axonframework.modelling.saga with parameters of type EventMessageModifier and TypeMethodDescriptionprotected abstract booleanAbstractSagaManager.canHandle(EventMessage event, ProcessingContext context) Indicates whether a Saga of the givensagaTypehas a handler for the givenevent.booleanAnnotatedSaga.canHandle(EventMessage event, ProcessingContext context) protected booleanAnnotatedSagaManager.canHandle(EventMessage event, ProcessingContext context) booleanSaga.canHandle(EventMessage event, ProcessingContext context) Indicates whether this saga instance takes the givenevent, which is the case when it isactiveand holds theAssociationValuethat one of its handlers for this event resolves from it.protected abstract Set<AssociationValue> AbstractSagaManager.extractAssociationValues(EventMessage event, ProcessingContext context) Extracts the AssociationValues from the giveneventas relevant for a Saga of givensagaType.protected Set<AssociationValue> AnnotatedSagaManager.extractAssociationValues(EventMessage event, ProcessingContext context) SagaMethodMessageHandlingMember.getAssociationValue(EventMessage eventMessage) The AssociationValue to find the saga instance with, ornullif no AssociationValue can be found on the giveneventMessage.protected abstract SagaInitializationPolicyAbstractSagaManager.getSagaCreationPolicy(EventMessage event, ProcessingContext context) Returns the Saga Initialization Policy for a Saga of the givensagaTypeandevent.protected SagaInitializationPolicyAnnotatedSagaManager.getSagaCreationPolicy(EventMessage event, ProcessingContext context) AbstractSagaManager.handle(EventMessage rawEvent, ProcessingContext context) Handles the giveneventwithin the givencontext.AnnotatedSaga.handle(EventMessage event, ProcessingContext context) <T> ObjectAssociationResolver.resolve(String associationPropertyName, EventMessage message, MessageHandlingMember<T> handler) Resolves the associationPropertyName as a value.<T> ObjectMetadataAssociationResolver.resolve(String associationPropertyName, EventMessage message, MessageHandlingMember<T> handler) Finds the association property value by looking up the association property name in the event message'sMetadata.<T> ObjectPayloadAssociationResolver.resolve(String associationPropertyName, EventMessage message, MessageHandlingMember<T> handler) Finds the association property value in the message's payload.AbstractSagaManager.sequenceIdentifierFor(EventMessage event, ProcessingContext context) Returns the sequence identifier for the givenevent.default ObjectSaga.sequenceIdentifierFor(EventMessage event, ProcessingContext context) Returns the sequence identifier for the givenevent.protected abstract EventMessageAbstractSagaManager.withHandlerPayload(EventMessage event, ProcessingContext context) Returns the giveneventwith its payload converted to the type the Saga's handler declares for it.protected EventMessageAnnotatedSagaManager.withHandlerPayload(EventMessage event, ProcessingContext context) -
Uses of EventMessage in org.axonframework.modelling.saga.metamodel
Methods in org.axonframework.modelling.saga.metamodel with parameters of type EventMessageModifier and TypeMethodDescriptionList<MessageHandlingMember<? super T>> SagaModel.findHandlerMethods(EventMessage event, ProcessingContext context) Returns aListofMessageHandlingMemberthat can handle the given event.default booleanSagaModel.hasHandlerMethod(EventMessage eventMessage, ProcessingContext context) Indicates whether the Saga described by this model has a handler for the giveneventMessageSagaModel.resolveAssociation(EventMessage eventMessage, ProcessingContext context) -
Uses of EventMessage in org.axonframework.test.fixture
Methods in org.axonframework.test.fixture that return types with arguments of type EventMessageModifier and TypeMethodDescriptionRecordingEventStore.open(StreamingCondition condition, @Nullable ProcessingContext context) RecordingEventSink.recorded()Returns a copied list of all theEventMessagespublished.Methods in org.axonframework.test.fixture with parameters of type EventMessageModifier and TypeMethodDescriptionAxonTestPhase.Given.events(EventMessage... messages) Configures the givenmessagesas events in the "given" state.AxonTestPhase.Then.MessageAssertions.events(EventMessage... expectedEvents) Expect the given set of event messages to have been published during theAxonTestPhase.Whenphase.AxonTestPhase.When.events(EventMessage... messages) Publishes the given Event Messages to the appropriate event handlers and records all activity for result validation.Method parameters in org.axonframework.test.fixture with type arguments of type EventMessageModifier and TypeMethodDescriptionAxonTestPhase.Then.MessageAssertions.eventsMatch(Predicate<List<EventMessage>> predicate) Allow to check if the set of event messages which have been published during the When phase match givenpredicate.AxonTestPhase.Then.MessageAssertions.eventsSatisfy(Consumer<List<EventMessage>> consumer) Invokes the givenconsumerof the set of event messages that have been published during the When phase, allowing for any form of assertion.RecordingEventSink.publish(@Nullable ProcessingContext context, List<? extends EventMessage> events) RecordingEventBus.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) RecordingEventStore.subscribe(BiFunction<List<? extends EventMessage>, ProcessingContext, CompletableFuture<?>> eventsBatchConsumer) -
Uses of EventMessage in org.axonframework.test.matchers
Methods in org.axonframework.test.matchers that return types with arguments of type EventMessageModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<List<EventMessage>> Matchers.noEvents() -
Uses of EventMessage in org.axonframework.test.saga
Method parameters in org.axonframework.test.saga with type arguments of type EventMessageModifier and TypeMethodDescriptionFixtureExecutionResult.expectNoScheduledEventMatching(Duration durationToScheduledTime, org.hamcrest.Matcher<? super EventMessage> matcher) Asserts that no event matching the givenmatcheris scheduled after the given duration.FixtureExecutionResult.expectNoScheduledEventMatching(Instant scheduledTime, org.hamcrest.Matcher<? super EventMessage> matcher) Asserts that no event matching the givenmatcheris scheduled at the givenscheduledTime.FixtureExecutionResult.expectPublishedEventsMatching(org.hamcrest.Matcher<? extends List<? super EventMessage>> matcher) Asserts that the Sagas published events matching the givenmatcher.FixtureExecutionResult.expectScheduledEventMatching(Duration duration, org.hamcrest.Matcher<? super EventMessage> matcher) Asserts that an event matching the givenmatcheris scheduled after the givenduration.FixtureExecutionResult.expectScheduledEventMatching(Instant scheduledTime, org.hamcrest.Matcher<? super EventMessage> matcher) Asserts that an event matching the givenmatcheris scheduled at the givenscheduledTime.FixtureConfiguration.registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor) Registers the giveninterceptor, invoked around the Saga's event handling.SagaTestFixture.registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor)
SubscribingEventProcessor.processAsync(List, ProcessingContext), which reports completion and failures through the returnedCompletableFuturerather than blocking the calling thread.