Class DaprServiceInvocationHandler
java.lang.Object
org.apache.camel.component.dapr.operations.DaprServiceInvocationHandler
- All Implemented Interfaces:
DaprOperationHandler
-
Constructor Summary
ConstructorsConstructorDescriptionDaprServiceInvocationHandler
(DaprConfigurationOptionsProxy configurationOptionsProxy) -
Method Summary
Modifier and TypeMethodDescriptionhandle
(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.
-
Constructor Details
-
DaprServiceInvocationHandler
-
-
Method Details
-
handle
public DaprOperationResponse handle(org.apache.camel.Exchange exchange, io.dapr.client.DaprClient client) Description copied from interface:DaprOperationHandler
Execute the configured operation on this exchange.- Specified by:
handle
in interfaceDaprOperationHandler
- Parameters:
exchange
- the current exchangeclient
- the DaprClient
-
validateConfiguration
public void validateConfiguration(org.apache.camel.Exchange exchange) Description copied from interface:DaprOperationHandler
Validates configuration based on operation on this exchange.- Specified by:
validateConfiguration
in interfaceDaprOperationHandler
- Parameters:
exchange
- the current exchange
-