Skip to main content

invoke_processor

Function invoke_processor 

Source
pub async fn invoke_processor(
    svc: &mut BoxProcessor,
    ex: Exchange,
) -> Result<Exchange, CamelError>
Expand description

Invoke a processor: readiness check + call, unified into a single Result.

Readiness errors and call errors are both returned as Err(CamelError), allowing the pipeline’s recovery loop to handle them uniformly.