Skip to content

Ability to store session object inside RSocketRequester chain #1068

Open
@maxim-bandurko-lsvt

Description

@maxim-bandurko-lsvt

Hello.

Would be very nice to add to somewhere inside RSocketRequester the AtomicReference<Object> type field that will cache the session object for reuse, especially it will be very convenient to obtain value from it inside MessageMappings at Spring Boot.

I am coming from this: #831 and had implemented a basic wrapper around WebsocketDuplexConnection as to cache this value. Not a big deal, it is just needed to use reflection per each ws route as to get that session object, but would be nice, if that it can have native public method not so chained to obtain it.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions