Fix marshaller inconsistent configuration
-----------------------------------------
Key: ISPN-12162
URL:
https://issues.redhat.com/browse/ISPN-12162
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 11.0.1.Final
Reporter: Katia Aresti
Assignee: Katia Aresti
Priority: Major
Fix For: 12.0.0.Dev01, 11.0.4.Final
When we use the marshaller method
public ConfigurationBuilder marshaller(Class<? extends Marshaller> marshaller)
or
public ConfigurationBuilder marshaller(String marshaller)
if a mashaller was already configured, we can't override the configuration, as it may
happen that the marshaller and marshaller class don't match.