Class DistributedQueryBusConfigurationEnhancer

java.lang.Object
org.axonframework.messaging.queryhandling.distributed.DistributedQueryBusConfigurationEnhancer
All Implemented Interfaces:
ConfigurationEnhancer

@Internal public class DistributedQueryBusConfigurationEnhancer extends Object implements ConfigurationEnhancer
Configuration enhancer for the DistributedQueryBus, which upon detection of a QueryBusConnector in the configuration will decorate the regular QueryBus with the provided connector.
Since:
5.0.0
Author:
Mateusz Nowak
  • Field Details

    • DISTRIBUTED_QUERY_BUS_ORDER

      public static final int DISTRIBUTED_QUERY_BUS_ORDER
      The order in which the DistributedQueryBus is applied to the QueryBus in the ComponentRegistry. As such, any decorator with a lower value will be applied to the delegate, and any higher value will be applied to the DistributedQueryBus itself. Using the same value can either lead to application of the decorator to the delegate or the distributed query bus, depending on the order of registration.
      See Also:
  • Constructor Details

    • DistributedQueryBusConfigurationEnhancer

      public DistributedQueryBusConfigurationEnhancer()
  • Method Details