On Thu, Sep 18, 2014 at 10:27 PM, Martin Eppel (meppel) <[email protected]>
wrote:

>  Sounds good,
>
>
>
> Thanks
>
>
>
> Martin
>
>
>
> *From:* Reka Thirunavukkarasu [mailto:[email protected]]
> *Sent:* Thursday, September 18, 2014 9:55 AM
> *To:* Martin Eppel (meppel)
> *Cc:* [email protected]; Isuru Haththotuwa ([email protected])
> *Subject:* Re: exception handling in StratosManagerTopologyEventReceiver ?
>
>
>
> Hi Martin,
>
>
>
> If it is in the StratosManagerTopologyEventReceiver when receiving event
> in the listener, AFAIK we have handled it there itself rather throwing it.
> I just checked the way it is handled in AutoscalerTopologyEventReceiver.
>
+1, We should not throw it. If we do, the Topology receiver thread may get
terminated.

>
>
> Thanks,
>
> Reka
>
>
>
> On Thu, Sep 18, 2014 at 10:12 PM, Martin Eppel (meppel) <[email protected]>
> wrote:
>
> Hi,
>
> For the grouping feature (developed on 4.0.0-grouping branch) I am adding
> the persistence of an application subscription when the
> ApplicationCreatedEvent is received in the stratos manager
> (StratosManagerTopologyEventReceiver). Persisting the application required
> to handle some exception, which would have to be handled in the event
> receiver, either handle it (log it) or re-throw it. How is this type of
> scenario typically handled within the stratos frame work, I couldn’t find
> any other similar examples ?
>
> Thanks
>
> Martin
>
>
>
>
>
>
>
>
>
> --
>
> Reka Thirunavukkarasu
> Senior Software Engineer,
> WSO2, Inc.:http://wso2.com,
>
> Mobile: +94776442007
>
> --
> <%2B94776442007>
> Thanks and Regards,
>
> Isuru H.
> <%2B94776442007>
> +94 716 358 048 <%2B94776442007>* <http://wso2.com/>*
>
>
> * <http://wso2.com/>*
>
>
>

Reply via email to