Skip to content

Allow different Codecs for the same contentType #1409

@danielpeintner

Description

@danielpeintner

At the moment, it is possible to "register" one Codec per contentType via ContentSerdes.

e.g., ContentSerdes.get().addCodec(new MyCodec("application/myType"))

There are situations where this is not enough. For example, one might want to register a generic codec for application/octet-stream and yet another for the same application/octet-stream which is used for binding-opcua only.

We should extend the API in a way to allow for that use-case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions