I have hit this error with the QuartzEventScheduler:
org.axonframework.eventhandling.scheduling.SchedulingException: An error occurred while setting a timer for a saga
Caused by: org.quartz.JobPersistenceException: Couldn’t store job: Unable to serialize JobDataMap for insertion into database because the value of property ‘org.axonframework.domain.EventMessage’ is
not serializable: axonpoc.ExpiredEvt
I would expect it to make use of a Serializer and feed quartz a String or a byte, rather than relying on quartz to serialize objects.
I think I want to have no more than 1 format for events everywhere.
Did I overlook something? Is this possibly a useful feature, still missing?