Does your input topic QName contain both namespace and localpart?
-----Original Message----- From: david2 [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 1:11 PM To: [email protected] Subject: Topic not Staying with Notification Producer We are writing a custom Notification Producer that extends SimpleNotificationProducer. When we send it the package level message addTopic(aQName), the Topic gets created and returned successfully. However, when we later send the same object the hasTopic(aQName) message, it returns true, but getTopic(aQName) message, it returns null. This occurs even if we send the message immediately after adding the Topic. Example: logger.debug("Sending addTopic(" + topicQName + ")"); Topic topic = this.addTopic(topicQName); logger.debug("Added topic = " + topic); // returns a valid Topic logger.debug("this.hasTopic(" + topicQName + ") = " + this.hasTopic(topicQName)); // returns true logger.debug("this.getTopic(" + topicQName + ") = " + this.getTopic(topicQName)); // returns null What might cause this? -David -- View this message in context: http://www.nabble.com/Topic-not-Staying-with-Notification-Producer-tf407 0524.html#a11567858 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]
