# @EventListener(condition = ...) evaluated against the event, and a condition that names a property that does not exist


--- OrderPlaced(VIP-1, 150) ---
large       (amount >= 100)
vip         (id starts with VIP)
both        (large and VIP)

--- OrderPlaced(VIP-2, 20) ---
vip         (id starts with VIP)

--- OrderPlaced(X-3, 500) ---
large       (amount >= 100)

--- OrderPlaced(X-4, 1) ---
(no listener ran)

--- a condition that says #event.amountt ---
context started: true
publishEvent threw: SpelEvaluationException
root cause: EL1008E: Property or field 'amountt' cannot be found on object of type 'com.ankurm.events.badcondition.OrderPlaced' - maybe not public or not valid?
