Class ConsumerConfiguration

java.lang.Object
io.fluxcapacitor.javaclient.tracking.ConsumerConfiguration

public class ConsumerConfiguration extends Object
Configuration class that defines how a message consumer behaves during message tracking and handler invocation.

ConsumerConfiguration is used to fine-tune the behavior of message consumers beyond what is possible with the Consumer annotation. It supports handler filtering, tracking concurrency, custom interceptors, and more.

Usage: Consumers can be declared programmatically using this configuration object, or generated automatically from @Consumer annotations on handler classes or packages.

See Also:
  • Constructor Details

    • ConsumerConfiguration

      public ConsumerConfiguration()
  • Method Details

    • configurations

      public static Stream<ConsumerConfiguration> configurations(Collection<Class<?>> handlerClasses)
      Returns a stream of ConsumerConfigurations by inspecting the given handler classes and their packages. Includes both class-level and package-level @Consumer annotations.