Class InventoryMessagingAutoConfiguration
java.lang.Object
com.broadleafcommerce.inventory.service.messaging.autoconfigure.InventoryMessagingAutoConfiguration
@Configuration
@ConditionalOnPropertyOrGroup(name="broadleaf.inventory.messaging.active",
group="broadleaf.basic.messaging.enabled",
matchIfMissing=true)
@EnableBinding({InventoryCheckoutCompletionConsumer.class,InventoryVendorNotificationConsumer.class,FulfillmentFulfilledConsumer.class,FulfillmentCancelledConsumer.class,ReturnConfirmedConsumer.class})
public class InventoryMessagingAutoConfiguration
extends Object
Configuration for Inventory-related Consumer messaging.
- Author:
- Kelly Tisdell (ktisdell)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfulfillmentCancelledInventoryAdjustmentListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, SkuInventoryService<SkuInventory> skuInventoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) fulfillmentFulfilledInventoryAdjustmentListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, SkuInventoryService<SkuInventory> skuInventoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) inventoryVendorNotificationHandler
(InventoryLocationService<InventoryLocation> locationService, InventoryLocationRepository<com.broadleafcommerce.data.tracking.core.Trackable> locationRepository, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager mapperManager) orderSubmittedInventoryAdjustmentMessageListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, SkuInventoryService<SkuInventory> skuInventoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, CartProvider cartProvider) returnConfirmedInventoryAdjustmentListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, SkuInventoryService<SkuInventory> skuInventoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-
Constructor Details
-
InventoryMessagingAutoConfiguration
public InventoryMessagingAutoConfiguration()
-
-
Method Details
-
orderSubmittedInventoryAdjustmentMessageListener
@Bean @ConditionalOnMissingBean public OrderSubmittedInventoryAdjustmentMessageListener orderSubmittedInventoryAdjustmentMessageListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, SkuInventoryService<SkuInventory> skuInventoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, CartProvider cartProvider) -
fulfillmentFulfilledInventoryAdjustmentListener
@Bean @ConditionalOnMissingBean public FulfillmentFulfilledInventoryAdjustmentListener fulfillmentFulfilledInventoryAdjustmentListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, SkuInventoryService<SkuInventory> skuInventoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
fulfillmentCancelledInventoryAdjustmentListener
@Bean @ConditionalOnMissingBean public FulfillmentCancelledInventoryAdjustmentListener fulfillmentCancelledInventoryAdjustmentListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, SkuInventoryService<SkuInventory> skuInventoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
returnConfirmedInventoryAdjustmentListener
@Bean @ConditionalOnMissingBean public ReturnConfirmedInventoryAdjustmentListener returnConfirmedInventoryAdjustmentListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, SkuInventoryService<SkuInventory> skuInventoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
inventoryVendorNotificationHandler
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(value="broadleaf.inventory.create-vendor-location", matchIfMissing=true) public InventoryVendorNotificationHandler inventoryVendorNotificationHandler(InventoryLocationService<InventoryLocation> locationService, InventoryLocationRepository<com.broadleafcommerce.data.tracking.core.Trackable> locationRepository, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager mapperManager)
-