[infinispan-dev] 3 XmlConfigurationParser implementations, which one to use?

Manik Surtani manik at jboss.org
Tue Aug 4 07:59:33 EDT 2009


A question for Vladimir, I believe.

On 4 Aug 2009, at 11:10, Galder Zamarreno wrote:

> Hi,
>
> There's a bit of a mess now with regards to XmlConfigurationParser
> implementations. There're now 3 of them:
>
> AutomatedXmlConfigurationParserImpl
> InfinispanConfiguration
> XmlConfigurationParserImpl
>
> Which one should we be using to parse XML configuration files from  
> unit
> tests?
>
> The reason I'm asking is because parsing via InfinispanConfiguration
> returns different results to parsing via previous
> XmlConfigurationParserImpl.
>
> For example: If XmlConfigurationParserImpl found a transport element  
> but
> transport class, it gave JGroupsTransport as default, hence a cluster
> channel would be created. However, parsing via  
> InfinispanConfiguration,
> if no transportClass has been defined, no cluster channel is created.
>
> We need to keep one and deprecate the others making sure we note  
> things
> like this, i.e. if no transport class is defined, by default we use
> JGroupsTransport (something which IMO makes a lot of sense)
>
> Cheers,
> -- 
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org








More information about the infinispan-dev mailing list