发明名称 Dynamic message retrieval by subdividing a message queue into sub-queues
摘要 Exemplary embodiments provide methods and systems for dynamically changing a message retrieval scheme during runtime in a client/server electronic messaging system in which the server executes a message retrieval component and incoming messages received from the client is stored in a message queue. Aspects of the exemplary embodiment include accessing messaging business rules from a memory by a message retrieval component at runtime, wherein the messaging business rules define a primary retrieval scheme and a secondary retrieval scheme, and wherein a value provided for each of the primary retrieval scheme and the secondary retrieval scheme are selected from a combination of different message retrieval types including: First In First Out (FIFO), Last In First Out (LIFO), and random. The message retrieval component subdivides the message queue into sub-queues based on at least one of a message quantity limit and a message received time limit specified in the business rules. Each of the sub-queues is then accessed using the value of the secondary retrieval scheme; and messages from each of the sub-queues are retrieved using the value of the primary retrieval scheme.
申请公布号 US9065778(B2) 申请公布日期 2015.06.23
申请号 US201213425279 申请日期 2012.03.20
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Colar Gerald D.;Diggs Melanie R.;White Terrence E.;Young Charles K.
分类号 G06F15/167;H04L12/863 主分类号 G06F15/167
代理机构 Convergent Law Group LLP 代理人 Convergent Law Group LLP
主权项 1. A system, comprising: a memory that stores a message queue and business rules, wherein the messaging business rules define a primary retrieval scheme and a secondary retrieval scheme, and wherein a value set for each of the primary retrieval scheme and the secondary retrieval scheme are selected from a combination of different message retrieval types including: First In First Out (FIFO) message retrieval, Last In First Out (LIFO) message retrieval, and random message retrieval, a processor coupled to the memory; and a software component executed by the processor that is configured to: subdivide the message queue into sub-queues based on at least one of a message quantity limit and a message received time limit specified in the messaging business rules;access each of the sub-queues using the value of the secondary retrieval scheme; andretrieve messages from each of the sub-queues using the value of the primary retrieval scheme.
地址 Armonk NY US