Class WebhookEventToItemSender

  • All Implemented Interfaces:
    WebhookEventSender

    public final class WebhookEventToItemSender
    extends java.lang.Object
    implements WebhookEventSender
    Default implementation of the WebhookEventSender. This implementation uses the OutboundServiceFacade to do the actual posting to the destination because the OutboundServiceFacade already provides item to JSON conversion, and monitoring.
    • Method Detail

      • setFilterService

        public void setFilterService​(WebhookFilterService service)
        Injects an optional filter service to be used by this item sender. If the webhook filter service is not injected, no item filtering will be performed.
        Parameters:
        service - an implementation of the WebhookFilterService that will execute filtering logic for the items being sent by this item sender.