Interface OutboundServiceFacade

All Known Implementing Classes:
DefaultOutboundServiceFacade, TestOutboundFacade, WebhookImmediateRetryOutboundServiceFacade

public interface OutboundServiceFacade
Facade which orchestrates the IntegrationObjectConversionService and IntegrationRestTemplateFactory to integrate with the RESTful endpoint.
  • Method Summary

    Modifier and Type
    Method
    Description
    rx.Observable<org.springframework.http.ResponseEntity<Map>>
    send(ItemModel itemModel, String integrationObjectCode, String destination)
    Deprecated, for removal: This API element is subject to removal in a future version.
    default rx.Observable<org.springframework.http.ResponseEntity<Map>>
    Method orchestrates the services to build the payload and to integrate with restful endpoint.
    default org.springframework.http.ResponseEntity<String>
    Method orchestrates the services to build a batch payload and to integrate with restful endpoint.
  • Method Details

    • send

      @Deprecated(since="2211.FP1", forRemoval=true) rx.Observable<org.springframework.http.ResponseEntity<Map>> send(ItemModel itemModel, String integrationObjectCode, String destination)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Method orchestrates the services to build the payload and to integrate with restful endpoint.
      Parameters:
      itemModel - the model to be converted
      integrationObjectCode - the name of the integration object to convert this model as payload
      destination - endpoint destination information
      Returns:
      rx.Observable which allows the caller to subscribe the callback method
    • send

      default rx.Observable<org.springframework.http.ResponseEntity<Map>> send(SyncParameters params)
      Method orchestrates the services to build the payload and to integrate with restful endpoint.
      Parameters:
      params - a parameter object holding data about the item synchronization request
      Returns:
      rx.Observable which allows the caller to subscribe the callback method that provides result of the item sending.
    • sendBatch

      default org.springframework.http.ResponseEntity<String> sendBatch(List<SyncParameters> params)
      Method orchestrates the services to build a batch payload and to integrate with restful endpoint.
      Parameters:
      params - a parameter object holding a list of parameters with data about the parts for the batch synchronization request
      Returns:
      ResponseEntity that provides result of the request.