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.voidvalidateConfiguration(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:DaprOperationHandlerExecute the configured operation on this exchange.- Specified by:
handlein interfaceDaprOperationHandler- Parameters:
exchange- the current exchangeclient- the DaprClient
-
validateConfiguration
public void validateConfiguration(org.apache.camel.Exchange exchange) Description copied from interface:DaprOperationHandlerValidates configuration based on operation on this exchange.- Specified by:
validateConfigurationin interfaceDaprOperationHandler- Parameters:
exchange- the current exchange
-