Class JpaMessagingAutoConfiguration

java.lang.Object
com.broadleafcommerce.data.tracking.jpa.messaging.autoconfigure.JpaMessagingAutoConfiguration

@ConditionalOnProperty(name="broadleaf.database.provider", havingValue="jpa") @Configuration @EnableConfigurationProperties(JpaNotificationStateServiceProperties.class) @AutoConfigureBefore(com.broadleafcommerce.common.messaging.autoconfigure.CommonMessagingAutoConfiguration.class) public class JpaMessagingAutoConfiguration extends Object
Author:
Chad Harchar (charchar)
  • 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)