Re: [Carbon-dev] How to integrate CEP with BAM
On Mon, Aug 30, 2010 at 12:13 PM, Amila Suriarachchi wrote: > > > On Mon, Aug 30, 2010 at 11:48 AM, Ajith Vitharana wrote: > >> >> >> On Mon, Aug 30, 2010 at 9:58 AM, Srinath Perera wrote: >> >>> Hi Ajith, >>> >>> Also talked to Shammi and look at the CEP UIs he is planning, BAM and >>> CEP UIs have to fit in with each other as much as possible. >>> >> >> >> Hi Srinath , >> >> Shammi still implementing CEP UI, after finish it, I will integrate it >> with BAM. >> > > Currently CEP configuration is defined in the cep-conponent.conf. > Should this not go to Registry? Can it? What about the governance angle of CEP? > Once we have the CEP UI then users will be able to do that with CEP UI. > There is no need to integrate that with BAM. Once you put cep.ui component > into BAM carbon will automatically install it. > > In a production system, users can install CEP compoent as a P2 feature to > any product. Then even they can configure CEP to directly subscribe to BAM > data publishes or any event broker topic. > > thanks, > Amila. > > > >> Then we can use an order processing app sample to implement a business >> scenario like you have explained earlier. >> >> Thanks >> ajithn >> >> >> ___ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > ___ > Carbon-dev mailing list > Carbon-dev@wso2.org > 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 Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] How to integrate CEP with BAM
On Mon, Aug 30, 2010 at 11:48 AM, Ajith Vitharana wrote: > > > On Mon, Aug 30, 2010 at 9:58 AM, Srinath Perera wrote: > >> Hi Ajith, >> >> Also talked to Shammi and look at the CEP UIs he is planning, BAM and >> CEP UIs have to fit in with each other as much as possible. >> > > > Hi Srinath , > > Shammi still implementing CEP UI, after finish it, I will integrate it > with BAM. > Currently CEP configuration is defined in the cep-conponent.conf. Once we have the CEP UI then users will be able to do that with CEP UI. There is no need to integrate that with BAM. Once you put cep.ui component into BAM carbon will automatically install it. In a production system, users can install CEP compoent as a P2 feature to any product. Then even they can configure CEP to directly subscribe to BAM data publishes or any event broker topic. thanks, Amila. > Then we can use an order processing app sample to implement a business > scenario like you have explained earlier. > > Thanks > ajithn > > > ___ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] How to integrate CEP with BAM
On Mon, Aug 30, 2010 at 9:58 AM, Srinath Perera wrote: > Hi Ajith, > > Also talked to Shammi and look at the CEP UIs he is planning, BAM and > CEP UIs have to fit in with each other as much as possible. > Hi Srinath , Shammi still implementing CEP UI, after finish it, I will integrate it with BAM. Then we can use an order processing app sample to implement a business scenario like you have explained earlier. Thanks ajithn ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build Failure in core/org.wso2.carbon.caching.core
Later I got to know that everyone has moved to JDK 1.6. :) Sorry for the noise. Thanks, Thilina On Mon, Aug 30, 2010 at 11:01 AM, Thilina Mahesh Buddhika wrote: > Hi Senaka, > > I am getting the following build error when trying to build the above > module with JDK 1.5. > > [INFO] Compiling 3 source files to > /home/thilina/projects/carbon/trunk/core/org.wso2.carbon.caching.core/target/classes > [INFO] > > [ERROR] BUILD FAILURE > [INFO] > > [INFO] Compilation failure > /home/thilina/projects/carbon/trunk/core/org.wso2.carbon.caching.core/src/main/java/org/wso2/carbon/caching/infinispan/InfinispanCacheManager.java:[22,-1] > cannot access org.infinispan.config.Configuration > bad class file: > /home/thilina/.m2/repository/org/infinispan/infinispan-core/4.1.0.CR2/infinispan-core-4.1.0.CR2.jar(org/infinispan/config/Configuration.class) > class file has wrong version 50.0, should be 49.0 > > But it builds successful with JDK 1.6. > > It seems like infinispan-core-4.1.0.CR2.jar is compiled with JDK 1.6 which > causes this build error with JDK 1.5. > > Thanks, > Thilina > > -- > Thilina Mahesh Buddhika > Senior Software Engineer > WSO2 Inc. ; http://wso2.com > lean . enterprise . middleware > > phone : +94 77 44 88 727 > blog : http://blog.thilinamb.com > -- Thilina Mahesh Buddhika Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Build Failure in core/org.wso2.carbon.caching.core
Hi Senaka, I am getting the following build error when trying to build the above module with JDK 1.5. [INFO] Compiling 3 source files to /home/thilina/projects/carbon/trunk/core/org.wso2.carbon.caching.core/target/classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /home/thilina/projects/carbon/trunk/core/org.wso2.carbon.caching.core/src/main/java/org/wso2/carbon/caching/infinispan/InfinispanCacheManager.java:[22,-1] cannot access org.infinispan.config.Configuration bad class file: /home/thilina/.m2/repository/org/infinispan/infinispan-core/4.1.0.CR2/infinispan-core-4.1.0.CR2.jar(org/infinispan/config/Configuration.class) class file has wrong version 50.0, should be 49.0 But it builds successful with JDK 1.6. It seems like infinispan-core-4.1.0.CR2.jar is compiled with JDK 1.6 which causes this build error with JDK 1.5. Thanks, Thilina -- Thilina Mahesh Buddhika Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] How to integrate CEP with BAM
On Mon, Aug 30, 2010 at 10:23 AM, Samisa Abeysinghe wrote: > We already have an order processing app sample with BAM. Can we build on > that please? should be able to do. Can I have the soap message received by BAM from the data publisher? thanks, Amila. > > > On Mon, Aug 30, 2010 at 10:21 AM, Amila Suriarachchi wrote: > >> >> >> On Mon, Aug 30, 2010 at 9:56 AM, Srinath Perera wrote: >> >>> Hi Ajith, >>> >>> How about this for a usecase. >>> >>> Say I have a business that sells watches online, and if the average >>> value of watches sold in a day has increased by more than 20%, I want >>> to know (or increased by 1LKR). >> >> >> for this cep query may look like this >> >> select * from InventoryData.win:time(24 hour) having avg(value) > 1.2*x >> >> Here it takes the last 24 hours rather than the starting from a particular >> day and assume average is x. >> >> In CEP point of view it can subscribe to any broker to get messages and >> publish the events to any broker. >> >> >> thanks, >> Amila. >> >> >>> Justification is that I want to >>> adjust my next orders from manufacturers accordingly. >>> >>> Now how easy is to do this through BAM and CEP (using generic >>> constructs as much as possible)? >>> >>> Thanks >>> Srinath >>> >>> On Fri, Aug 27, 2010 at 7:57 PM, Ajith Vitharana >>> wrote: >>> > >>> > The root element has missed in the earlier attached cep-component.conf >>> file >>> > :( >>> > >>> > correct one attached . >>> > >>> > Thanks >>> > ajithn >>> > >>> > ___ >>> > Carbon-dev mailing list >>> > Carbon-dev@wso2.org >>> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> > >>> > >>> >>> >>> >>> -- >>> >>> Srinath Perera, Ph.D. >>>WSO2 Inc. http://wso2.com >>>Blog: http://srinathsview.blogspot.com/ >>> >>> ___ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >> >> >> ___ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> 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 > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] How to integrate CEP with BAM
We already have an order processing app sample with BAM. Can we build on that please? On Mon, Aug 30, 2010 at 10:21 AM, Amila Suriarachchi wrote: > > > On Mon, Aug 30, 2010 at 9:56 AM, Srinath Perera wrote: > >> Hi Ajith, >> >> How about this for a usecase. >> >> Say I have a business that sells watches online, and if the average >> value of watches sold in a day has increased by more than 20%, I want >> to know (or increased by 1LKR). > > > for this cep query may look like this > > select * from InventoryData.win:time(24 hour) having avg(value) > 1.2*x > > Here it takes the last 24 hours rather than the starting from a particular > day and assume average is x. > > In CEP point of view it can subscribe to any broker to get messages and > publish the events to any broker. > > > thanks, > Amila. > > >> Justification is that I want to >> adjust my next orders from manufacturers accordingly. >> >> Now how easy is to do this through BAM and CEP (using generic >> constructs as much as possible)? >> >> Thanks >> Srinath >> >> On Fri, Aug 27, 2010 at 7:57 PM, Ajith Vitharana wrote: >> > >> > The root element has missed in the earlier attached cep-component.conf >> file >> > :( >> > >> > correct one attached . >> > >> > Thanks >> > ajithn >> > >> > ___ >> > Carbon-dev mailing list >> > Carbon-dev@wso2.org >> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> > >> > >> >> >> >> -- >> >> Srinath Perera, Ph.D. >>WSO2 Inc. http://wso2.com >>Blog: http://srinathsview.blogspot.com/ >> >> ___ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> > > > ___ > Carbon-dev mailing list > Carbon-dev@wso2.org > 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 Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] How to integrate CEP with BAM
On Mon, Aug 30, 2010 at 9:56 AM, Srinath Perera wrote: > Hi Ajith, > > How about this for a usecase. > > Say I have a business that sells watches online, and if the average > value of watches sold in a day has increased by more than 20%, I want > to know (or increased by 1LKR). for this cep query may look like this select * from InventoryData.win:time(24 hour) having avg(value) > 1.2*x Here it takes the last 24 hours rather than the starting from a particular day and assume average is x. In CEP point of view it can subscribe to any broker to get messages and publish the events to any broker. thanks, Amila. > Justification is that I want to > adjust my next orders from manufacturers accordingly. > > Now how easy is to do this through BAM and CEP (using generic > constructs as much as possible)? > > Thanks > Srinath > > On Fri, Aug 27, 2010 at 7:57 PM, Ajith Vitharana wrote: > > > > The root element has missed in the earlier attached cep-component.conf > file > > :( > > > > correct one attached . > > > > Thanks > > ajithn > > > > ___ > > Carbon-dev mailing list > > Carbon-dev@wso2.org > > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > > > -- > > Srinath Perera, Ph.D. >WSO2 Inc. http://wso2.com >Blog: http://srinathsview.blogspot.com/ > > ___ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] How to integrate CEP with BAM
Hi Ajith, How about this for a usecase. Say I have a business that sells watches online, and if the average value of watches sold in a day has increased by more than 20%, I want to know (or increased by 1LKR). Justification is that I want to adjust my next orders from manufacturers accordingly. Now how easy is to do this through BAM and CEP (using generic constructs as much as possible)? Thanks Srinath On Fri, Aug 27, 2010 at 7:57 PM, Ajith Vitharana wrote: > > The root element has missed in the earlier attached cep-component.conf file > :( > > correct one attached . > > Thanks > ajithn > > ___ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Srinath Perera, Ph.D. WSO2 Inc. http://wso2.com Blog: http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] How to integrate CEP with BAM
Hi Ajith, Also talked to Shammi and look at the CEP UIs he is planning, BAM and CEP UIs have to fit in with each other as much as possible. Thanks Srinath On Mon, Aug 30, 2010 at 9:56 AM, Srinath Perera wrote: > Hi Ajith, > > How about this for a usecase. > > Say I have a business that sells watches online, and if the average > value of watches sold in a day has increased by more than 20%, I want > to know (or increased by 1LKR). Justification is that I want to > adjust my next orders from manufacturers accordingly. > > Now how easy is to do this through BAM and CEP (using generic > constructs as much as possible)? > > Thanks > Srinath > > On Fri, Aug 27, 2010 at 7:57 PM, Ajith Vitharana wrote: >> >> The root element has missed in the earlier attached cep-component.conf file >> :( >> >> correct one attached . >> >> Thanks >> ajithn >> >> ___ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > > -- > > Srinath Perera, Ph.D. > WSO2 Inc. http://wso2.com > Blog: http://srinathsview.blogspot.com/ > -- Srinath Perera, Ph.D. WSO2 Inc. http://wso2.com Blog: http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev