Hi Lasantha, Kasun, Here we are trying to achieve is giving a http endpoint so that a javascript could be able to invoke that endpoint with usage statistic of specific client web application. It doesn't matter where the web application is hosted. It could be any Server. The point is that, the web application should have a javascript code with a tracking id specific to that web application. So that javascript should be able to make a http call to this receiver component when ever the web application is accessed by a user. So basically this will collect client side statistic data about that web application. I'll have a look at on the information you both have provided and see whether they are useful.
Thanks, On Tue, May 20, 2014 at 6:39 PM, Kasun Gajasinghe <[email protected]> wrote: > We already have a data publisher and a toolbox in place to publish web > application statistics to BAM. [1] What are you trying achieve here > specifically? > > [1] > https://docs.wso2.org/display/AS521/Web+Application+Statistics+Monitoring+with+BAM > > > On Tue, May 20, 2014 at 6:23 PM, Lasantha Fernando <[email protected]>wrote: > >> Hi Rajith, >> >> Since this seems to be an adaptor for HTTP which uses servlets, I was >> wondering whether it is similar to HTTP input/output adaptors in CEP. You >> can find more info at [1,3] and the servlet implementation at [2]. >> >> [1] >> http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/event-stream/event-input-adaptor/org.wso2.carbon.event.input.adaptor.http/1.0.0/ >> [2] >> http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/event-stream/event-input-adaptor/org.wso2.carbon.event.input.adaptor.http/1.0.0/src/main/java/org/wso2/carbon/event/input/adaptor/http/HTTPMessageServlet.java >> [3] https://docs.wso2.org/display/CEP310/Input+HTTP+Event+Adaptor >> >> Thanks, >> Lasantha >> >> >> On 20 May 2014 08:56, Rajith Vitharana <[email protected]> wrote: >> >>> Hi Bhathiya, >>> >>> This component is not just a publisher. It contains servlet so that >>> statistic data about web applications can be published to the BAM by >>> invoking the servlet. It's kind of intermediary which will accept >>> javascript calls about client invocations of web applications and publish >>> those statistic data to BAM. Thanks for pointing out existing publishers. >>> I'll have a look at them. They'll surely be useful for this purpose too. >>> >>> Thanks, >>> >>> >>> On Tue, May 20, 2014 at 3:16 AM, Bhathiya Jayasekara >>> <[email protected]>wrote: >>> >>>> Hi Rajith, >>>> >>>> Though your subject says "New Receiver Component", it seems you are >>>> going to write a publisher module. Please correct me if I'm mistaken. >>>> >>>> We already have some other publishers [1][2] as well. You might like to >>>> have a look at them too. >>>> >>>> [1] >>>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/rss-manager/org.wso2.carbon.rssmanager.data.mgt >>>> [2] >>>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/cassandra/org.wso2.carbon.cassandra.cluster.mgt >>>> >>>> Thanks, >>>> Bhathiya >>>> >>>> >>>> On Mon, May 19, 2014 at 3:49 AM, Rajith Vitharana <[email protected]>wrote: >>>> >>>>> Hi all, >>>>> >>>>> Let me explain further. There already exist a feature >>>>> (org.wso2.carbon.apimgt.usage.publisher) for this purpose, but it is >>>>> tightly coupled with synapse and use synapse handler concept. So the >>>>> products such as BAM which doesn't use synapse cannot use this feature. >>>>> But >>>>> for the Web analytic toolbox we need this to retrieve usage statistics and >>>>> publish them to a BAM instance. So we are going to develop generic feature >>>>> using a servlet that registered in a carbon component for this purpose >>>>> without using synapse. >>>>> >>>>> Thanks, >>>>> >>>>> >>>>> On Mon, May 19, 2014 at 3:36 PM, Rajith Vitharana <[email protected]>wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> We are going to develop a new component with http endpoint which can >>>>>> be used to publish data to a BAM instance. There already exist such >>>>>> component but it is tightly coupled with synapse so it cannot be used in >>>>>> BAM for web statistic toolbox. WDYT? >>>>>> >>>>>> -- >>>>>> Rajith Vitharana >>>>>> >>>>>> Software Engineer, >>>>>> WSO2 Inc. : wso2.com >>>>>> Mobile : +94715883223 >>>>>> Blog : http://lankavitharana.blogspot.com/ >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Rajith Vitharana >>>>> >>>>> Software Engineer, >>>>> WSO2 Inc. : wso2.com >>>>> Mobile : +94715883223 >>>>> Blog : http://lankavitharana.blogspot.com/ >>>>> >>>>> _______________________________________________ >>>>> Architecture mailing list >>>>> [email protected] >>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>>> >>>>> >>>> >>>> >>>> -- >>>> *Bhathiya Jayasekara* >>>> *Software Engineer,* >>>> *WSO2 inc., http://wso2.com <http://wso2.com>* >>>> >>>> *Phone: +94715478185 <%2B94715478185>* >>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj >>>> <http://www.linkedin.com/in/bhathiyaj>* >>>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* >>>> *Blog: http://movingaheadblog.blogspot.com >>>> <http://movingaheadblog.blogspot.com/>* >>>> >>>> _______________________________________________ >>>> Architecture mailing list >>>> [email protected] >>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>> >>>> >>> >>> >>> -- >>> Rajith Vitharana >>> >>> Software Engineer, >>> WSO2 Inc. : wso2.com >>> Mobile : +94715883223 >>> Blog : http://lankavitharana.blogspot.com/ >>> >>> _______________________________________________ >>> Architecture mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >>> >> >> >> -- >> *Lasantha Fernando* >> Software Engineer - Data Technologies Team >> WSO2 Inc. http://wso2.com >> >> email: [email protected] >> mobile: (+94) 71 5247551 >> >> _______________________________________________ >> Architecture mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > > -- > > *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. > email: kasung AT spamfree wso2.com > linked-in: http://lk.linkedin.com/in/gajasinghe > blog: http://kasunbg.org > > > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
