Skip to content

Publisher sending duplicate messages #1106

Open
@abust005

Description

@abust005

Environment

NetMQ Version:    4.0.1.13
Operating System: Windows 10
.NET Version:     Framework 4.8

Expected behaviour

Publisher socket will only send one, multi-frame message when using either SendMoreFrame or SendMultipartMessage

Actual behaviour

Messages are being duplicated. Instead of only sending one multi-frame message, it sends two identical multi-frame messages.

Steps to reproduce the behaviour

Set up Publisher socket that connects to one or more Subscribers (have tested with C++ and Python subscribers). Set up simple message receive loop for Subscribers. Send multi-frame message using either SendMoreFrame or SendMultipartMessage schemes. Print out received messages in Subscriber loop. Two identical messages should appear.

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