On Mon, Feb 28, 2011 at 7:27 AM, Srinath Perera <[email protected]> wrote:
> can we drop "indexStoragePath" from configuration and always calculate > it from "topicStoragePath"? That is a detail user do not care about. > Even for topicStoragePath, we should have a good defaults, and only > advance users should touch it. > yes. These are default values of the event-broker config and user don't have to worry about it unless have some reason to change them. If they want to add static subscriptions (which should be an admin task) then they can add static subscriptions there. thanks, Amila. > --Srinath > > On Sun, Feb 27, 2011 at 6:40 PM, Amila Suriarachchi <[email protected]> > wrote: > > Hi, > > > > I added the static subscription support which is required for ESB. > > > > Now users can configure static subscriptions through event-broker.xml as > > follows. > > > > <subscriptionManager name="subscriptionManager" > > > > > class="org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManagerFactory"> > > <topicStoragePath>event/topics</topicStoragePath> > > <indexStoragePath>event/topicIndex</indexStoragePath> > > <subscription id="mySubscription1"> > > <topic>static/topic1</topic> > > <eventSinkURL>sqs://admin/myMessageBox</eventSinkURL> > > <expires>2020-06-27T21:07:00.000-08:00</expires> > > </subscription> > > </subscriptionManager> > > > > thanks, > > Amila. > > > > _______________________________________________ > > Carbon-dev mailing list > > [email protected] > > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > > > -- > ============================ > Srinath Perera, Ph.D. > Senior Software Architect, WSO2 Inc. > Visiting Lecturer, University of Moratuwa > Member, Apache Software Foundation > Research Scientist, Lanka Software Foundation > Blog: http://srinathsview.blogspot.com/ >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
