You’re creating the counterRepository before creating the instrumentation 
manager.  Thus, all the counter related stuff may not have access to the 
Instrumentation manager and wouldn’t show up.   Likewise for the work queues 
and such.   Create the instrumentation manager as the very first thing after 
the bus.

Dan



On Sep 9, 2014, at 9:31 PM, Matt Pavlovich <[email protected]> wrote:

> I’m trying to wire up a Bus without Spring, and include a couple extensions. 
> Scanning through unit tests in the source gets me part of the way there.  I 
> see the Bus register via JMX, but the deployed service and CounterRepository 
> doesn’t wire up to JMX correctly. 
> 
> Is there some order of operations here that I am missing?
> 
> Code snippet:
> http://pastebin.com/54dxxDzS
> 
> Screenshot of JMX:
> http://imgur.com/zJz2Q4N
> 
> Thanks,
> Matt

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to