Hello Claus, Thank you again for your reply. The code in java works and I can get the counter metrics values in MetricRegistry.
I am now trying to figure out how can I create a bean in blueprint of SimpleRegistry which extends type HashMap. So far, I have this. <bean id="metricsRegistry" class="com.codahale.metrics.MetricsRegistry"/> <bean id="simpleRegistry" class="org.apache.camel.impl.SimpleRegistry"> <entry key="metricsRegistry" value-ref = "metricsRegistry" /> </bean> Also, I am not sure how can I instantiate DefaultCamelContext and set SimpleRegistry in the constructor within blueprint (or even spring) It would be great if you can suggest the way to do it. Thanks, Vivek -- View this message in context: http://camel.465427.n5.nabble.com/camel-metrics-Component-tp5758627p5763357.html Sent from the Camel - Users mailing list archive at Nabble.com.