The 'cache-sessions' attribute was deprecated in 2.1 in favor of using a configured CachingConnectionFactory to provide more flexibility, such as setting the cache size. Remove the attribute from the schemas. Update tests. Add docs. Update Migration Guide on the project Wiki.