IP Library › Granted Patent US 9,497,096
Granted Patent B2
US 9,497,096 · App. 13/874,138 · 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,096
App. No.
13/874,138
Granted
Nov 15, 2016
Kind
B2
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 (15)

1. A method for dynamically controlling a tracing of messages, the method comprising:

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, by a processor, a trace of said message in response to said header indicating said trace is to be performed.

2. The method as recited in claim 1 further comprising:

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 method as recited in claim 1 further comprising:

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

4. The method as recited in claim 1 further comprising:

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

5. The method as recited in claim 1 further comprising:

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

6. The method as recited in claim 1 further comprising:

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

7. The method as recited in claim 1 further comprising:

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 Apr 30, 2013
From: KUDIKALA, SHRAVAN K.; SHAH, AMAR A.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 030320/0795 →
Continuity (2)
Continuation 13426731 · Mar 22, 2012
Related Publication 20130254313A1 · Sep 26, 2013