updated events example to send a plain string message, a groovy object
and a list of groovy objects