Skip to content

Reactive serialization & deserialization [SPR-14156] #18728

@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-14156 and commented

Provide Decoder for decoding a byte stream to higher-level objects and Encoder for encoding objects into a byte stream. This is similar to existing converter mechanisms (e.g. HttpMessageConverter) but built for use with Reactive Streams.

The new Encoder and Decoder should simply work with Reactive Streams and the new DataBuffer abstraction (see #18727) and therefore be reusable in different context (Web, JMS, etc).

Given the choice to use Project Reactor for Reactive Streams support internally, input can be exposed as a Reactor Flux while output can be provided as a plain Reactive Streams Publisher which could be Flux or any Reactive Streams Publisher.


Affects: 4.2.5

Sub-tasks:

Issue Links:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions