Package io.axoniq.framework.messaging.multitenancy.axonserver.configuration
@NullMarked
package io.axoniq.framework.messaging.multitenancy.axonserver.configuration
Part of the Axoniq Framework multi-tenancy module. Contains the configuration enhancer wiring the Axon Server
specific multi-tenancy components, mirroring
io.axoniq.framework.messaging.multitenancy.configuration.-
ClassesClassDescription
ConfigurationEnhancerregistering the default Axon Server-backed multi-tenancy components: theTenantProviderwhich is responsible for managing tenants and lifecycle, backed byAxonServerTenantProvidertheMultiTenantAxonServerCommandBusConnectorwhich fans out commands to a connector per tenant theMultiTenantEventStorageEngineas theEventStorageEngine, routing appends and sourcing to each tenant's own engine, and theMultiTenantSnapshotStoreas theSnapshotStore, routing snapshot writes the same way theTenantEventStorageEngineFactoryandTenantSnapshotStoreFactorybuilding those per-tenant components against the tenant's Axon Server context theMultiTenantAxonServerQueryBusConnectorwhich fans out queries to a connector per tenant It also disables theSnapshotSourcingConfigurationEnhancer, since snapshot sourcing is composed per tenant by the routing engine rather than once for the application.