Routing messages exclusively to eligible consumers in a dynamic routing network
First Claim
Patent Images
1. A method comprising:
- storing, by a central processing unit, routing information for each of a plurality of message consumers connected to a messaging network, the routing information comprising an identification number (IN) that is associated with a first message consumer of the plurality of message consumers, the messaging network comprising a plurality of brokers;
receiving a message and metadata associated with the message from a message producer without identification or an address of an intended message consumer, wherein the metadata comprises a routing key attached to the message;
comparing, by the central processing unit, the routing key to the routing information for each of the plurality message consumers connected to the messaging network via the plurality of brokers;
determining, by the central processing unit and in view of the comparing, that a broker of the plurality of brokers in the messaging network is connected to the first message consumer of the plurality of message consumers when the routing key corresponds to the IN, wherein the central processing unit is in data communication with the broker via the messaging network; and
routing, by the central processing unit, the message to the broker that is connected to the first message consumer that is associated with the IN.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments relate to routing a message only along routes in a messaging network that lead to a currently active consumer for the message. The messaging network adapts to changes in the message preferences of the message consumer, and the message consumer'"'"'s availability throughout the messaging network. In various embodiments, changes to message routing criteria at a destination broker in the network are propagated to all other brokers in the network until the entire network is adapted, and the network routes messages based on the adaptations, which reflect the current connectivity and message accepting criteria of each message consumer.
52 Citations
14 Claims
-
1. A method comprising:
-
storing, by a central processing unit, routing information for each of a plurality of message consumers connected to a messaging network, the routing information comprising an identification number (IN) that is associated with a first message consumer of the plurality of message consumers, the messaging network comprising a plurality of brokers; receiving a message and metadata associated with the message from a message producer without identification or an address of an intended message consumer, wherein the metadata comprises a routing key attached to the message; comparing, by the central processing unit, the routing key to the routing information for each of the plurality message consumers connected to the messaging network via the plurality of brokers; determining, by the central processing unit and in view of the comparing, that a broker of the plurality of brokers in the messaging network is connected to the first message consumer of the plurality of message consumers when the routing key corresponds to the IN, wherein the central processing unit is in data communication with the broker via the messaging network; and routing, by the central processing unit, the message to the broker that is connected to the first message consumer that is associated with the IN. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system comprising:
-
a memory to contain instructions; and a central processing unit, operatively coupled to the memory, to execute the instructions to; maintain routing information for each of a plurality of message consumers connected to a messaging network, the routing information comprising an identification number (IN) that is associated with a first message consumer of the plurality of message consumers, the messaging network comprising a plurality of brokers; receive a message and metadata associated with the message from a message producer without identification or an address of an intended message consumer, wherein the metadata comprises a routing key attached to the message; compare the routing key to the routing information for each of the plurality of message consumers connected to the messaging network via the plurality of brokers; determine, in view of the comparing, that a broker of the plurality of brokers is connected to the first message consumer of the plurality of message consumers when the routing key corresponds to the IN, wherein the central processing unit is in data communication with the broker via the messaging network; and route the message to the broker that is connected to the first message consumer that is associated with the IN. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer-readable medium comprising instructions that, when executed by a central processing unit, cause the central processing unit to:
-
store routing information for each of a plurality of message consumers connected to a messaging network, the routing information comprising an identification number (IN) that is associated with a first message consumer of the plurality of message consumers, the messaging network comprising a plurality of brokers; receive a message and metadata associated with the message from a message producer without identification or an address of an intended message consumer, wherein the metadata comprises a routing key attached to the message; compare, by the central processing unit, the routing key to the routing information for each message consumer of the plurality of message consumers connected to the messaging network via the plurality of brokers; determine, by the central processing unit in view of the comparing, that a broker of the plurality of brokers is connected to the first message consumer of the plurality of message consumers when the routing key corresponds to the IN, wherein the central processing unit is in data communication with the broker via the messaging network; and route the message to the broker that is connected to the first message consumer that is associated with the IN. - View Dependent Claims (12, 13, 14)
-
Specification