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

ChannelOwner tries to create forwarder before old one is suspended (forwarder is not unique) #84

@n1ko-w1ll

Description

@n1ko-w1ll

Hi again,

another issue we found has to do with the forwarder created by the ChannelOwner.

On a Shutdown message in the ChannelOwner, the forwarder is stopped via the context. However, context.stop only guarantees that the suspend message will be the next message the actor gets, but not when it will get it. If the connection is recovered too quickly, the ChannelOwner receives the new Channel before the old forwarder receives the suspend message and the creation of a new forwarder fails with "akka.actor.InvalidActorNameException: actor name [forwarder] is not unique!".

Why does the forwarder actor has to have a defined name at all? As far as I can tell, it is never selected by its name anyway.

Best regards
Niko

P.S.: we use the amqp-client_2.11 in version 1.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions