Add published attribute in EventBean