boolean shutdownThreadPool = ProcessorDefinitionHelper.willCreateNewThreadPool(routeContext, this, true);
ExecutorService threadPool = ProcessorDefinitionHelper.getConfiguredExecutorService(routeContext, "WireTap", this, true);
// create the producer to send to the wire tapped endpoint
Endpoint endpoint = resolveEndpoint(routeContext);
Producer producer = endpoint.createProducer();
// create error handler we need to use for processing the wire tapped
Processor target = wrapInErrorHandler(routeContext, producer);
// and wrap in UoW, which is needed for error handler as well
target = new UnitOfWorkProcessor(routeContext, target);