Hi!
We are using JBoss EAP and thus configure Axon via CDI.
Basically, what we want to do is simply forward the entire Axon’s MetaData coming from command handler directly to event handler.
What we are trying is:
DefaultConfigurer.defaultConfiguration()
// some other configuration stuff
.configureCorrelationDataProviders(conf -> Collections.singletonList(Message::getMetaData))
.buildConfiguration();
However, this doesn’t seem working (see the attached CDISetup for more information)
Are we missing something?
Thanks!
CDISetup.java (4.48 KB)