if (!eventDrivenProcessors.isEmpty()) {
Processor processor = Pipeline.newInstance(eventDrivenProcessors);
// lets create the async processor
final AsyncProcessor asyncProcessor = AsyncProcessorTypeConverter.convert(processor);
Processor unitOfWorkProcessor = new UnitOfWorkProcessor(asyncProcessor);
// TODO: hz: move all this into the lifecycle strategy! (used by jmx naming strategy)
Route edcr = new EventDrivenConsumerRoute(getEndpoint(), unitOfWorkProcessor);
edcr.getProperties().put(Route.ID_PROPERTY, route.idOrCreate());
edcr.getProperties().put(Route.PARENT_PROPERTY, Integer.toHexString(route.hashCode()));