Class TenantSyncMessagingConfiguration
java.lang.Object
com.broadleafcommerce.data.tracking.core.autoconfigure.TenantSyncMessagingConfiguration
@Configuration
@EnableBinding(TenantSyncPersistenceConsumer.class)
public class TenantSyncMessagingConfiguration
extends Object
Spring Cloud Stream wiring for tenant synchronization
- Author:
- Phillip Verheyden (phillipuniverse)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontenantPersistenceHandler
(CommonCatalogRepository<Trackable> catalogRepository, CommonApplicationRepository<Trackable> applicationRepository, DomainMapperManager trackingMapper, org.springframework.context.ApplicationEventPublisher eventPublisher, com.fasterxml.jackson.databind.ObjectMapper objectMapper, List<ApplicationDataRouteSupporting> applicationRoutes, List<CatalogDataRouteSupporting> catalogRoutes, org.springframework.core.env.Environment environment)
-
Constructor Details
-
TenantSyncMessagingConfiguration
public TenantSyncMessagingConfiguration()
-
-
Method Details
-
tenantPersistenceHandler
@Bean @ConditionalOnProperty(name="broadleaf.tenant.sync.binding.enabled", matchIfMissing=true) @ConditionalOnMissingBean public TenantPersistenceHandler tenantPersistenceHandler(CommonCatalogRepository<Trackable> catalogRepository, CommonApplicationRepository<Trackable> applicationRepository, DomainMapperManager trackingMapper, org.springframework.context.ApplicationEventPublisher eventPublisher, com.fasterxml.jackson.databind.ObjectMapper objectMapper, List<ApplicationDataRouteSupporting> applicationRoutes, List<CatalogDataRouteSupporting> catalogRoutes, org.springframework.core.env.Environment environment)
-