Skip to content

Ensure access to configured mime types in client-side RSocket requester or responder #23012

@rstoyanchev

Description

@rstoyanchev

Until rsocket/rsocket-java#636, RSocketFactory supported only Function<RSocket, RSocket> for client side responders, which meant they had no access to the MimeType for the connection unless they were a) anonymous (or otherwise session scoped), and b) the MimeType was passed to them.

In the latest snapshots RSocketFactory provides access to the ConnectionSetupPayload on the client side too via a BiFunction. We can now change MessageHandlerAcceptor to get the data MimeType for the connection regardless of where it's used (client or server).

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions