Managing a message subscription in a publish/subscribe messaging system
First Claim
Patent Images
1. A method for managing a message subscription in a message subscription application program of a publish/subscribe messaging system, the method comprising:
- subscribing, via a message subscriber, to a subscription provided in parallel by each of a set of message brokers, said subscription comprising a common sequence of messages, each common message being associated with a common sequential message identifier (SMI);
retrieving a message from a selected one of said message brokers and triggering a saving of the associated common SMI for said subscription at said message broker;
in response to a restart of said message subscriber, determining whether all of said message brokers are available, and when all of said message brokers are not available, reverting to said set of message brokers to determine a latest saved SMI for said subscription at any one of said message brokers; and
resuming said subscription by requesting a subsequent message associated with said latest saved SMI, from a selected one of said message brokers.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and computer program product is disclosed for managing a message broker and subscriber application programs in a publish/subscribe messaging system so as to maintain the state of the subscriber application program on the broker subscriber application program.
-
Citations
20 Claims
-
1. A method for managing a message subscription in a message subscription application program of a publish/subscribe messaging system, the method comprising:
-
subscribing, via a message subscriber, to a subscription provided in parallel by each of a set of message brokers, said subscription comprising a common sequence of messages, each common message being associated with a common sequential message identifier (SMI); retrieving a message from a selected one of said message brokers and triggering a saving of the associated common SMI for said subscription at said message broker; in response to a restart of said message subscriber, determining whether all of said message brokers are available, and when all of said message brokers are not available, reverting to said set of message brokers to determine a latest saved SMI for said subscription at any one of said message brokers; and resuming said subscription by requesting a subsequent message associated with said latest saved SMI, from a selected one of said message brokers. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for managing a message subscription in a message broker application program of a publish/subscribe messaging system, the method comprising:
-
subscribing, via a set of message brokers, to a subscription provided in parallel in response to a subscription request from a message subscriber, said subscription comprising a common sequence of messages, each common message being associated with a common sequential message identifier (SMI); sending a message to said message subscriber and recording the associated common SMI in association with said subscription at said message broker; in response to a restart of said message subscriber, determine whether all of said message brokers are available, and when all of said message brokers are not available, determine a latest saved SMI for said subscription at any one of said message brokers; and sending said associated common SMI to said message subscriber in response to a request therefrom. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer program product comprising;
-
a computer readable storage medium; and computer usable code stored in the computer readable storage medium, wherein if executed by a processor, the computer usable code causes a computer to; subscribe to a subscription provided in parallel by each of a set of message brokers, said subscription comprising a common sequence of messages, each common message being associated with a common sequential message identifier (SMI); retrieve a message from a selected one of said message brokers and triggering a saving of the associated common SMI for said subscription at said message broker; in response to a restart of said message subscriber, determine whether all of said message brokers are available, and when all of said message brokers are not available, revert to said set of message brokers to determine a latest saved SMI for said subscription at any one of said message brokers; and resume said subscription by requesting a subsequent message associated with said latest saved SMI, from a selected one of said message brokers. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A computer program product comprising;
-
a computer readable storage medium; and computer usable code stored in the computer readable storage medium, wherein if executed by a processor, the computer usable code causes a computer to; subscribe to a subscription in response to a subscription request from a message subscriber, said subscription comprising a common sequence of messages, each common message being associated with a common sequential message identifier (SMI); send a message to said message subscriber and recording the associated common SMI in association with said subscription at said message broker; in response to a restart of said message subscriber, determine whether all of said message brokers are available, and when all of said message brokers are not available, determine a latest saved SMI for said subscription at any one of said message brokers; and send said associated common SMI to said message subscriber in response to a request therefrom. - View Dependent Claims (17, 18, 19, 20)
-
Specification