Patent ID: 9189305
Filing Date: 2015-11-17
Classification: G06F,H04L

Abstract:
1. A method for durable subscriptions in publish/subscribe messaging, the method comprising: receiving a durable subscription for a subscribing application, wherein the durable subscription includes a parameter defining persistence for which a subscription is to be durable; detecting whether the subscribing application is disconnected; responsive to detecting that the subscribing application is disconnected, applying a filter to messages to discard at a time of publication any non-persistent messages having a corresponding quality of service persistence requirement value specified by the subscribing application that identifies a message as a non-persistent message; and retaining only persistent messages having a corresponding quality of service persistence requirement value specified by the subscribing application that identifies a message as a persistent message for delivery after the subscribing application is reconnected, wherein the corresponding quality of service persistence requirement value is one of a plurality of different quality of service persistence requirement values specified by the subscribing application that identifies a particular message as a persistent message, and wherein a specified quality of service persistence requirement value of the plurality of different quality of service persistence requirement values corresponding to the particular message allows the particular message having the specified quality of service persistence requirement value to be delivered more than once to the subscribing application; wherein the parameter defining persistence is in a form of a property attached to the message.