Hi gt users, I am using GT4.0.5 Java WS Core in Windows. I have this question in mind for quite long regarding WS-Notification.
I would like to use WS-Notification to do notification. Borja's tutorial give an example for ResourcePropertyTopic, but I am wondering how do we define a custom topic. I guess we should take advantage of SimpleTopic, but is there any standard procedure to define a custom topic? To make my question concrete, I have a resource property (int load), I have another resource property (int maxLoad). I need to notify the listener if (load >= maxLoad). How can I define this custom topic and do notification? A walkaround may be that I define another resource property margin = (load - maxLoad), and cast the resource property margin to ResourcePropertyTopic. But I don't like this walkaround. Can any one point me to some sample? Thanks. Regards, Xinjun
