Hi Jérôme,
I have made the necessary adjustments in the `QuartzDeadlineManager` to de-/serialize the `DeadlineMessage` in a more sustainable method then we were initially doing. The work for that can be found
here.
This fix is slated for 3.3.3, so from that point in your should be able to use the JacksonSerializer for the QuartzDeadlineManager.
To answer the testing question: I tested with the versions present in the Axon Framework project at the moment.
So for Spring Boot that's 1.5.7.RELEASE and for XStream that is 1.4.10.
Additionally, I did not manage to reproduce the issue you encountered whilst deserializing the `DeadlineMessage` with XStream.
I focused on fixing the JacksonSerializer usage in the ticket shared.
For your last reply, I understand that providing the default Spring bean in the `QuartzDeadlineManager` sounds more than reasonable.
However, Axon Framework is intended to be usable without the use of Spring as well, so enforcing the default XStreamSerializer from the Spring Boot configuration to be used everywhere isn't that easily achieved.
Additionally, the provision of a `new XStreamSerializer()` like is done at this point is how we are doing things in a multitude of areas.
Thus, on face value I would expect things to break more often because of this.
Checking what the 'default XStreamSerializer' is when using the `axon-spring-boot-autoconfigure` we can see the following:
XStreamSerializer xStreamSerializer = new XStreamSerializer(revisionResolver);
xStreamSerializer.getXStream().setClassLoader(beanClassLoader);
return xStreamSerializer;
Would you mind testing whether your `QuartzDeadlineManager` works as expected if you provide it an serializer like I just described?
I am wondering whether I should pursue this bit further, hence why I am requesting this of you.
Concluding, Jackson serialization will be fixed, so stay tuned for that.
And, if you could provide the requested test result, that would be very much appreciated!
Cheers,
Steven