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 Details

    • OrderOperationMessagingProperties

      public OrderOperationMessagingProperties()
  • Method Details

    • isOrderCreatedEventLinksEnabled

      public boolean isOrderCreatedEventLinksEnabled()
      If true, the OrderCreatedEvent will contain links to read the Order and its Order Fulfillments. The OrderCreatedEvent.getOrder() and OrderCreatedEvent.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, the VoucherGenerationCompletionEvent will contain links to read the Order. The VoucherGenerationCompletionEvent.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, the OrderCreatedEvent will contain links to read the Order and its Order Fulfillments. The OrderCreatedEvent.getOrder() and OrderCreatedEvent.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, the VoucherGenerationCompletionEvent will contain links to read the Order. The VoucherGenerationCompletionEvent.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.