Class PaymentTransactionNotificationAutoConfiguration
java.lang.Object
com.broadleafcommerce.paymenttransaction.service.messaging.autoconfigure.PaymentTransactionNotificationAutoConfiguration
@EnableConfigurationProperties(PaymentTransactionNotificationProperties.class)
@EnableBinding(PaymentTransactionWebhookProducer.class)
@Configuration
public class PaymentTransactionNotificationAutoConfiguration
extends Object
- Author:
- Dima Myroniuk (dmyroniuk)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.messaging.notification.MessageFactory<TransactionWebhookPayload>
com.broadleafcommerce.common.messaging.notification.NotificationHandler
transactionWebhookNotificationHandler
(PaymentTransactionWebhookProducer producer, PaymentTransactionNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) com.broadleafcommerce.common.messaging.notification.RetryClusterService
transactionWebhookRetryClusterService
(org.apache.camel.cluster.CamelClusterService camelClusterService, PaymentTransactionNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-
Constructor Details
-
PaymentTransactionNotificationAutoConfiguration
public PaymentTransactionNotificationAutoConfiguration()
-
-
Method Details
-
transactionWebhookMessageFactory
@Bean @ConditionalOnMissingBean(name="transactionWebhookMessageFactory") public com.broadleafcommerce.common.messaging.notification.MessageFactory<TransactionWebhookPayload> transactionWebhookMessageFactory() -
transactionWebhookNotificationHandler
@Bean @ConditionalOnMissingBean(name="transactionWebhookNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler transactionWebhookNotificationHandler(PaymentTransactionWebhookProducer producer, PaymentTransactionNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) -
transactionWebhookRetryClusterService
@Bean @ConditionalOnMissingBean(name="transactionWebhookRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService transactionWebhookRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, PaymentTransactionNotificationProperties properties, @Nullable List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, @Qualifier("transactionWebhookNotificationHandler") com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference) throws Exception - Throws:
Exception
-