发明名称 SELECTIVE MESSAGE REPUBLISHING TO SUBSCRIBER SUBSETS IN A PUBLISH-SUBSCRIBE MODEL
摘要 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.
申请公布号 US2016087923(A1) 申请公布日期 2016.03.24
申请号 US201514689123 申请日期 2015.04.17
申请人 International Business Machines Corporation 发明人 KESAVAN SANJAY M.;LALGOWDAR RAJESH;SAMANTARAY SONALI;THYAGARAJ LOHITASHWA
分类号 H04L12/58 主分类号 H04L12/58
代理机构 代理人
主权项 1. A method for selectively resending a first message in a publish-subscribe message distribution model, the 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.
地址 Armonk NY US