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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
If true, theOrderCreatedEvent
will contain links to read the Order and its Order Fulfillments.boolean
If true, theVoucherGenerationCompletionEvent
will contain links to read the Order.void
setOrderCreatedEventLinksEnabled
(boolean orderCreatedEventLinksEnabled) If true, theOrderCreatedEvent
will contain links to read the Order and its Order Fulfillments.void
setVoucherGenerationCompletionEventLinksEnabled
(boolean voucherGenerationCompletionEventLinksEnabled) If true, theVoucherGenerationCompletionEvent
will contain links to read the Order.
-
Constructor Details
-
OrderOperationMessagingProperties
public OrderOperationMessagingProperties()
-
-
Method Details
-
isOrderCreatedEventLinksEnabled
public boolean isOrderCreatedEventLinksEnabled()If true, theOrderCreatedEvent
will 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, theVoucherGenerationCompletionEvent
will 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, theOrderCreatedEvent
will 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, theVoucherGenerationCompletionEvent
will 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.
-