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.
The default Marshaller for Infinispan 10.x is ProtoStream, which uses Protocol Buffers to provide extensible, language and platform neutral serialization.
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.marshaller=org.infinispan.commons.marshall.JavaSerializationMarshaller
infinispan.remote.java-serial-whitelist=org.infinispan.tutorial.simple.spring.remote.*
The 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!
You can find these releases in the maven central repository.
Please report any issues in our issue tracker and join the conversation in our Zulip Chat to shape up our next release.
Enjoy,
The Infinispan Team
News
2020-09-08 Infinispan 12.0.0.Dev03
2020-08-31 Non Blocking Saga
2020-08-28 The developer Conference Sao Paulo
2020-07-28 Infinispan Server Tutorial
2020-07-27 Infinispan 12.0.0.Dev01
Tags
Tags: release spring boot spring