Hi,
We use the Axon SpringAMQP event bus, we have multiple applications which use Axon that communicate with each other via the event bus.
Tt often happens that the Event classes, lie in different packages in each of the applications, this results in a failure to deserialise while subscribing to the event.
A suggestion in one the earlier posts was to use something like the below
xStreamSerializer**.addPackageAlias(“patientadministration”,“com.patientadministration.domain”);**
But i am wondering how to configure this ?, can this be configured via Spring XML ?
or will I need to pull the xStreamSerializer instance out of the spring context and then configure this in ?
Thanks
Sudarshan