Class DistributedCommandBusConfigurationEnhancer

java.lang.Object
org.axonframework.messaging.commandhandling.distributed.DistributedCommandBusConfigurationEnhancer
All Implemented Interfaces:
ConfigurationEnhancer

@Internal public class DistributedCommandBusConfigurationEnhancer extends Object implements ConfigurationEnhancer
Configuration enhancer for the DistributedCommandBus, which upon detection of a CommandBusConnector in the configuration will decorate the regular CommandBus with the provided connector.
Since:
5.0.0
Author:
Mitchell Herrijgers
  • Field Details

    • DISTRIBUTED_COMMAND_BUS_ORDER

      public static final int DISTRIBUTED_COMMAND_BUS_ORDER
      The order in which the DistributedCommandBus is applied to the CommandBus 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 DistributedCommandBus itself. Using the same value can either lead to application of the decorator to the delegate or the distributed command bus, depending on the order of registration.
      See Also:
  • Constructor Details

    • DistributedCommandBusConfigurationEnhancer

      public DistributedCommandBusConfigurationEnhancer()
  • Method Details