SELECTIVE MESSAGE REPUBLISHING TO SUBSCRIBER SUBSETS IN A PUBLISH-SUBSCRIBE MODEL
1 Assignment
0 Petitions
Accused Products
Abstract
According to one exemplary embodiment, a method for selectively resending a first message in a publish-subscribe message distribution model is provided. The method may include receiving the first message having a first message ID associated with the first message. The method may include sending the first message to a plurality of subscribers. The method may include receiving a rolled back first message. The method may include determining if the first message ID matches a second message ID associated with a second message. The method may include creating a first subscriber list associated with the first message. The method may include storing the first message in a data structure. The method may include appending a second subscriber list associated with the second message with a subscriber. The method may include sending the second message to the first subscriber or the first message to the first subscriber.
7 Citations
20 Claims
-
1-7. -7. (canceled)
-
8. A computer system for selectively resending a first message in a publish-subscribe message distribution model, comprising:
-
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage medium, and program instructions stored on at least one of the one or more tangible storage medium for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising; receiving the first message, wherein the first message has a first message identification (ID) associated with the first message; sending the received first message to a plurality of subscribers; receiving a rolled back first message from a first subscriber; determining if the first message ID associated with the first message matches a second message ID associated with a second message, wherein the second message is stored in a data structure; creating a first subscriber list associated with the rolled back first message, wherein the first subscriber list includes a subscriber identifier corresponding with the first subscriber based on the determining that the first message ID does not match the second message ID; storing the first message in the data structure based on the determining that the first message ID does not match the second message ID; appending a second subscriber list associated with the second message to include the subscriber identifier associated with the first subscriber based on the determining that the first message ID matches the second message ID; and sending the second message to the first subscriber based on the appending the second subscriber list or the first message to the first subscriber based on the storing the first message in the data structure. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product for selectively resending a first message in a publish-subscribe message distribution model, comprising:
-
one or more computer-readable storage medium and program instructions stored on at least one of the one or more tangible storage medium, the program instructions executable by a processor, the program instructions comprising; program instructions to receive the first message, wherein the first message has a first message identification (ID) associated with the first message; program instructions to send the received first message to a plurality of subscribers; program instructions to receive a rolled back first message from a first subscriber; program instructions to determine if the first message ID associated with the first message matches a second message ID associated with a second message, wherein the second message is stored in a data structure; program instructions to create a first subscriber list associated with the rolled back first message, wherein the first subscriber list includes a subscriber identifier corresponding with the first subscriber based on the determining that the first message ID does not match the second message ID; program instructions to store the first message in the data structure based on the determining that the first message ID does not match the second message ID; program instructions to append a second subscriber list associated with the second message to include the subscriber identifier associated with the first subscriber based on the determining that the first message ID matches the second message ID; and program instructions to send the second message to the first subscriber based on the appending the second subscriber list or the first message to the first subscriber based on the storing the first message in the data structure. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification