Can you reload JBoss ESB services via an MBean or something similar?
The services defined in my jboss-esb.xml refer to properties from the SystemProperties service.
When I change a property in the properties file (ie, /conf/my-props.properties) I can reload them开发者_StackOverflow中文版 using the SystemProperties MBean. I am unsure, however, how to get the services to reload using the new properties without redeploying the esb archive or without deploying the archive exploded and 'touching' the jboss-esb.xml.
Is there a way that I can trigger the esb to reload the services via an MBean or something similar?
I don't know if you're already using Spring, but since probably you are, you might want to give a try to ReloadableResourceBundleMessageSource. I can give you more details about this if you find this to be a viable solution.
精彩评论