[Dev] Generate events on system failures
Hi all, I just want to take an idea on how can we do $subject. Say we have a setup wich publish business activities to WSO2 BAM from WSO2 ESB or WSO2 ApiM. An user might need to generate events such as emails or phone calls on back end service unavailability. We will have these details in the received data from ESB or ApiM. Is it possible to achieve this using WSO2 CEP? Thanks. Sent from my mobile. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Generate events on system failures
Yes, its possible to achieve $subject using CEP. Dinusha recently did a similar POC which triggered an email when a certain number of throttling level was reached AFAIR. Thanks, NuwanD. On Wed, Sep 4, 2013 at 6:56 PM, Lahiru Sandaruwan wrote: > Hi all, > > I just want to take an idea on how can we do $subject. > Say we have a setup wich publish business activities to WSO2 BAM from WSO2 > ESB or WSO2 ApiM. An user might need to generate events such as emails or > phone calls on back end service unavailability. We will have these details > in the received data from ESB or ApiM. > Is it possible to achieve this using WSO2 CEP? > > Thanks. > > Sent from my mobile. > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Nuwan Dias Senior Software Engineer - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Generate events on system failures
Great. Thanks Nuwan and Dinusha. I will follow these resources. Thanks. On Wed, Sep 4, 2013 at 7:31 PM, Dinusha Senanayaka wrote: > > > > On Wed, Sep 4, 2013 at 7:23 PM, Nuwan Dias wrote: > >> Yes, its possible to achieve $subject using CEP. Dinusha recently did a >> similar POC which triggered an email when a certain number of throttling >> level was reached AFAIR. >> > > Yes, we have done a sample for this.. > API Manager will publish the events to CEP.. CEP is doing two things.. > 1. Forward data to BAM to use for statistic calculations. > 2. If same API invokes more than 5 times within 1 minute from the same > application, this will send an email notification to a given email > address. > > This set-up is available to download in [1] and related blog post [2]. > [1]. http://builder3.us1.wso2.org/builds/BAM-CEP-AM/ > [2]. > http://dinushasblog.blogspot.com/2013/08/integrating-wso2-api-manager-with-bam.html > > Regards, > Dinusha. > > >> Thanks, >> NuwanD. >> >> >> On Wed, Sep 4, 2013 at 6:56 PM, Lahiru Sandaruwan wrote: >> >>> Hi all, >>> >>> I just want to take an idea on how can we do $subject. >>> Say we have a setup wich publish business activities to WSO2 BAM from >>> WSO2 ESB or WSO2 ApiM. An user might need to generate events such as emails >>> or phone calls on back end service unavailability. We will have these >>> details in the received data from ESB or ApiM. >>> Is it possible to achieve this using WSO2 CEP? >>> >>> Thanks. >>> >>> Sent from my mobile. >>> >>> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Nuwan Dias >> >> Senior Software Engineer - WSO2, Inc. http://wso2.com >> email : nuw...@wso2.com >> Phone : +94 777 775 729 >> > > > > -- > Dinusha Dilrukshi > Senior Software Engineer > WSO2 Inc.: http://wso2.com/ > Mobile: +94725255071 > Blog: http://dinushasblog.blogspot.com/ > -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Generate events on system failures
On Wed, Sep 4, 2013 at 7:23 PM, Nuwan Dias wrote: > Yes, its possible to achieve $subject using CEP. Dinusha recently did a > similar POC which triggered an email when a certain number of throttling > level was reached AFAIR. > Yes, we have done a sample for this.. API Manager will publish the events to CEP.. CEP is doing two things.. 1. Forward data to BAM to use for statistic calculations. 2. If same API invokes more than 5 times within 1 minute from the same application, this will send an email notification to a given email address. This set-up is available to download in [1] and related blog post [2]. [1]. http://builder3.us1.wso2.org/builds/BAM-CEP-AM/ [2]. http://dinushasblog.blogspot.com/2013/08/integrating-wso2-api-manager-with-bam.html Regards, Dinusha. > Thanks, > NuwanD. > > > On Wed, Sep 4, 2013 at 6:56 PM, Lahiru Sandaruwan wrote: > >> Hi all, >> >> I just want to take an idea on how can we do $subject. >> Say we have a setup wich publish business activities to WSO2 BAM from >> WSO2 ESB or WSO2 ApiM. An user might need to generate events such as emails >> or phone calls on back end service unavailability. We will have these >> details in the received data from ESB or ApiM. >> Is it possible to achieve this using WSO2 CEP? >> >> Thanks. >> >> Sent from my mobile. >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Nuwan Dias > > Senior Software Engineer - WSO2, Inc. http://wso2.com > email : nuw...@wso2.com > Phone : +94 777 775 729 > -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev