Hi,

We need to introduce a set of custom Event Types for subscription in ES. I
am using Eventing OSGI Service to register a new Event Type in registry as
follows.

org.wso2.carbon.registry.eventing.services.EventingService.registerEventType(typeId,
resourceEvent, collectionEvent);

When I trigger this method once when the server is running, the
registered even type is shown in the Event list in UI dropdown menu.
But when I restart the server, the same event type in not there
anymore. In order to subscribe to that event I have to register the
event type again.

How can I register an Event Type persistently? What is the issue here?

Thank you,
Sameera

-- 



*Thanks & Regards,Sameera Jayaratna Software Engineer; **WSO2 Inc. *

*lean . enterprise . middleware |  http://wso2.com <http://wso2.com> *
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to