Notification subscription with a TopicFilter filter of an existing topic causes 
a TopicNotSupportedFault
--------------------------------------------------------------------------------------------------------

                 Key: MUSE-52
                 URL: http://issues.apache.org/jira/browse/MUSE-52
             Project: Muse
          Issue Type: Bug
          Components: WSN NotificationProducer
    Affects Versions: 2.0.0 M2
         Environment: Windows XP, WebSphere 6
            Reporter: Asaf Zafran
         Assigned To: Dan Jemiolo


In SimpleNotificationProducer, line 470

        if (filter instanceof TopicFilter)
        {
            TopicFilter topicFilter = (TopicFilter)filter;
            QName topic = topicFilter.getTopic();
            
            if (hasTopic(topic))
                throw new TopicNotSupportedFault("Topic not found: " + topic);
        }

the condition should be changed to if *NOT* hasTopic on line 475.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to