Hi,
I have a Processor defined as the following,
@ManagedResource(description = "Wiretap value")
public class WiretapValue implements Processor {
But to actually be able to see this in Jconsole, I can't use .process() in
my routebuilder but need to use
.bean((WiretapValue)
getContext().getRegistry().lookupByName("wiretapValue"))
I am not using Spring and adding it to the registry by:
main.bind("wiretapValue", new WiretapValue());
*Anyhow*,
In JConsole this now pops up as "bean2", in org.apache.camel -> processors
-> camel-1 -> bean2, it has the correct description but is it possible to
have another name?? Making it unique and easier to locate?
--
View this message in context:
http://camel.465427.n5.nabble.com/JMX-objectname-of-processors-MBeans-tp5764684.html
Sent from the Camel - Users mailing list archive at Nabble.com.