Skip to content

Align with Framework changes to RSocket routing and new message/x.rsocket.routing.v0 requests #17135

@wilkinsona

Description

@wilkinsona

Latest Framework snapshots are causing RSocketWebSocketNettyRouteProviderTests to fail with the following:

java.lang.IllegalArgumentException: No encoder for java.lang.String
	at org.springframework.messaging.rsocket.RSocketStrategies.encoder(RSocketStrategies.java:61)
	at org.springframework.messaging.rsocket.DefaultRSocketRequester$DefaultRequestSpec.encodeMetadata(DefaultRSocketRequester.java:274)
	at org.springframework.messaging.rsocket.DefaultRSocketRequester$DefaultRequestSpec.lambda$getMetadata$6(DefaultRSocketRequester.java:252)

The request that can't be encoded has a MIME type of message/x.rsocket.routing.v0 that was added to Framework in this commit.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions