You should be getting a WSRL termination notification IF the subscription resource includes the WSRL capabilities. These notifications should be no different than the termination notifications for other ws-resource types. If a resource (subscription or otherwise) is destroyed and you don't see a message on the WSRL termination topic, it's a bug. Here's the code that enables this feature:
http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsn-impl/src/org/apache/muse/ws/notification/impl/SimpleNotificationProducer.java?revision=522022&view=markup Specifically, look at the initializeCompleted() method: // // if the resource supports either WS-RL capability, add support // for the WS-RL termination topic // if (resource.hasCapability(WsrlConstants.IMMEDIATE_TERMINATION_URI) || resource.hasCapability(WsrlConstants.SCHEDULED_TERMINATION_URI)) addTopic(WsrlConstants.TERMINATION_TOPIC_QNAME); "Vinh Nguyen \(vinguye2\)" <[EMAIL PROTECTED]> wrote on 05/04/2007 03:54:21 AM: > I looked thru the WS-Notification specs, and it doesn't say anything > about sending a notification to a subscriber when the subscription > expires or is destroyed. Does anyone know if this is a requirement? > When a resource instance is destroyed, Muse doesn't send a notification > about it. Also, when the subscriptions are destroyed along with the > resource, no notifications are sent either. > > I assume these types of notifications are something we must implement, > if it is not a WS-N or WS-RL requirement? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
