[
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.
> 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)