Skip to content

PubSub sample (WeatherUpdate) doesn't use the recommended multi-part technique #4

@robvon

Description

@robvon

Although the sample clearly uses a 'topic' based pub/sub system, the topic (in this case a zipcode) is not sent with the pattern shown in the doco:

"pub.SendMoreFrame("zipcode").SendFrame("some stuff");" where "zipcode" is the topic

ie the SendMoreFrame is not used for the topic.

The publish call includes the zip in the message....not as the topic. I guess it works because the subscriber is programmed to suit....

Regards

Rob

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