IP Library › Granted Patent US 9,497,095
Granted Patent B2
US 9,497,095 · App. 13/426,731 · Granted Nov 15, 2016

Dynamic control over tracing of messages received by a message broker

Inventors: Shravan K. Kudikala (Hyderabad, IN); Amar A. Shah (Pune, IN)
Assignee: International Business Machines Corporation
H04L43/10H04L51/00H04L67/22H04L69/22G06F11/323G06F11/36G06F21/00H04L12/5885
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,497,095
App. No.
13/426,731
Filed
Mar 22, 2012
Granted
Nov 15, 2016
Kind
B2
Art Unit
2445
USPC
709/224
Abstract

A method, system and computer program product for dynamically controlling a tracing of messages. A header (referred to herein as the “trace header”) is placed in a message by a sending application, where the trace header includes a structure for storing fields of data for defining tracing operations. Once the message with the trace header is received by a message broker after being sent by the sending application, the message broker will analyze the fields of the trace header and perform the appropriate tracing operation in response to the information provided in the trace header. Through the use of the trace header, the tracing overhead can be minimized as well as a faster diagnosis of the problem (e.g., errors while processing the messages through a message flow of the message broker) can be provided since less data will be needed to be analyzed.

Claims (32)

1. A computer program product embodied in a non-transitory computer readable storage medium for dynamically controlling a tracing of messages, the computer program product comprising the programming instructions for:

randomly selecting messages by message flow threads, wherein an error occurred while processing a message from a sending application of said messages randomly selected through a message flow thread of said message flow threads, wherein said message comprises a header, wherein said header comprises a structure for storing fields of data used for defining tracing operations, wherein one or more of said fields of data are used for determining whether a user of said sending application has permission to trace said message in light of an access control list maintained by a message broker; and

performing a trace of said message in response to said header indicating said trace is to be performed.

2. The computer program product as recited in claim 1 further comprising the programming instructions for:

storing trace information from said header in a persistence store in response to said header indicating to store said trace information from said header in said persistence store.

3. The computer program product as recited in claim 1 further comprising the programming instructions for:

performing said trace of said message by applying trace rules associated with a trace identifier stored in said header.

4. The computer program product as recited in claim 1 further comprising the programming instructions for:

performing said trace of said message on a host specified within said header.

5. The computer program product as recited in claim 1 further comprising the programming instructions for:

instructing a processing application specified within said header to activate said trace of said message.

6. The computer program product as recited in claim 1 further comprising the programming instructions for:

instructing all processing applications that receive said message to activate said trace of said message.

7. The computer program product as recited in claim 1 further comprising the programming instructions for:

checking an identifier of said user of said sending application in said header against said access control list to determine whether said user of said sending application has permission to request said trace of said message.

8. A system, comprising:

a memory unit for storing a computer program for dynamically controlling a tracing of messages; and

a processor coupled to said memory unit, wherein said processor, responsive to said computer program, comprises:

circuitry for randomly selecting messages by message flow threads, wherein an error occurred while processing a message from a sending application of said messages randomly selected through a message flow thread of said message flow threads, wherein said message comprises a header, wherein said header comprises a structure for storing fields of data used for defining tracing operations, wherein one or more of said fields of data are used for determining whether a user of said sending application has permission to trace said message in light of an access control list maintained by a message broker; and

circuitry for performing a trace of said message in response to said header indicating said trace is to be performed.

9. The system as recited in claim 8 , wherein said processor further comprises:

circuitry for storing trace information from said header in a persistence store in response to said header indicating to store said trace information from said header in said persistence store.

10. The system as recited in claim 8 , wherein said processor further comprises:

circuitry for performing said trace of said message by applying trace rules associated with a trace identifier stored in said header.

11. The system as recited in claim 8 , wherein said processor further comprises:

circuitry for performing said trace of said message on a host specified within said header.

12. The system as recited in claim 8 , wherein said processor further comprises:

circuitry for instructing a processing application specified within said header to activate said trace of said message.

13. The system as recited in claim 8 , wherein said processor further comprises:

circuitry for instructing all processing applications that receive said message to activate said trace of said message.

14. The system as recited in claim 8 , wherein said processor further comprises:

circuitry for checking an identifier of said user of said sending application in said header against said access control list to determine whether said user of said sending application has permission to request said trace of said message.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 22, 2012
From: KUDIKALA, SHRAVAN K.; SHAH, AMAR A.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 027907/0671 →
Continuity (1)
Related Publication 20130254376A1 · Sep 26, 2013