java.lang.Object
com.broadleafcommerce.promotion.offer.service.messaging.autoconfigure.OfferMessagingConfiguration

@Configuration @ConditionalOnPropertyOrGroup(name="broadleaf.checkout.completion.offer.active", group="broadleaf.basic.messaging.enabled", matchIfMissing=true) @EnableBinding(OfferCheckoutCompletionConsumer.class) public class OfferMessagingConfiguration extends Object
  • Constructor Details

    • OfferMessagingConfiguration

      public OfferMessagingConfiguration()
  • Method Details

    • offerCheckoutCompletionEventListener

      @Bean @ConditionalOnMissingBean public RecordOfferUsageEventListener offerCheckoutCompletionEventListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, OfferAuditDetailService<OfferAuditDetail> offerAuditDetailService, @Nullable @Qualifier("offerTransactionTemplate") org.springframework.transaction.support.TransactionTemplate template, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, OfferMessagingProperties offerMessagingProperties)