Interface DaprOperationHandler

All Known Implementing Classes:
DaprConfigurationHandler, DaprInvokeBindingHandler, DaprPubSubHandler, DaprSecretHandler, DaprServiceInvocationHandler, DaprStateHandler

public interface DaprOperationHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    handle(org.apache.camel.Exchange exchange, io.dapr.client.DaprClient client)
    Execute the configured operation on this exchange.
    void
    validateConfiguration(org.apache.camel.Exchange exchange)
    Validates configuration based on operation on this exchange.
  • Method Details

    • handle

      DaprOperationResponse handle(org.apache.camel.Exchange exchange, io.dapr.client.DaprClient client)
      Execute the configured operation on this exchange.
      Parameters:
      exchange - the current exchange
      client - the DaprClient
    • validateConfiguration

      void validateConfiguration(org.apache.camel.Exchange exchange)
      Validates configuration based on operation on this exchange.
      Parameters:
      exchange - the current exchange