invoke
Invokes the function with dependency injection for additional parameters.
Extracts the first argument from the exchange, then resolves injectable parameters either by name from the service provider or by type from the exchange.
Return
The result of the function invocation
Parameters
exchange
The message exchange to process