You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Nirmal Fernando <ni...@gmail.com> on 2013/12/06 04:56:22 UTC

Re: [jira] [Commented] (STRATOS-160) Implement an Event Listener Model for Subscribing to Event Notificaitons

On Sun, Nov 24, 2013 at 8:48 AM, Imesh Gunaratne (JIRA) <ji...@apache.org>wrote:

>
>     [
> https://issues.apache.org/jira/browse/STRATOS-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13830841#comment-13830841]
>
> Imesh Gunaratne commented on STRATOS-160:
> -----------------------------------------
>
> We have used these event listeners in Stratos Load Balancer to update the
> load balancer context with Map<Hostname, Cluster> information:
> org.apache.stratos.load.balancer.LoadBalancerTopologyReceiver and in Load
> Balancer Extension API to listen to events which updates load balancer
> configuration:
> org.apache.stratos.load.balancer.extension.api.LoadBalancerExtension
>
> The idea of introducing this model was to listen to events in the local
> context.
>

Thanks for the information Imesh. Yes, I experienced how these listeners
could help on getting things without extending a message processor.

Nice addition to the processor chain, sorry I couldn't quite get its
importance earlier, hence the question.


>
> > Implement an Event Listener Model for Subscribing to Event Notificaitons
> > ------------------------------------------------------------------------
> >
> >                 Key: STRATOS-160
> >                 URL: https://issues.apache.org/jira/browse/STRATOS-160
> >             Project: Stratos
> >          Issue Type: Sub-task
> >            Reporter: Imesh Gunaratne
> >            Assignee: Imesh Gunaratne
> >             Fix For: 4.0.0 Alpha 1
> >
> >
> > The new event messaging system acts as the foundation for sending and
> receiving events between Stratos modules. However there is no mechanism to
> listen to incoming events (within the context of a module) without
> overriding the event processors.
> > Event Flow:
> > Event -> Event Publisher -> Message Broker -> Event Receiver -> Event
> Processor -> Event
> > The idea of this task is to implement a such event listener model which
> could provide functionality to add event listeners to event processors and
> receive event notifications when an event is received and processed.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.1#6144)
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/