Class OrderOperationMessagingProperties
java.lang.Object
com.broadleafcommerce.orderoperation.service.messaging.autoconfigure.OrderOperationMessagingProperties
@ConfigurationProperties("broadleaf.orderoperation.messaging")
public class OrderOperationMessagingProperties
extends Object
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf true, theOrderCreatedEventwill contain links to read the Order and its Order Fulfillments.booleanIf true, theVoucherGenerationCompletionEventwill contain links to read the Order.voidsetOrderCreatedEventLinksEnabled(boolean orderCreatedEventLinksEnabled) If true, theOrderCreatedEventwill contain links to read the Order and its Order Fulfillments.voidsetVoucherGenerationCompletionEventLinksEnabled(boolean voucherGenerationCompletionEventLinksEnabled) If true, theVoucherGenerationCompletionEventwill contain links to read the Order.
-
Constructor Details
-
OrderOperationMessagingProperties
public OrderOperationMessagingProperties()
-
-
Method Details
-
isOrderCreatedEventLinksEnabled
public boolean isOrderCreatedEventLinksEnabled()If true, theOrderCreatedEventwill contain links to read the Order and its Order Fulfillments. TheOrderCreatedEvent.getOrder()andOrderCreatedEvent.getFulfillments()will not be set. This is used to reduce the size of the message and prevent errors caused by exceeding the size limit. Defaults to true. -
isVoucherGenerationCompletionEventLinksEnabled
public boolean isVoucherGenerationCompletionEventLinksEnabled()If true, theVoucherGenerationCompletionEventwill contain links to read the Order. TheVoucherGenerationCompletionEvent.getOrder()will not be set. This is used to reduce the size of the message and prevent errors caused by exceeding the size limit. Defaults to true. -
setOrderCreatedEventLinksEnabled
public void setOrderCreatedEventLinksEnabled(boolean orderCreatedEventLinksEnabled) If true, theOrderCreatedEventwill contain links to read the Order and its Order Fulfillments. TheOrderCreatedEvent.getOrder()andOrderCreatedEvent.getFulfillments()will not be set. This is used to reduce the size of the message and prevent errors caused by exceeding the size limit. Defaults to true. -
setVoucherGenerationCompletionEventLinksEnabled
public void setVoucherGenerationCompletionEventLinksEnabled(boolean voucherGenerationCompletionEventLinksEnabled) If true, theVoucherGenerationCompletionEventwill contain links to read the Order. TheVoucherGenerationCompletionEvent.getOrder()will not be set. This is used to reduce the size of the message and prevent errors caused by exceeding the size limit. Defaults to true.
-