Uses of Interface
org.axonframework.queryhandling.QueryMessage
Packages that use QueryMessage
Package
Description
-
Uses of QueryMessage in org.axonframework.axonserver.connector.query
Classes in org.axonframework.axonserver.connector.query that implement QueryMessageModifier and TypeClassDescriptionclassWrapper that allows clients to access a gRPCQueryRequestas aQueryMessage.Methods in org.axonframework.axonserver.connector.query that return QueryMessageModifier and TypeMethodDescription<Q,R> QueryMessage <Q, R> QuerySerializer.deserializeRequest(io.axoniq.axonserver.grpc.query.QueryRequest queryRequest) Convert aQueryRequestinto aQueryMessage.Methods in org.axonframework.axonserver.connector.query with parameters of type QueryMessageModifier and TypeMethodDescriptionintQueryPriorityCalculator.determinePriority(QueryMessage<?, ?> query) Determines the priority of the givenquery.<Q,R> CompletableFuture <QueryResponseMessage<R>> AxonServerQueryBus.query(QueryMessage<Q, R> queryMessage) <Q,R> Stream <QueryResponseMessage<R>> AxonServerQueryBus.scatterGather(QueryMessage<Q, R> queryMessage, long timeout, TimeUnit timeUnit) <Q,R> io.axoniq.axonserver.grpc.query.QueryRequest QuerySerializer.serializeRequest(QueryMessage<Q, R> queryMessage, int nrResults, long timeout, int priority) Convert aQueryMessageinto aQueryRequest.<Q,R> io.axoniq.axonserver.grpc.query.QueryRequest QuerySerializer.serializeRequest(QueryMessage<Q, R> queryMessage, int nrResults, long timeout, int priority, boolean stream) Convert aQueryMessageinto aQueryRequest.Method parameters in org.axonframework.axonserver.connector.query with type arguments of type QueryMessageModifier and TypeMethodDescriptionAxonServerQueryBus.registerDispatchInterceptor(MessageDispatchInterceptor<? super QueryMessage<?, ?>> dispatchInterceptor) AxonServerQueryBus.registerHandlerInterceptor(MessageHandlerInterceptor<? super QueryMessage<?, ?>> interceptor) <R> RegistrationAxonServerQueryBus.subscribe(String queryName, Type responseType, MessageHandler<? super QueryMessage<?, R>> handler) AxonServerQueryBus.Builder.targetContextResolver(TargetContextResolver<? super QueryMessage<?, ?>> targetContextResolver) Sets theTargetContextResolverused to resolve the target (bounded) context of an ingestedQueryMessage. -
Uses of QueryMessage in org.axonframework.axonserver.connector.query.subscription
Classes in org.axonframework.axonserver.connector.query.subscription that implement QueryMessageModifier and TypeClassDescriptionclassWrapper that allows clients to access a gRPCSubscriptionQuerymessage as aSubscriptionQueryMessage. -
Uses of QueryMessage in org.axonframework.metrics
Methods in org.axonframework.metrics that return types with arguments of type QueryMessageModifier and TypeMethodDescriptionMessageMonitor<? super QueryMessage<?, ?>> GlobalMetricRegistry.registerQueryBus(String queryBusName) Registers new metrics to the registry to monitor aQueryBus. -
Uses of QueryMessage in org.axonframework.micrometer
Methods in org.axonframework.micrometer that return types with arguments of type QueryMessageModifier and TypeMethodDescriptionMessageMonitor<? super QueryMessage<?, ?>> GlobalMetricRegistry.registerQueryBus(String queryBusName) Registers new metrics to the registry to monitor aQueryBus.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. -
Uses of QueryMessage in org.axonframework.queryhandling
Subinterfaces of QueryMessage in org.axonframework.queryhandlingModifier and TypeInterfaceDescriptioninterfaceA special type ofQueryMessageused for initiating streaming queries.interfaceSubscriptionQueryMessage<Q,I, U> Message type that carries a Subscription Query: a request for information.Classes in org.axonframework.queryhandling that implement QueryMessageModifier and TypeClassDescriptionclassGenericQueryMessage<T,R> Generic implementation of the QueryMessage.classGeneric implementation of theStreamingQueryMessage.classGeneric implementation of theSubscriptionQueryMessage.Methods in org.axonframework.queryhandling with type parameters of type QueryMessageModifier and TypeMethodDescription<T,R, M extends QueryMessage<T, R>>
MDefaultQueryBusSpanFactory.propagateContext(M queryMessage) <T,R, M extends QueryMessage<T, R>>
MQueryBusSpanFactory.propagateContext(M queryMessage) Propagates the context of the current span to the givenqueryMessage.Methods in org.axonframework.queryhandling that return QueryMessageModifier and TypeMethodDescriptionGenericQueryMessage.andMetaData(Map<String, ?> metaData) QueryMessage.andMetaData(Map<String, ?> additionalMetaData) Returns a copy of this QueryMessage with its MetaData merged with givenmetaData.GenericQueryMessage.withMetaData(Map<String, ?> metaData) QueryMessage.withMetaData(Map<String, ?> metaData) Returns a copy of this QueryMessage with the givenmetaData.Methods in org.axonframework.queryhandling that return types with arguments of type QueryMessageModifier and TypeMethodDescriptionMessageHandler<? super QueryMessage<?, R>> QuerySubscription.getQueryHandler()Retrieve the query handler of this subscription as aMessageHandler.Methods in org.axonframework.queryhandling with parameters of type QueryMessageModifier and TypeMethodDescriptionDefaultQueryBusSpanFactory.createQueryProcessingSpan(QueryMessage<?, ?> queryMessage) QueryBusSpanFactory.createQueryProcessingSpan(QueryMessage<?, ?> queryMessage) Creates a span for processing a query.DefaultQueryBusSpanFactory.createQuerySpan(QueryMessage<?, ?> queryMessage, boolean distributed) QueryBusSpanFactory.createQuerySpan(QueryMessage<?, ?> queryMessage, boolean distributed) Creates a span for a query.DefaultQueryBusSpanFactory.createResponseProcessingSpan(QueryMessage<?, ?> queryMessage) QueryBusSpanFactory.createResponseProcessingSpan(QueryMessage<?, ?> queryMessage) Creates a span for processing a response.DefaultQueryBusSpanFactory.createScatterGatherHandlerSpan(QueryMessage<?, ?> queryMessage, int handlerIndex) QueryBusSpanFactory.createScatterGatherHandlerSpan(QueryMessage<?, ?> queryMessage, int handlerIndex) Creates a span for one of the handlers of a scatter-gather query.DefaultQueryBusSpanFactory.createScatterGatherSpan(QueryMessage<?, ?> queryMessage, boolean distributed) QueryBusSpanFactory.createScatterGatherSpan(QueryMessage<?, ?> queryMessage, boolean distributed) Creates a span for a scatter-gather query.DefaultQueryBusSpanFactory.createStreamingQuerySpan(QueryMessage<?, ?> queryMessage, boolean distributed) QueryBusSpanFactory.createStreamingQuerySpan(QueryMessage<?, ?> queryMessage, boolean distributed) Creates a span for a streaming query.voidLoggingQueryInvocationErrorHandler.onError(Throwable error, QueryMessage<?, ?> queryMessage, MessageHandler messageHandler) voidQueryInvocationErrorHandler.onError(Throwable error, QueryMessage<?, ?> queryMessage, MessageHandler messageHandler) Invoked when an error occurred while invoking a message handler in a scatter-gather query.<Q,R> CompletableFuture <QueryResponseMessage<R>> QueryBus.query(QueryMessage<Q, R> query) Dispatch the givenqueryto a single QueryHandler subscribed to the givenquery's queryName and responseType.<Q,R> CompletableFuture <QueryResponseMessage<R>> SimpleQueryBus.query(QueryMessage<Q, R> query) <Q,R> Stream <QueryResponseMessage<R>> QueryBus.scatterGather(QueryMessage<Q, R> query, long timeout, TimeUnit unit) Dispatch the givenqueryto all QueryHandlers subscribed to the givenquery's queryName/responseType.<Q,R> Stream <QueryResponseMessage<R>> SimpleQueryBus.scatterGather(QueryMessage<Q, R> query, long timeout, TimeUnit unit) Method parameters in org.axonframework.queryhandling with type arguments of type QueryMessageModifier and TypeMethodDescriptionDefaultQueryGateway.Builder.dispatchInterceptors(List<MessageDispatchInterceptor<? super QueryMessage<?, ?>>> dispatchInterceptors) SimpleQueryBus.Builder.messageMonitor(MessageMonitor<? super QueryMessage<?, ?>> messageMonitor) Sets theMessageMonitorused to monitor query messages.DefaultQueryGateway.registerDispatchInterceptor(MessageDispatchInterceptor<? super QueryMessage<?, ?>> interceptor) SimpleQueryBus.registerDispatchInterceptor(MessageDispatchInterceptor<? super QueryMessage<?, ?>> interceptor) Registers an interceptor that intercepts Queries as they are sent.SimpleQueryBus.registerHandlerInterceptor(MessageHandlerInterceptor<? super QueryMessage<?, ?>> interceptor) Registers an interceptor that is used to intercept Queries before they are passed to their respective handlers.<R> RegistrationQueryBus.subscribe(String queryName, Type responseType, MessageHandler<? super QueryMessage<?, R>> handler) Subscribe the givenhandlerto queries with the givenqueryNameandresponseType.<R> RegistrationSimpleQueryBus.subscribe(String queryName, Type responseType, MessageHandler<? super QueryMessage<?, R>> handler) Constructors in org.axonframework.queryhandling with parameters of type QueryMessageModifierConstructorDescriptionNoHandlerForQueryException(QueryMessage<?, ?> query) Initialize this exception with a message describing the givenQueryMessage.Constructor parameters in org.axonframework.queryhandling with type arguments of type QueryMessageModifierConstructorDescriptionQuerySubscription(Type responseType, MessageHandler<? super QueryMessage<?, R>> queryHandler) -
Uses of QueryMessage in org.axonframework.queryhandling.annotation
Methods in org.axonframework.queryhandling.annotation with parameters of type QueryMessageModifier and TypeMethodDescriptionbooleanAnnotationQueryHandlerAdapter.canHandle(QueryMessage<?, ?> message) AnnotationQueryHandlerAdapter.handle(QueryMessage<?, ?> message) -
Uses of QueryMessage in org.axonframework.springboot.autoconfig
Method parameters in org.axonframework.springboot.autoconfig with type arguments of type QueryMessageModifier and TypeMethodDescriptionAxonServerBusAutoConfiguration.queryBus(AxonServerConnectionManager axonServerConnectionManager, AxonServerConfiguration axonServerConfiguration, Configuration axonConfiguration, TransactionManager txManager, Serializer messageSerializer, Serializer genericSerializer, QueryPriorityCalculator priorityCalculator, QueryInvocationErrorHandler queryInvocationErrorHandler, TargetContextResolver<? super QueryMessage<?, ?>> targetContextResolver) org.springframework.beans.factory.InitializingBeanInterceptorAutoConfiguration.queryDispatchInterceptorConfigurer(QueryGateway queryGateway, Optional<List<MessageDispatchInterceptor<? super QueryMessage<?, ?>>>> interceptors) org.springframework.beans.factory.InitializingBeanInterceptorAutoConfiguration.queryHandlerInterceptorConfigurer(QueryBus queryBus, Optional<List<MessageHandlerInterceptor<? super QueryMessage<?, ?>>>> interceptors)