[infinispan-dev] getting ISPN config as XML via JMX

Pete Muir pmuir at redhat.com
Fri Oct 14 13:20:20 EDT 2011


As I said, for Martin, it's better to test the cache functionality (end-to-end testing) vs unit testing this.

This is going to be a lot harder to support as we move away from JAXB. It would be better to make an inspector or reporter for the cache config imo.

On 14 Oct 2011, at 18:06, Mircea Markus wrote:

> 
> On 14 Oct 2011, at 17:40, Pete Muir wrote:
> 
>> What is the use case for that method? I've never know anyone actually want to export a running config as XML. So I was planning to loose it.
> This option originated was initially requested by a community member [1] who needed it. There's also Martin's use case and I'm not sure how that can be tested differently. 
>> 
>> It would be far better to interrogate the cache state and behavior and check the config has actually taken effect. Full integration testing is considerably more powerful than anemic unit tests.
>> 
>> I know EDG doesn't officially support it, but there is no chance of installing a servlet that can access the AdvancedCache and then using e.g. REST to interrogate it.
> 
> [1]https://issues.jboss.org/browse/ISPN-948
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev




More information about the infinispan-dev mailing list