stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@apache.org>
Subject Re: [Stratos] [4.1.5] Message Type is Set to an Empty String when Using ClusterStatusProcessorChain
Date Wed, 18 Nov 2015 17:43:10 GMT
I'm sorry Isuru I'm not so sure how this logic works, @Reka: Do you have
any thoughts?

Thanks

On Wed, Nov 18, 2015 at 6:52 PM, Isuru Haththotuwa <isuruh@apache.org>
wrote:

> Hi,
>
> In ClusterMonitor [1] and AutoscalerTopologyEventReceiver [2] classes,
> there are two occasions where we are sending a message through the
> ClusterStatusProcessorChain with type set to an empty String [3, 4]. AFAIK
> the processor chain will determine which processor to use based on this
> type, and since its empty, the message will not update the ClusterStatus.
> Any particular reason to do this?
>
> [1]. org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor
> [2].
> org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver
> [3].
> ServiceReferenceHolder.getInstance().getClusterStatusProcessorChain().
>                        * process("", clusterId, clusterInstanceId);*
>
> [4].
> ServiceReferenceHolder.getInstance().getClusterStatusProcessorChain().
>                       *  process("", cluster.getClusterId(),
> clusterInstance.getInstanceId());*
>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
>


-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Mime
View raw message