Re: [Stratos] [4.1.5] Message Type is Set to an Empty String when Using ClusterStatusProcessorChain

2015-11-18 Thread Reka Thirunavukkarasu
Hi Isuru/Imesh, This particular processor chain implemented in order to calculate the status of the application/group/cluster. When an status change occurred in member, cluster processor chain will get executed to calculate the current status of the cluster in which that member is being part of. W

Re: [Stratos] [4.1.5] Message Type is Set to an Empty String when Using ClusterStatusProcessorChain

2015-11-18 Thread Imesh Gunaratne
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 wrote: > Hi, > > In ClusterMonitor [1] and AutoscalerTopologyEventReceiver [2] classes, > there are two occasions where we are sending a message throu

Re: [Stratos] [4.1.5] Message Type is Set to an Empty String when Using ClusterStatusProcessorChain

2015-11-18 Thread Gayan Gunarathne
Also in the cluster monitor we are getting status change from[1]. AFAIU that process logic is not execute ever and stateChanged will be always false.Is n't? // Checking the current status of the cluster instance boolean stateChanged = ServiceReferenceHolder.getInstance().getCluste

[Stratos] [4.1.5] Message Type is Set to an Empty String when Using ClusterStatusProcessorChain

2015-11-18 Thread Isuru Haththotuwa
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