Class ConsumerConfiguration
java.lang.Object
io.fluxcapacitor.javaclient.tracking.ConsumerConfiguration
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stream
<ConsumerConfiguration> configurations
(Collection<Class<?>> handlerClasses) Returns a stream ofConsumerConfiguration
s by inspecting the given handler classes and their packages.
-
Constructor Details
-
ConsumerConfiguration
public ConsumerConfiguration()
-
-
Method Details
-
configurations
Returns a stream ofConsumerConfiguration
s by inspecting the given handler classes and their packages. Includes both class-level and package-level@Consumer
annotations.
-