Uses of Class
org.axonframework.messaging.MetaData
Packages that use MetaData
Package
Description
Classes related to event sourcing.
Classes related to message processing in Axon Framework.
Classes related to message processing in Axon Framework.
A collection of classes which may prove useful when testing Axon-based classes.
-
Uses of MetaData in org.axonframework.axonserver.connector.command
Methods in org.axonframework.axonserver.connector.command that return MetaData -
Uses of MetaData in org.axonframework.axonserver.connector.query
Methods in org.axonframework.axonserver.connector.query that return MetaDataModifier and TypeMethodDescriptionGrpcBackedQueryMessage.getMetaData()GrpcBackedResponseMessage.getMetaData() -
Uses of MetaData in org.axonframework.axonserver.connector.query.subscription
Methods in org.axonframework.axonserver.connector.query.subscription that return MetaData -
Uses of MetaData in org.axonframework.axonserver.connector.util
Methods in org.axonframework.axonserver.connector.util that return MetaDataModifier and TypeMethodDescriptionConvert the givenMapofMetaDataValues to a Map containing the Java representations of each of those values.GrpcMetaData.get()Methods in org.axonframework.axonserver.connector.util with parameters of type MetaData -
Uses of MetaData in org.axonframework.commandhandling.gateway
Methods in org.axonframework.commandhandling.gateway with parameters of type MetaDataModifier and TypeMethodDescriptiondefault <R> CompletableFuture<R> Sends the givencommandwith the givenmetaDataand returns aCompletableFutureimmediately, without waiting for the command to execute.default <R> RCommandGateway.sendAndWait(Object command, MetaData metaData) Sends the givencommandwith the givenmetaDataand wait for it to execute.default <R> RCommandGateway.sendAndWait(Object command, MetaData metaData, long timeout, TimeUnit unit) Sends the givencommandwith the givenmetaDataand wait for it to execute. -
Uses of MetaData in org.axonframework.eventhandling.deadletter.jdbc
Methods in org.axonframework.eventhandling.deadletter.jdbc that return MetaDataMethods in org.axonframework.eventhandling.deadletter.jdbc with parameters of type MetaDataModifier and TypeMethodDescriptionDeadLetterStatementFactory.requeueStatement(Connection connection, String identifier, Cause cause, Instant lastTouched, MetaData diagnostics) Constructs thePreparedStatementused for theJdbcSequencedDeadLetterQueue.requeue(DeadLetter, UnaryOperator)operation.DefaultDeadLetterStatementFactory.requeueStatement(Connection connection, String letterIdentifier, Cause cause, Instant lastTouched, MetaData diagnostics) JdbcDeadLetter.withDiagnostics(MetaData diagnostics) Constructors in org.axonframework.eventhandling.deadletter.jdbc with parameters of type MetaDataModifierConstructorDescriptionJdbcDeadLetter(String identifier, long index, String sequenceIdentifier, Instant enqueuedAt, Instant lastTouched, Cause cause, MetaData diagnostics, E message) Constructs a newJdbcDeadLetterwith all possible parameters. -
Uses of MetaData in org.axonframework.eventhandling.deadletter.jpa
Methods in org.axonframework.eventhandling.deadletter.jpa that return MetaDataMethods in org.axonframework.eventhandling.deadletter.jpa with parameters of type MetaDataModifier and TypeMethodDescriptionvoidDeadLetterEntry.setDiagnostics(MetaData diagnostics, Serializer serializer) Sets the diagnostics, taking in aSerializerto serialize if to the correct format.JpaDeadLetter.withDiagnostics(MetaData diagnostics) Constructors in org.axonframework.eventhandling.deadletter.jpa with parameters of type MetaDataModifierConstructorDescriptionDeadLetterEntry(String processingGroup, String sequenceIdentifier, long sequenceIndex, DeadLetterEventEntry message, Instant enqueuedAt, Instant lastTouched, Cause cause, MetaData diagnostics, Serializer serializer) Creates a newDeadLetterEntryconsisting of the given parameters.JpaDeadLetter(DeadLetterEntry entry, MetaData diagnostics, M message) Constructs a newJpaDeadLetterfrom aDeadLetterEntry, deserialized diagnostics and a reconstructed message. -
Uses of MetaData in org.axonframework.eventhandling.deadletter.legacyjpa
Methods in org.axonframework.eventhandling.deadletter.legacyjpa that return MetaDataMethods in org.axonframework.eventhandling.deadletter.legacyjpa with parameters of type MetaDataModifier and TypeMethodDescriptionJpaDeadLetter.withDiagnostics(MetaData diagnostics) Deprecated.Constructors in org.axonframework.eventhandling.deadletter.legacyjpa with parameters of type MetaDataModifierConstructorDescriptionJpaDeadLetter(DeadLetterEntry entry, MetaData diagnostics, M message) Deprecated.Constructs a newJpaDeadLetterfrom aDeadLetterEntry, deserialized diagnostics and a reconstructed message. -
Uses of MetaData in org.axonframework.eventsourcing
Methods in org.axonframework.eventsourcing with parameters of type MetaData -
Uses of MetaData in org.axonframework.messaging
Methods in org.axonframework.messaging that return MetaDataModifier and TypeMethodDescriptionReturns a MetaData instances containing the current entries, and the givenkeyand givenvalue.MetaData.andIfNotPresent(String key, Supplier<Object> value) Returns a MetaData instances containing the current entries, and the givenkeyif it was not yet present in this MetaData.static MetaDataMetaData.emptyInstance()Returns an empty MetaData instance.static MetaDataCreates a new MetaData instance from the givenmetaDataEntries.GenericMessage.getMetaData()Message.getMetaData()Returns the meta data for this message.MessageDecorator.getMetaData()MetaData.mergedWith(Map<String, ?> additionalEntries) Returns a MetaData instance containing values ofthis, combined with the givenadditionalEntries.Returns a MetaData instance containing a subset of thekeysin this instance.static MetaDataCreates a MetaData instances with a single entry, with the givenkeyand givenvalue.MetaData.withoutKeys(Set<String> keys) Returns a MetaData instance with the items with givenkeysremoved.Methods in org.axonframework.messaging with parameters of type MetaDataModifier and TypeMethodDescriptionAbstractMessage.withMetaData(MetaData metaData) Returns a new message instance with the same payload and properties as this message but givenmetaData.GenericMessage.withMetaData(MetaData metaData) -
Uses of MetaData in org.axonframework.messaging.deadletter
Methods in org.axonframework.messaging.deadletter that return MetaDataModifier and TypeMethodDescriptionDeadLetter.diagnostics()The diagnosticMetaDataconcerning this letter.GenericDeadLetter.diagnostics()Methods in org.axonframework.messaging.deadletter with parameters of type MetaDataModifier and TypeMethodDescriptionDeadLetter.withDiagnostics(MetaData diagnostics) Construct a copy of thisDeadLetter, replacing theDeadLetter.diagnostics()with the givendiagnostics.GenericDeadLetter.withDiagnostics(MetaData diagnostics) Method parameters in org.axonframework.messaging.deadletter with type arguments of type MetaDataModifier and TypeMethodDescriptionstatic <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<?>>
ShouldEnqueue<M> Decisions.requeue(Throwable requeueCause, Function<DeadLetter<? extends M>, MetaData> diagnosticsBuilder) Construct aShouldEnqueuedefining that adead lettershould be requeued because of the givenrequeueCause.default DeadLetter<M> DeadLetter.withDiagnostics(UnaryOperator<MetaData> diagnosticsBuilder) Construct a copy of thisDeadLetter, replacing theDeadLetter.diagnostics()with the result of the givendiagnosticsBuilder.Constructors in org.axonframework.messaging.deadletter with parameters of type MetaDataModifierConstructorDescriptionGenericDeadLetter(Object sequenceIdentifier, M message, Cause cause, Instant enqueuedAt, Instant lastTouched, MetaData diagnostics) Construct aGenericDeadLetterdefining all the fields.Constructor parameters in org.axonframework.messaging.deadletter with type arguments of type MetaDataModifierConstructorDescriptionShouldEnqueue(Throwable enqueueCause, Function<DeadLetter<? extends M>, MetaData> diagnosticsBuilder) Constructs a defaultEnqueueDecisionto enqueue using the givenenqueueCauseas theShouldEnqueue.enqueueCause(). -
Uses of MetaData in org.axonframework.messaging.responsetypes
Methods in org.axonframework.messaging.responsetypes that return MetaData -
Uses of MetaData in org.axonframework.messaging.unitofwork
Methods in org.axonframework.messaging.unitofwork that return MetaDataModifier and TypeMethodDescriptionstatic MetaDataCurrentUnitOfWork.correlationData()Returns the Correlation Data attached to the current Unit of Work, or an emptyMetaDatainstance if no Unit of Work is started.AbstractUnitOfWork.getCorrelationData()UnitOfWork.getCorrelationData()Get the correlation data contained in themessagebeing processed by the Unit of Work. -
Uses of MetaData in org.axonframework.modelling.command
Methods in org.axonframework.modelling.command with parameters of type MetaDataModifier and TypeMethodDescriptionstatic ApplyMoreApply aDomainEventMessagewith given payload and metadata (metadata from interceptors will be combined with the provided metadata).protected abstract <T> ApplyMoreApply aDomainEventMessagewith given payload and metadata (metadata from interceptors will be combined with the provided metadata). -
Uses of MetaData in org.axonframework.modelling.command.inspection
Methods in org.axonframework.modelling.command.inspection with parameters of type MetaDataModifier and TypeMethodDescriptionprotected <P> EventMessage<P> AnnotatedAggregate.createMessage(P payload, MetaData metaData) protected <P> ApplyMore -
Uses of MetaData in org.axonframework.serialization
Methods in org.axonframework.serialization that return MetaDataMethods in org.axonframework.serialization with parameters of type MetaDataModifier and TypeMethodDescriptionprotected SerializedMessage<T> SerializedMessage.withMetaData(MetaData metaData) -
Uses of MetaData in org.axonframework.serialization.jackson3
Methods in org.axonframework.serialization.jackson3 that return MetaDataModifier and TypeMethodDescriptionMetaDataDeserializer.deserialize(tools.jackson.core.JsonParser jp, tools.jackson.databind.DeserializationContext ctxt) -
Uses of MetaData in org.axonframework.serialization.json
Methods in org.axonframework.serialization.json that return MetaDataModifier and TypeMethodDescriptionMetaDataDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) -
Uses of MetaData in org.axonframework.serialization.upcasting.event
Methods in org.axonframework.serialization.upcasting.event that return types with arguments of type MetaDataModifier and TypeMethodDescriptionInitialEventRepresentation.getMetaData()IntermediateEventRepresentation.getMetaData()Returns the meta data of the message wrapping the object being upcast.UpcastedEventRepresentation.getMetaData() -
Uses of MetaData in org.axonframework.test.aggregate
Methods in org.axonframework.test.aggregate with parameters of type MetaData -
Uses of MetaData in org.axonframework.test.utils
Methods in org.axonframework.test.utils with parameters of type MetaData