On 07/07/2014 11:04 AM, Bela Ban wrote:
How ? I already have an infinispan.xml, create a CacheManager off of
it
and now only want to change the transport.
I don't know if there is an easy way, but this may work:
ParserRegistry parser = new ParserRegistry();
ConfigurationBuilderHolder holder = parser.parse(/*filename or input
stream*/);
holder.getGlobalConfiguration().transport().transport(new
CustomTransport());
DefaultCacheManager manager = new DefaultCacheManager(holder, true);
I need to get another PhD to understand programmatic configuration in
Infinispan
lol
On 07/07/14 11:51, Pedro Ruivo wrote:
>
>
> On 07/07/2014 09:14 AM, Bela Ban wrote:
>> This is gone in 7. Do I now have to use programmatic configuration ? If
>> so, how would I do this ?
>
> AFAIK, yes it was removed from configuration file and can only be set by
> programmatic configuration.
>
> Pedro
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>