Why is my processor not showing up in JConsole
Not every processor is managed and thus not all is visible in the JConsole.
A processor must implement the org.apache.camel.Service
to be managed. Most EIP processors does this.
For example the minor ones such as setHeader
does not and thus is not visible in JConsole.
From Camel 2.6 onwards your custom Processor
can just implement ManagementAware
and just return this
in the method.
Then you can use the Spring JMX annotations on your custom processor to have those attributes and operations enlisted in JMX.
Error formatting macro: snippet: java.lang.NullPointerException