Class JpaMessagingAutoConfiguration
java.lang.Object
com.broadleafcommerce.data.tracking.jpa.messaging.autoconfigure.JpaMessagingAutoConfiguration
@ConditionalOnProperty(name="broadleaf.database.provider",
havingValue="jpa")
@Configuration
@AutoConfigureBefore(com.broadleafcommerce.common.messaging.autoconfigure.CommonMessagingAutoConfiguration.class)
public class JpaMessagingAutoConfiguration
extends Object
- Author:
- Chad Harchar (charchar)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.data.tracking.core.messaging.StandaloneCleanupRepository
com.broadleafcommerce.common.messaging.notification.DetachedDurableMessageSender
detachedMessageSender
(com.broadleafcommerce.common.messaging.notification.NotificationManager manager, DetachedNotificationStateRepository repository) com.broadleafcommerce.common.extension.data.RepositoryDataRouteSupplier<com.broadleafcommerce.common.extension.data.DataRouteSupporting>
detachedNotificationRepositoryRouteSupplier
(List<com.broadleafcommerce.common.extension.data.DataRouteSupporting> routes) detachedNotificationStateRepository
(NotificationStateValueUpdater repositoryFragment, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) com.broadleafcommerce.common.messaging.notification.NotificationStateService
jpaNotificationStateService
(com.broadleafcommerce.common.extension.TypeFactory typeFactory, NotificationStateValueUpdater repositoryFragment, com.broadleafcommerce.common.extension.data.DataRouteReference reference, List<org.springframework.orm.jpa.EntityManagerFactoryInfo> factories, org.springframework.boot.autoconfigure.cache.CacheProperties cacheProperties)
-
Constructor Details
-
JpaMessagingAutoConfiguration
public JpaMessagingAutoConfiguration()
-
-
Method Details
-
jpaNotificationStateService
@Bean @ConditionalOnMissingBean public com.broadleafcommerce.common.messaging.notification.NotificationStateService jpaNotificationStateService(com.broadleafcommerce.common.extension.TypeFactory typeFactory, NotificationStateValueUpdater repositoryFragment, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference, List<org.springframework.orm.jpa.EntityManagerFactoryInfo> factories, @Nullable org.springframework.boot.autoconfigure.cache.CacheProperties cacheProperties) -
defaultStandaloneCleanupRepository
@Bean @ConditionalOnMissingBean public com.broadleafcommerce.data.tracking.core.messaging.StandaloneCleanupRepository defaultStandaloneCleanupRepository() -
detachedNotificationStateRepository
@Bean @ConditionalOnMissingBean(name="detachedNotificationStateRepository") public DetachedNotificationStateRepository detachedNotificationStateRepository(NotificationStateValueUpdater repositoryFragment, @Lazy com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) -
detachedMessageSender
@Bean @ConditionalOnMissingBean public com.broadleafcommerce.common.messaging.notification.DetachedDurableMessageSender detachedMessageSender(@Lazy com.broadleafcommerce.common.messaging.notification.NotificationManager manager, @Qualifier("detachedNotificationStateRepository") DetachedNotificationStateRepository repository) -
detachedNotificationRepositoryRouteSupplier
@Bean public com.broadleafcommerce.common.extension.data.RepositoryDataRouteSupplier<com.broadleafcommerce.common.extension.data.DataRouteSupporting> detachedNotificationRepositoryRouteSupplier(List<com.broadleafcommerce.common.extension.data.DataRouteSupporting> routes)
-