Package com.opencqrs.framework.upcaster
package com.opencqrs.framework.upcaster
Contains event upcasting components.
-
ClassDescriptionTemplate implementation of
EventUpcaster
that uses a delegateEventDataMarshaller
to allow subclasses to upcastEventData.metaData()
andEventData.payload()
as pre-extracted JSON-likeMap
s.Captures upcastedEvent.type()
, meta-data, and payload.Interface to be implemented whenEvent
s 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 configurableEventUpcaster
s combining theEventUpcaster.Result
s appropriately.EventUpcaster
implementation that changes theEvent.type()
to a new type if it matches the configured source type.