So I've found this convention quite useful:
wls:/wls_domain/serverConfig> blah = cmo.lookupFileStore("wlsFileStore1")
wls:/wls_domain/serverConfig> blah = cmo.lookupFileStore("wlsFileStoreDoesntExist")
Stick that in a function, do a try:, and if it comes back "None," I know I've not found the thing.
For just about all the JMS stuff I've come across, FileStores, Queues, DistributedDestinations, etc. I've been able to craft some kind of lookup method - Until now
I'm trying to determine the existence of a DurableSubscriber in a serverRuntime tree, but no variation of the "cmo.lookup" seems to work.
The object itself says it's a Type: JMSDurableSubscriberRuntime, but if I do a "cmo.lookupJMSDurableSubscriberRuntime" or any variation thereof, I just get an:
Is this kind of method just not available in the serverRuntime hierarchy?
Edited by: Scott555 on Feb 15, 2013 2:16 PM