close

Getting Started With RSocket: Spring Boot Fire-And-Forget

Time: about 15 minutes.

Some developers reading this post will have been using HTTP for many years by now. Most of them will also know that if you want to use HTTP with other messaging models — like fire-and-forget, for example — you must sometimes use clever workarounds like this one posted on Stackoverflow. That’s because HTTP is a request-response protocol. It requires a request to be sent and a response to be received. It has no concept of a one-way message without any form of response.

RSocket takes a different approach. RSocket defines a new protocol layer on top of transports like TCP and WebSockets. This new protocol offers greater choice to developers, with built-in support for four distinct interaction models:

Read more

Spring Boot 2.3.0.M3 available now

On behalf of the team and everyone that contributed, I am pleased to announce that the third milestone of Spring Boot 2.3 has been released and is available from our milestone repository.

This release closes 89 issues and pull requests. Thanks to all those who have contributed.

Highlights of this milestone include:

  • Support for gracefully shutting down the embedded web server
  • Support for customizing the layers when building a layered jar with Maven
  • Support for R2DBC
  • Auto-configuration for Spring Integration’s RSocket support
  • Numerous dependency upgrades
Read more

Spring Integration 5.3 Milestone 3 Available

I’m pleased to announce the third milestone for Spring Integration 5.3.

This release ships several bug fixes, a bunch of new features and improvements and will be picked up by Spring Boot 2.3 M3 in the near future.

It can be downloaded from our milestone repository:

compile "org.springframework.integration:spring-integration-core:5.3.0.M3"

The most important new features are:

  • Reactive transactions support. The ReactiveTransactionManager can now be configured for endpoints which produces reactive type for replies or just implement ReactiveMessageHandler.

  • ReactiveRequestHandlerAdvice - a MethodInterceptor for message handlers producing a Mono as a payload for reply. The BiFunction<Message<?>, Mono<?>, Publisher<?>> customized is applied for the returned Mono via Mono.transform(Function) operator to add some aspects into a produced result. Typically it is used for timeout, retry, tag options applied for the remote reactive requests, e.g. Webflux or RSocket.

  • Kotlin DSL. As we promised before, we have merged spring-integration-kotlin-dsl project into core one for general availability and for further possible improvements which are possible only with direct access to core Spring Integration classes. See org.springframework.integration.dsl.IntegrationFlowDsl.kt for more information.

  • Web Services Java DSL. With a lot of community requests the Java DSL components for Web Services modules has made it into project. See org.springframework.integration.ws.dsl.Ws for more information.

See What’s New? in the Reference Manual for more information.

We’re looking forward to your feedback for upcoming RC in April!

Read more

Spring Data Neumann M4 released

On behalf of the community, I’d like to announce the availability of the Spring Data Neumann M4 milestone release. It is planned to be the last milestone before the first release candidate.

Neumann M4 ships with 69 tickets fixed. It is built on top of Spring Framework 5.2.4 and will be picked up by Spring Boot 2.3.0 M3 for your convenience.

Finally, here are links to the reference documentation, changelogs, and artifacts of the individual project releases:

Read more

Spring Cloud Data Flow 2.4.2 GA Released

Spring Cloud Data Flow team is pleased to announce the GA release of 2.4.2.

In this release, along with some bug fixes, we primarily focused on the server/client-side performance improvements on the stream management.

The REST layer in Spring Cloud Data Flow server is refactored to accommodate better pagination and performance when retrieving the runtime application statuses of streams. In addition to that, the SCDF dashboard pages are re-worked based on these changes. The Runtime Applications page in the Dashboard has a new layout where the runtime applications are grouped by their streams. The Streams page is also refactored to efficiently retrieve the stream status, application metrics, etc.,

Read more

Spring Tips: Java 14 (or: Can Your Java Do This?)

Hi, Spring fans! Welcome to another installment of Spring Tips! In this installment, we’re going to look at the new features in Java 14 and their use in building Spring Boot-based applications.

Speaker: Josh Long (@starbuxman)

To get started, we need to use the latest and greatest version of Java, Java 14, which isn’t - just yet - released yet. It is due to be shipped in early 2020. You can download early access releases on Java.net. You might also consider using SDKManager (sdk), which makes installing new JVM editions a trivial matter indeed.

Read more

This Week in Spring - March 10th, 2020

Hi, Spring fans! Welcome to another rip-roaring installment of This Week in Spring! My family and I are basically self-quarantined for the meanwhile, trying to avoid the terrifying COVID-19 pandemic that’s ravaging communities around the world. This pandemic is bad because it’s leaving countless thousands of sick or dead. It also means that it’s harder for me to get on planes to meet people.

I’m disappointed I won’t be able to - and haven’t been able to - make these shows. But, there’s always something to be learned and this week is no different. It was a busy week in Spring indeed! Let’s get to it!

Read more

Spring Boot for Apache Geode & Pivotal GemFire 1.1.6.RELEASE & 1.2.5.RELEASE available!

On behalf of the Spring, Apache Geode and Pivotal GemFire communities, it is my pleasure to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.1.6.RELEASE and 1.2.5.RELEASE.

SBDG 1.1.6.RELEASE builds on Spring Boot 2.1.13.RELEASE, which is based on Spring Framework 5.1.14.RELEASE, Spring Data Lovelace-SR16, Spring Session Bean-SR9 with SSDG 2.1.9.RELEASE, Apache Geode 1.6.0 and Pivotal GemFire 9.5.4. Bits are available in Maven Central. See changelog for more details.

Read more

Spring Session for Apache Geode & Pivotal GemFire 2.1.9.RELEASE, 2.2.3.RELEASE and 2.3.0.RC1 available!

On behalf of the Spring, Apache Geode and Pivotal GemFire communities, it is my pleasure to announce the release of Spring Session for Apache Geode & Pivotal GemFire (SSDG) 2.1.9.RELEASE, 2.2.3.RELEASE and 2.3.0.RC1.

SSDG 2.1.9.RELEASE and 2.2.3.RELEASE are available from Maven Central.

SSDG 2.3.0.RC1 is available from the Spring Milestone Repository.

SSDG 2.1.9.RELEASE builds on Spring Framework 5.1.14.RELEASE, Spring Data Lovelace-SR16, Spring Session Bean-SR9, Apache Geode 1.6.0 and Pivotal GemFire 9.5.4.

Read more