Control of publish/subscribe messaging
First Claim
Patent Images
1. A method for controlling receipt by a subscriber of messages having a respective topic name in a publish/subscribe messaging network, the method comprising:
- subscribing to at least one topic name within a sequence of topic names;
receiving a published message having a first topic name to which the subscriber is subscribed; and
unsubscribing from the first topic name in response to receiving the published message.
1 Assignment
0 Petitions
Accused Products
Abstract
Subscribers connected to a publish/subscribe message broker receive messages on topic names to which they have subscribed. The messages are published with respective topic names within a sequence of topic names. The subscribers initially subscribe to at least one topic in the sequence, and then await receipt of a published message on the subscribed topic. On receipt of a published message, the subscriber unsubscribes from the subscribed topic and subscribes to a previously-unsubscribed next topic in the sequence.
289 Citations
18 Claims
-
1. A method for controlling receipt by a subscriber of messages having a respective topic name in a publish/subscribe messaging network, the method comprising:
-
subscribing to at least one topic name within a sequence of topic names;
receiving a published message having a first topic name to which the subscriber is subscribed; and
unsubscribing from the first topic name in response to receiving the published message. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for controlling delivery of published messages to subscribers by a publish/subscribe message broker, wherein the message broker maintains subscription information identifying subscribers to respective message topics, the method comprising:
-
receiving a published message from a publisher;
transmitting the published message to at least one subscriber, wherein the transmitted message has a first topic name within a sequence of topic names and is transmitted to subscribers that are subscribed to receive messages having the first topic name;
receiving an unsubscribe request from the first subscriber which unsubscribe request specifies the first topic name subsequent to transmitting a received message having the first topic name to a first subscriber; and
updating the subscription information maintained at the message broker such that the first subscriber is no longer subscribed to receive messages having the first topic name in response to receiving the unsubscribe request. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A method for controlling republication of messages by a publisher in a publish/subscribe messaging network, the method comprising:
-
assigning sequential topic names to a sequence of messages and publishing the messages with their respective assigned topic name;
checking whether any subscribers are active for assigned topic names; and
republishing messages having topic names for which said checking determines that at least one subscriber is active, without republishing messages having topic names for which no subscribers are active. - View Dependent Claims (12)
-
-
13. A computer program product for controlling delivery of published messages to subscribers in a publish/subscribe messaging system, the computer program product comprising:
-
a computer usable medium having computer usable program code embodied therein, the computer usable program code comprising, computer usable program code configured to subscribe to at least one topic name within a sequence of topic names;
computer usable program code configured to receive a published message having a first topic name to which the subscriber is subscribed; and
computer usable program code configured to unsubscribe from the first topic name in response to receiving the published message.
-
-
14. A computer program product for controlling delivery of published messages to subscribers in a publish/subscribe messaging system, the computer program product comprising:
-
a computer usable medium having computer usable program code embodied therein, the computer usable program code comprising, computer usable program code configured to receive a published message from a publisher;
computer usable program code configured to transmit the published message to at least one subscriber, wherein the transmitted message has a first topic name within a sequence of topic names and is transmitted to subscribers that are subscribed to receive messages having the first topic name;
computer usable program code configured to receive an unsubscribe request from the first subscriber which unsubscribe request specifies the first topic name subsequent to transmitting a received message having the first topic name to a first subscriber; and
computer usable program code configured to update the subscription information maintained at the message broker such that the first subscriber is no longer subscribed to receive messages having the first topic name in response to receiving the unsubscribe request.
-
-
15. A computer program product for controlling republication of messages by a publisher in a publish/subscribe messaging system, the computer program product comprising:
-
a computer usable medium having computer usable program code embodied therein, the computer usable program code comprising, computer usable program code configured to assign sequential topic names to a sequence of messages and publishing the messages with their respective assigned topic name;
computer usable program code configured to check whether any subscribers are active for assigned topic names; and
computer usable program code configured to republish messages having topic names for which said checking determines that at least one subscriber is active, without republishing messages having topic names for which no subscribers are active.
-
-
16. A data processing system for controlling delivery of published messages to subscribers according to a publish/subscribe messaging model, the system comprising:
-
a data processing unit;
a data storage unit; and
a subscriber program configured to subscribe to at least one topic name within a sequence of topic names;
receive a published message having a first topic name to which the subscriber is subscribed; and
unsubscribe from the first topic name in response to receiving the published message.
-
-
17. A data processing system for controlling delivery of published messages to subscribers according to a publish/subscribe messaging model, the system comprising:
-
a data processing unit;
a data storage unit; and
a message broker program configured to receive a published message from a publisher;
transmit the published message to at least one subscriber, wherein the transmitted message has a first topic name within a sequence of topic names and is transmitted to subscribers that are subscribed to receive messages having the first topic name;
receive an unsubscribe request from the first subscriber which unsubscribe request specifies the first topic name subsequent to transmitting a received message having the first topic name to a first subscriber; and
update the subscription information maintained at the message broker such that the first subscriber is no longer subscribed to receive messages having the first topic name in response to receiving the unsubscribe request.
-
-
18. A data processing system for controlling publication of messages for publish/subscribe messaging, the system comprising:
-
a data processing unit;
a data storage unit; and
a publisher program configured to;
assign sequential topic names to a sequence of messages and publishing the messages with their respective assigned topic name;
check whether any subscribers are active for assigned topic names; and
republish messages having topic names for which said checking determines that at least one subscriber is active, without republishing messages having topic names for which no subscribers are active.
-
Specification