Failure-controlled message publication and feedback in a publish/subscribe messaging environment
First Claim
1. A computer-implemented method of failure-controlled message publication and feedback in a publish/subscribe messaging environment, comprising:
- receiving, at a message broker, a message published by a message publisher, the message having associated therewith a topic and classification criteria for determining whether to publish the message;
consulting, by the message broker, a subscription registry to locate registered subscriptions of a plurality of message subscribers that have registered with the message broker to receive published messages having the topic, each registered subscription specifying subscriber classification information pertaining to the subscriber;
comparing, by the message broker, the subscriber classification information in the located subscriptions to the classification criteria associated with the message to determine whether requirements of the classification criteria associated with the message are met by the located subscriptions; and
responsive to determining, by the comparing, that the requirements are not met, notifying the message publisher that the message was not published to any subscribers, and otherwise performing;
publishing the message, by the message broker, to each of the plurality of message subscribers for which the consulting located the registered subscriptions even though the subscriber classification information for at least one of the plurality of message subscribers for which the registered subscriptions were located does not meet the requirements of the classification criteria for publishing the message; and
notifying the message publisher that the message was published successfully to subscribers.
1 Assignment
0 Petitions
Accused Products
Abstract
Control and/or feedback are provided for message publication in a publish/subscribe messaging environment. A number of different aspects are disclosed, and an embodiment may include one or more of these aspects. In each aspect, each subscribing application has an associated importance level for a subscription, and this importance level may vary among subscriptions for different message topics. Each published message has an associated topic. In some aspects, each published message also has associated criteria, where the criteria are specified with regard to message classification. In preferred embodiments, the message classification comprises importance criteria specifying requirements for importance level of subscribers registered for the topic of that message. Feedback can be provided regarding whether a message publication meets the importance criteria. Control over message publication can be based on whether a message publication meets the importance criteria.
62 Citations
20 Claims
-
1. A computer-implemented method of failure-controlled message publication and feedback in a publish/subscribe messaging environment, comprising:
-
receiving, at a message broker, a message published by a message publisher, the message having associated therewith a topic and classification criteria for determining whether to publish the message; consulting, by the message broker, a subscription registry to locate registered subscriptions of a plurality of message subscribers that have registered with the message broker to receive published messages having the topic, each registered subscription specifying subscriber classification information pertaining to the subscriber; comparing, by the message broker, the subscriber classification information in the located subscriptions to the classification criteria associated with the message to determine whether requirements of the classification criteria associated with the message are met by the located subscriptions; and responsive to determining, by the comparing, that the requirements are not met, notifying the message publisher that the message was not published to any subscribers, and otherwise performing; publishing the message, by the message broker, to each of the plurality of message subscribers for which the consulting located the registered subscriptions even though the subscriber classification information for at least one of the plurality of message subscribers for which the registered subscriptions were located does not meet the requirements of the classification criteria for publishing the message; and notifying the message publisher that the message was published successfully to subscribers. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A system for failure-controlled message publication control and feedback in a publish/subscribe messaging environment, comprising:
-
a computer comprising a processor; and instructions which are executable, using the processor, to implement functions comprising; receiving, at a message broker, a message published by a message publisher, the message having associated therewith a topic and classification criteria for determining whether to publish the message; consulting, by the message broker, a subscription registry to locate registered subscriptions of a plurality of message subscribers that have registered with the message broker to receive published messages having the topic, each registered subscription specifying subscriber classification information pertaining to the subscriber; comparing, by the message broker, the subscriber classification information in the located subscriptions to the classification criteria associated with the message to determine whether requirements of the classification criteria associated with the message are met by the located subscriptions; and responsive to determining, by the comparing, that the requirements are not met, notifying the message publisher that the message was not published to any subscribers, and otherwise performing; publishing the message, by the message broker, to each of the plurality of message subscribers for which the consulting located the registered subscriptions even though the subscriber classification information for at least one of the plurality of message subscribers for which the registered subscriptions were located does not meet the requirements of the classification criteria for publishing the message; and notifying the message publisher that the message was published successfully to subscribers. - View Dependent Claims (18)
-
-
19. A computer program product for failure-controlled message publication control and feedback in a publish/subscribe messaging environment, the computer program product comprising:
a non-transitory computer readable storage medium having computer readable program code embodied therein, the computer readable program code configured for; receiving, at a message broker, a message published by a message publisher, the message having associated therewith a topic and classification criteria for determining whether to publish the message; consulting, by the message broker, a subscription registry to locate registered subscriptions of a plurality of message subscribers that have registered with the message broker to receive published messages having the topic, each registered subscription specifying subscriber classification information pertaining to the subscriber; comparing, by the message broker, the subscriber classification information in the located subscriptions to the classification criteria associated with the message to determine whether requirements of the classification criteria associated with the message are met by the located subscriptions; and responsive to determining, by the comparing, that the requirements are not met, notifying the message publisher that the message was not published to any subscribers, and otherwise performing; publishing the message, by the message broker, to each of the plurality of message subscribers for which the consulting located the registered subscriptions even though the subscriber classification information for at least one of the plurality of message subscribers for which the registered subscriptions were located does not meet the requirements of the classification criteria for publishing the message; and notifying the message publisher that the message was published successfully to subscribers. - View Dependent Claims (20)
Specification