I have configured camel jmx to combine with my application's jmx console by
doing the below configuration in camel-context.xml

<jmxAgent id="JMXAgent" disabled ="false" statisticsLevel="Off"
createConnector = "false" mbeanServerDefaultDomain="MyApplication"
usePlatformMBeanServer="false"/>

I am successful in doing this. 

This is how it is getting displayed in my application's jmx console(see
below).

My requirement is to filter on required type and show only those mbeans on
console. Example i want to see only mbeans of routes. 
Is this can be done? 

Appreciate your help

# org.apache.camel

    * context=BLRGT24/camel,type=components,name="ActiveMQ"
    * context=BLRGT24/camel,type=components,name="direct"
    * context=BLRGT24/camel,type=components,name="file"
    * context=BLRGT24/camel,type=components,name="http"
    * context=BLRGT24/camel,type=components,name="mina"
    * context=BLRGT24/camel,type=consumers,name=DirectConsumer(0x33528d)
    * context=BLRGT24/camel,type=consumers,name=DirectConsumer(0xbb50e0)
    * context=BLRGT24/camel,type=consumers,name=JmsConsumer(0x16231b4)
    * context=BLRGT24/camel,type=context,name="camel"
    * context=BLRGT24/camel,type=endpoints,name="ActiveMQ://queue:BFInQueue"
    *
context=BLRGT24/camel,type=endpoints,name="ActiveMQ://queue:BFReqQueue"
    *
context=BLRGT24/camel,type=endpoints,name="ActiveMQ://queue:BFResQueue"
    * context=BLRGT24/camel,type=endpoints,name="direct://requestQueue"
    * context=BLRGT24/camel,type=endpoints,name="direct://responseQueue"
    * context=BLRGT24/camel,type=endpoints,name="file://E:/Alternate/"
    *
context=BLRGT24/camel,type=endpoints,name="http://localhost:8080/bfweb";
    *
context=BLRGT24/camel,type=endpoints,name="mina://tcp://localhost:9999\?timeout=5000"
    * context=BLRGT24/camel,type=endpoints,name="spring-event://default"
    *
context=BLRGT24/camel,type=errorhandlers,name="DefaultErrorHandlerBuilder(ref:CamelDefaultErrorHandlerBuilder)"
    * context=BLRGT24/camel,type=processors,name="bean1"
    * context=BLRGT24/camel,type=processors,name="bean2"
    * context=BLRGT24/camel,type=processors,name="bean3"
    * context=BLRGT24/camel,type=processors,name="bean4"
    * context=BLRGT24/camel,type=processors,name="bean5"
    * context=BLRGT24/camel,type=processors,name="to1"
    * context=BLRGT24/camel,type=processors,name="to2"
    * context=BLRGT24/camel,type=routes,name="consumer1"
    * context=BLRGT24/camel,type=routes,name="producer"
    * context=BLRGT24/camel,type=routes,name="producer1"
    *
context=BLRGT24/camel,type=services,name=DefaultExecutorServiceStrategy(0x137019c)
    *
context=BLRGT24/camel,type=services,name=DefaultInflightRepository(0x1bc369c)
    *
context=BLRGT24/camel,type=services,name=DefaultShutdownStrategy(0x10f7374)
    * context=BLRGT24/camel,type=services,name=ProducerCache(0x102dd19)
    * context=BLRGT24/camel,type=services,name=ProducerCache(0x37a3ed)
    *
context=BLRGT24/camel,type=services,name=SharedProducerServicePool(0x1af1c4d)
    *
context=BLRGT24/camel,type=threadpools,name=DefaultErrorHandler(0x17b1b46)
    * context=BLRGT24/camel,type=threadpools,name=MinaComponent(0x169a4ce)
    * context=BLRGT24/camel,type=tracer,name=Tracer(0xfc6ed7) 

--
View this message in context: 
http://camel.465427.n5.nabble.com/Filtering-of-mbeans-in-mbean-server-of-camel-tp4726520p4726520.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to