Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

SharedChannelOutboundMessage is always json encoded #50

@daviddawson

Description

@daviddawson

SharedSocketRoute.java:65
Codecs.EncodingResult result = codecs.encode(outboundMessage, new String[] {"application/json"});

This is done this way because the discovery isn't available to sniff the acceptable content types of the remote, and we don't have this type of state naturally bound to the entire channel when it is composed.

This forces a json encoding at the low level when it may not be necessary.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions