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/

Reply via email to