EP0959416A2

Using database query technology for message subscriptions in messaging systems

Abstract

The present invention relates to messaging systems in general and message broker systems in specific. More particularly, the invention relates to means and a method for processing message publication requests and message subscription requests. The current invention transforms the subscription problem into a database query problem allowing to use query techniques known and optimized for many years. The basic approach of the current invention is to invert the relationship of message publication requests (treated as database data) and message subscription requests (treated as database queries) according the state of the art. Thus the core of the current invention is to treat incoming messages publication requests as database queries and to treat message subscription requests as database queries.

EP0959416A2, drawing sheet 1
Sheet 1 of 4

Term

Term ended

Projected expiry passed 22 April 2019, 7.4 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

16 claims: 10 independent, 6 dependent

  1. 1
    A messaging system comprising first receiving means for receiving a message-publication-request comprising a message to be published, and said messaging system comprising a second receiving means for receiving one or a multitude of message-subscription-requests comprising a query on a message qualifying under said query, said messaging system being characterized by comprising a database (301), and wherein said second receiving means treating said message-subscription-request as database data and storing said message-subscription-request to said database (301), and wherein said first receiving means treating said message-publication-request as a database-query (302) and retrieving from said database a collection (303) of message-subscription-requests qualifying under said database-query.
  2. 3
    Messaging system according to any of above claims, wherein said first receiving means transforming said message-publication-request into a database-query.
  3. 4
    Messaging system according to any of above claims, wherein said first receiving means store said message into said database or into a separate message-database.
  4. 5
    Messaging system according to any of above claims, wherein said messaging system is a message broker and/or wherein said database is part of a message warehouse.
  5. 6
    Messaging system according to any of above claims, wherein said database is stored in main memory and/or on persistent memory.
  6. 8
    Messaging system according to any of above claims, further comprising sending means for sending said message to subscribers of said collection of message-subscription-requests.
  7. 9
    A method of processing a message-publication-request comprising a message to be published, and one or a multitude of message-subscription-requests comprising a query on a message qualifying under said query, said method comprising the following steps:a first step of treating said message-subscription-request as database data and storing said message-subscription-request to said database (301), and a second step of treating said message-publication-request as a database-query (302) and retrieving from said database a collection (303) of message-subscription-requests qualifying under said database-query.
  8. 12
    Method according to any of claims 9 to 11, wherein said first step stores said message into said database or into a separate message-database.
  9. 14
    Method according to any of claims 9 to 13, storing said database in main memory and/or on persistent memory.
  10. 16
    Method according to any of claims 9 to 15, further comprising a third step of sending said message to subscribers of said collection of message-subscription-requests.