4 Replies Latest reply: Jan 19, 2012 5:09 AM by Galder Zamarreño RSS

How to configure transport using ConfigurationBuilder?

Julio Faerman Novice

I am trying to configure infinispan like this, using CDI:


    public Configuration greetingCacheConfiguration() {
        return new ConfigurationBuilder()        


and getting this error:


org.infinispan.config.ConfigurationException: Cache cannot use a clustered mode (DIST_ASYNC) mode and not define a transport!


How can i set such transport using the ConfigurationBuilder?