Well, this has not been done for lightweight components. Take a look at the servicemix-* std jbi components (servicemix-http for example). They have a persistent configuration exposed throught jmx. You should be able to mimic the same for lightweight components if you need.
Cheers, Guillaume Nodet On 5/19/06, Doug Fischer <[EMAIL PROTECTED]> wrote:
I would like to be able to expose a number of configuration properties through JMX for my component. I saw the post ³extending JMX attribute from pojosupport² but I was wondering if someone could get a little more specific about doing this. Does anyone have an example? I know that Spring has support for JMX now. Is there a way to do this through the context file? Also, after the properties are exposed through JMX, do you have the ability to change anything? Ex. I have written a TCP component that will connect to a host and port, would I, through JMX, have the ability to change the port and restart the component? Is this change persisted? That¹s probably enough questions for now I guess. Thank you very much, Doug
-- Cheers, Guillaume Nodet
