What's the best way to customize Muse so that values in the resource
properties document can be loaded dynamically from an external source?
In a stateless environment, we do not want to use the default
implementation where resource properties are loaded into memory from the
wsdl file when the resource is first called. We'd like requests to pass
thru, and resource properties be retrieved from an external source, like
a database.
 
For testing, I've been able to extend the SimpleGetCapability class and
override the getResourcePropertyDocument() method to dynamically add
properties to the collection to be returned.  Then I specify my custom
class in muse.xml, replacing the original SimpleGetCapability reference.
 
This method works easily, but I'm not sure if it's the best/recommended
way to do it.
-Vinh

Reply via email to