A message contains the actual data object which is sent by the publisher and delivered to the interested subscribers for the topic. For example, some subscribers are interested in order details of a company so that it can be processed further by the subscribers. A topic is created to publish messages for
Order and all subscribers interested will subscribe to it. Once the publisher publishes the message to the topic, the registered subscribers are notified that a message pertaining to their interest has been published.
In case of multiple messages, the messages are stored in a sequence in a queue in the topic, however, ordered delivery of messages is not guaranteed.
The same message can be assigned to multiple topics. This is uniquely identified through an auto generated ID.
In This Section
Message Behavior and Properties
Explains the behavior of a Pub/Sub message in NCache under various scenarios Describes the interface and provides code sample to create a message.
Creating a Pub/Sub Message
Describes the interface and provides code sample to create a message.