If you use embedded mode the configuration is different.
For server/client mode you need to add <write-behind ....> for library mode the same configuration is <async ...>
I am using the EmbeddedCacheManager. However I can't seem to be able to configure it via XML. The XML is https://gist.github.com/anonymous/11002740
If i put <async> or <write-behind>, it simply tells me that the tag is not found in the scheme (IntelliJ) and also gives a runtime error while parsing even if choose to ignore the IDE warning.