Method of logging message activity
First Claim
1. A method for recording message activity in a log, the method comprising the steps of:
- receiving a request from an application to put a message, comprising message data, to a queue; and
detecting whether there is a previous occurrence of the message data in the log, and if there is not a previous occurrence writing a log record including the message data, but if there is a previous occurrence writing a log record including a reference for locating the previous occurrence of the message data in the log.
1 Assignment
0 Petitions
Accused Products
Abstract
A reduction in the amount of information written to a log used to track message activity in a messaging system is achieved by not logging message data in a log record for the put of a message if the message data has been included in a previous message and is already available in the log. On receipt of a put request a check is made to see if there is a previous occurrence of the message data in the log. If there is not a previous occurrence a log record is written which includes the message data, but if there is a previous occurrence a log record is written which does not contain the message data but a reference which can be used to locate the previous occurrence of the message data in the log. Preferably the application includes an indication on the put request that the message data has been previously used.
15 Citations
27 Claims
-
1. A method for recording message activity in a log, the method comprising the steps of:
-
receiving a request from an application to put a message, comprising message data, to a queue; and
detecting whether there is a previous occurrence of the message data in the log, and if there is not a previous occurrence writing a log record including the message data, but if there is a previous occurrence writing a log record including a reference for locating the previous occurrence of the message data in the log. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for detecting the re-use of message data comprising the steps:
-
receiving a request from an application to put a message, comprising message data, to a queue; and
detecting, based on an indicator included with the request, that the message data was previously put to a message queue or got from a message queue by the application. - View Dependent Claims (8, 9)
-
-
10. A computer program product, recorded on a medium, comprising instructions which, when executed on a data processing host, causes said host to carry out a method comprising the steps:
-
receiving a request from an application to put a message, comprising message data, to a queue; and
detecting whether there is a previous occurrence of the message data in the log, and if there is not a previous occurrence writing a log record including the message data, but if there is a previous occurrence writing a log record including a reference for locating the previous occurrence of the message data in the log. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A computer program product, recorded on a medium, comprising instructions which, when executed on a data processing host, causes said host to carry out a method comprising the steps:
-
receiving a request from an application to put a message, comprising message data, to a queue; and
detecting, based on an indicator included with the request, that the message data was previously put to a message queue or got from a message queue by the application. - View Dependent Claims (17, 18)
-
-
19. A data processing apparatus comprising:
-
a non-volatile memory storage device for storing log records thereon in a log comprising one or more log files;
a volatile memory storage device;
means for receiving a request from an application to put a message, comprising message data, to a queue;
means for detecting whether there is a previous occurrence of the message data in the log;
means responsive to failing to detect a previous occurrence of the data in the log for writing a log record including the message data; and
means responsive to detecting a previous occurrence of the data in the log for writing a log record including a reference for locating the previous occurrence of the message data in the log. - View Dependent Claims (20, 21, 22, 23, 24)
-
-
25. A data processing apparatus comprising:
-
means for receiving a request from an application to put a message, comprising message data, to a queue; and
means for deducing, based on an indicator included with the request, that the message data was previously put to a message queue or got from a message queue by the application. - View Dependent Claims (26, 27)
-
Specification