Oh how I hate to be too fast typing than I'm reading the specs... Both are correct depending on what you wish to achieve, my approach does not account for the source as I'm always producing from within my source capability, whereas Mr. Solomon's approach takes into account the possibility of have a source outside the resource actually producing the notification.
But as Mr. Solomon I don't see why you would need to send information from the consumer to the producer in order for it to produce your notification. /Lenni -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 18 July 2007 15:59 To: [email protected] Subject: RE: How to communicate with the notification producer Actually I'm fairly sure the line you correct is supposed to look like NotificationProducerClient producer = new NotificationProducerClient(producerEpr); Not NotificationProducerClient producer = new NotificationProducerClient(producerEPR , myEPR);) As this makes no sense as you are trying to create a client to a resource (the EPR) that contains a WS-N producer capability (if using the wsdl2java make sure you check the muse.xml for this capability). /Lenni -----Original Message----- From: Bogdan Solomon [mailto:[EMAIL PROTECTED] Sent: 18 July 2007 15:20 To: [email protected] Subject: Re: How to communicate with the notification producer Not sure what you mean by "pass to the notification producer (from a notification consumer) several strings and the Qname related to a topic". Do you mean that the system you are building requires you to send some extra strings as well as the topic name? If you need that, then you most likely will need to implement your own capability for the notification producer. If you just want to use Muse's default producer, check http://ws.apache.org/muse/docs/2.2.0/manual/how-to/receive-any-notificat ion.html which describes how to receive notifications (the line NotificationProducerClient producer = new NotificationProducerClient(, myEPR); should be actually NotificationProducerClient producer = new NotificationProducerClient(producerEPR , myEPR);) Giovanni Aiello wrote: > > Hi all, > I am new of Apache Muse. I have developed one notification producer with > one custom capability and one notification consumer. I need to pass to the > notification producer (from a notification consumer) several strings and > the Qname related to a topic in order to force it to send notifications > related to the passed topic. How can I do? > > Regards > Giovanni > > -- View this message in context: http://www.nabble.com/How-to-communicate-with-the-notification-producer- tf4101940.html#a11669599 Sent from the Muse User mailing list archive at Nabble.com. --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
