Hi Jan,

It depends on wether they will be instances of the same resource type or are 
meant to be seperate types.  You can already create multiple producers by just 
creating a new instance of an existing resource.  If you want a large number of 
instances it is perhaps better to use the proxying technique (found here 
http://www.ibm.com/developerworks/autonomic/library/ac-muse.html) but this 
promotes problems for subscriptions.  If the latter link is an interesting 
approach for you then I an send some code to publish to the correct 
NotificationProducer when working with proxies.

If its creating seperate types of resources at runtime then there is no support 
for it that I know off (although similar support is scheduled for 2.3).

cheers,
Chris 

-----Original Message-----
From: Jan Torben Heuer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 14, 2008 10:51 AM
To: [email protected]
Subject: Dynamically register notification producers

Hi,

I'd like to create an interface to register notification producers at runtime, 
similar to subscribers - create, renew, expire and delete are mandatory. Thus I 
would ask if I could reuse some of the SubscriptionManager code or if 
g.apache.muse.ws.dm.muws.adv.impl.AbstractAdvertisement already did it. I read 
the code but didn't understand exactly what it is doing.

Thanks,

Jan
-- 
Jan Torben Heuer                Institute for Geoinformatics
[EMAIL PROTECTED]       Robert-Koch-Strasse 26-28
+49 251 83-31960                48151 Münster, Germany

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to