Package com.opencqrs.framework.upcaster
package com.opencqrs.framework.upcaster
Contains event upcasting components.
-
ClassDescriptionTemplate implementation of
EventUpcasterthat uses a delegateEventDataMarshallerto allow subclasses to upcastEventData.metaData()andEventData.payload()as pre-extracted JSON-likeMaps.Captures upcastedEvent.type(), meta-data, and payload.Interface to be implemented whenEvents need to be migrated to a new representation, so-called upcasting.Captures upcastedEvent.type()andEvent.data().Auto-configuration forEventUpcasters.Implementation class delegating to a list of configurableEventUpcasters combining theEventUpcaster.Results appropriately.EventUpcasterimplementation that changes theEvent.type()to a new type if it matches the configured source type.