davsclaus commented on issue #2447:
URL: https://github.com/apache/camel-quarkus/issues/2447#issuecomment-814741003


   For createProcessorExchangeFactory then you can copy over what we do in 
camel-core, 
   ```
       @Override
       protected ProcessorExchangeFactory createProcessorExchangeFactory() {
           Optional<ProcessorExchangeFactory> result = 
ResolverHelper.resolveService(
                   getCamelContextReference(),
                   getBootstrapFactoryFinder(),
                   ProcessorExchangeFactory.FACTORY,
                   ProcessorExchangeFactory.class);
   
           return result.orElseGet(PrototypeProcessorExchangeFactory::new);
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to