Isn't this at least make sense, at the *CreatedEvents? Currently, if I do
some change to a bean of the topology, I've to duplicate this change inside
the event too. Which is very error probing.

If everyone agrees, I could fix this.


On Sun, Nov 24, 2013 at 3:22 PM, Nirmal Fernando <[email protected]>wrote:

> All,
>
> AFAIS currently we maintain the same information in a POJO (say Cluster)
> and also in its corresponding event (ClusterCreatedEvent) separately.
> What's the reason behind this? I feel this is an unnecessary work and this
> doesn't scale.
>
> For me, what makes sense is to send the corresponding POJO wrapped via an
> Event. This way we need to maintain information only at the POJO and makes
> programming the events much much easy.
>
> WDYT?
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Best Regards,
Nirmal

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

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

Reply via email to