I'm creating my own user interface for interacting with Camel routes via JMX. I seem to have a "delay" problem when reading these attributes. E g when reading the "ExchangesCompleted" attribute, it takes a while (> 1 minute) after an exchange is completed before this value is incremented.
When reading the value via the JConsole, the value is immediately updated (after I press the "refresh" button) meaning that I must be doing something wrong when accessing the JMX attribute. Can someone enlighten me as to what is going on and how I can make sure that I read the latests (up-to-date) value. E g , is there a "refresh" method I can call from my code? /Bengt
