This content has been marked as final.
Show 1 reply
-
1. Re: How do I override ·"defaultTransport" programmatically?
mgencur May 25, 2012 9:02 AM (in response to sancheski)By new GlobalConfigurationBuilder().transport().transport(new YourOwnTransportImpl()).build() ;-)
The transport impl must implement org.infinispan.remoting.transport.Transport
NOTE: Currently Infinispan will not use the object instance, but instead instantiate a new
instance of the class. Therefore, do not expect any state to survive, and provide a no-args
constructor to any instance. This will be resolved in Infinispan 5.2.0