Camel automatically generates id for processors and other stuff (processor1..processor25). Is there a way to set this name? We need to identify certain processors via jmx to get telemetry data.
The names I want to set are given via properties - they are known on start time. So I need to set them when route is defined or within the processor (name is given via processors constructor, the string is also used for processing).
Update
Example: for a route from("some:where").process(myProcessor).to(no:where)
i need to set the id of myProcessor. I need "ExchangesTotal" and other stuff from certain processors
I need a solution in Java DSL.