On Fri, Aug 27, 2010 at 5:43 PM, Samisa Abeysinghe <[email protected]> wrote:

> OK, good stuff!
>
> Now, how can I map this to a use case?
>

This is the use case we have in mind.

Lets say BAM receives events from a data publisher. Currently BAM store all
the messages.

But if some one wants to store only set of messages which depends on some
criteria, for an example if the AveageResponseTime is greater than 50 for
last 5 messages, since he only
need to analyze those data.

Actually we need to find more real use cases and see how BAM and CEP and fit
there.

thanks,
Amila.






>
> On Fri, Aug 27, 2010 at 5:12 PM, Ajith Vitharana <[email protected]> wrote:
>
>> Hi all,
>>
>> we are using a configuration file called bam.xml to define BAM message
>> processing type, and  message forward EPR 's (cep bucket path) for the WSAS
>> and ESB.
>>
>> eg :
>>
>> <bamServer>
>>     <bamMessageProcessor type="cep">
>>             <serverDataEPR>
>> https://10.100.1.187:9443/services/CEPWSBrokerProxyService/Publish/addStatistics
>> </serverDataEPR>
>>             <mediationDataEPR>
>> https://10.100.1.187:9443/services/CEPWSBrokerProxyService/Publish/addMediationStatistics
>> </mediationDataEPR>
>>     </bamMessageProcessor>
>> </bamServer>
>>
>> The bamMessageProcessor type should be  "cep" or "bam".
>> if the type is "cep" data collection  is filtered using CEP. if it is
>> "bam" data collection will be using row events(this is the default one).
>>
>> We want to put following jar files to the repository/components/dropings
>> folder to integrate the CEP to BAM.
>>
>>    org.wso2.carbon.event.cep.core-3.1.0.SNAPSHOT.jar
>>    antlr-runtime-3.1.1.wso2v1.jar
>>    antlr-2.7.7.wso2v1.jar
>>    org.wso2.carbon.event.cep.esper-3.1.0-SNAPSHOT.jar
>>    org.wso2.carbon.event.ui-3.1.0.SNAPSHOT.jar
>>
>> Then put these jars to the repository/components/lib folder
>>
>>    esper_3.4.0_1.0.0.jar
>>    esperio_db_3.4.0_1.0.0.jar
>>    esperio_stax_3.4.0_1.0.0.jar
>>
>> At the next step we want to put cep-component.conf file to the
>> repository/components/conf.
>> The cep-component.conf file containing the basic configuration for the
>> Esper and  set of buckets to process the cep events.
>> Finally we want to create a subscription , using BAM message receiver as a
>> *Event Sink EPR* and the *Topic* we have mentioned in the relevant
>> buckets in cep-component.conf file.
>>
>>
>> Thanks
>> ajithn
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to