Skip to content

Handle exception when trying to deserialize data from rbs-ot-correlation-context  #8

@arielmoraes

Description

@arielmoraes

When passing a Baggage the default behavior is to serialize the Dictionary into a JSON, but the size is not validated thus leading to an exception when trying to deserialize the header rbs-ot-correlation-context.

The problem here is when that happens the Exceptions are not being handled, it is not forwarded to the error queue, thus leading to an infinite loop of message processing. Soon I'll try to attach a reproducible sample.

The line that can raise that exception is

I think we can change the step index to be after the error handling step instead of being the first one or maybe the baggage shouldn't affect the message handling.

concatenator.OnReceive(incomingStep, PipelineAbsolutePosition.Front);

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