Infinispan Spring Boot Starter released with Spring Boot 2.2.4.RELEASE
Dear Infinispan and Spring Boot users,
We are pleased to announce the release of Infinispan Spring Boot 2.1.8.Final and 2.2.0.Final.
2.1.8.Final uses Infinispan 9.4.17.Final and Spring Boot 2.2.2.RELEASE
2.2.0.Final uses Infinispan 10.1.1.Final and Spring Boot 2.2.2.RELEASE
Configuring Marshalling with Infinispan 10.x
Infinispan 10.x servers have some significant changes to marshalling that impact Spring Boot users.
Unfortunately ProtoStream does not currently work with Infinispan Spring Cache and Session support. As a result, Spring users in Remote Client/Server Mode must use the Java Serialization Marshaller and add classes to a Java serialization whitelist.
Add the following configuration properties:
infinispan.remote.java-serial-whitelist property specifies the classes, or packages, that Java
serialization can marshall. Separate multiple class names with a comma (
Note that, in previous versions, JBoss Marshaller was the default for Infinispan. Spring users can also use JBoss Marshalling, but it is deprecated as of Infinispan 10.x.
Get it, Use it, Ask us!We’re hard at work on new features, improvements and fixes, so watch this space for more announcements!
Please, download and test the latest release.
If you have questions, are experiencing a bug or want advice on using Infinispan, you can use StackOverflow. We will do our best to answer you as soon as we can.
Katia Aresti is a Senior Software Engineer working for Red Hat since 2017. She is part of the core Infinispan team, reponsible of the integration with other frameworks such as Spring-Boot, Vert.x or Quarkus, developing new features such as Clustered Counters, REST API endpoints and the new Server Web Console.