Event-based activation and deactivation of subscription matching
First Claim
1. A method of managing subscription matching within a publish/subscribe communications network, comprising:
- storing, in a memory, a subscription at a publish/subscribe broker for a first subscriber, wherein the subscription comprises at least one temporally unpredictable event for controlling the performance of subscription matching;
monitoring, with a processor, events at the publish/subscribe broker to detect said event; and
altering the state of subscription matching performed on behalf of the first subscriber in response to detection of said event.
4 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides methods, apparatus and computer programs for event-based control of subscription matching in a publish/subscribe communications environment. Activation and/or deactivation events are associated with subscriptions at a publish/subscribe broker and are used to control when a subscription is active. The broker is responsive to temporally-unpredictable events, such as receipt of a published message on a predefined activation topic, to activate subscription matching for messages that are subsequently received or which have been received earlier and retained at the broker. Conventional subscription matching can be avoided for a registered subscription while that subscription is inactive, and subscribers are not required to explicitly and repeatedly subscribe and unsubscribe.
-
Citations
16 Claims
-
1. A method of managing subscription matching within a publish/subscribe communications network, comprising:
-
storing, in a memory, a subscription at a publish/subscribe broker for a first subscriber, wherein the subscription comprises at least one temporally unpredictable event for controlling the performance of subscription matching; monitoring, with a processor, events at the publish/subscribe broker to detect said event; and altering the state of subscription matching performed on behalf of the first subscriber in response to detection of said event. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A data processing apparatus for managing subscription matching within a publish/subscribe communications network, comprising:
-
a processor; and memory connected to the processor, wherein the memory is encoded with instructions and wherein the instructions when executed comprise; instructions for storing a subscription in a repository on behalf of at least one subscriber, wherein the subscription comprises at least one temporally unpredictable event for controlling the performance of subscription matching; instructions for subscription matching a publish/subscribe broker comprising a matching engine; instructions for detecting with an event monitor an occurrence of said event at the publish/subscribe broker; and instructions for responding with said publish/subscribe broker to detection of said event to alter the state of subscription matching performed on behalf of the at least one subscriber. - View Dependent Claims (8, 9, 10)
-
-
11. A computer program product for managing subscription matching within a publish/subscribe communications network, the computer program product comprising a computer usable readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising:
-
computer readable program code configured to store a subscription at a publish/subscribe broker for a first subscriber, wherein the subscription comprises at least one temporally unpredictable event for controlling the performance of subscription matching; computer readable program code configured to monitor events at the publish/subscribe broker to detect an occurrence of said event; and computer readable program code configured to alter the state of subscription matching performed on behalf of the first subscriber in response to detection of said event. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification