# US 2013/0254376 A1 · Dynamic control over tracing of messages received by a message broker

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0254376 A1
- Document ID: US20130254376A1
- Status: Published application
- Kind: A1
- Application number: 13/426,731
- Filed: 2012-03-22
- Published: 2013-09-26
- Earliest claimed: 2012-03-22
- Assignees: International Business Machines Corporation
- Inventors: Shravan K. Kudikala; Amar A. Shah
- Web page: https://patentgrep.com/patent/US20130254376A1

## CPC

- H04L 69/22: Parsing or analysis of headers
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 67/535: {Tracking the activity of the user (network monitoring arrangements H04L43/00; recording of computer activity G06F11/34)}
- G06F 11/323: {Visualisation of programs or trace data}
- G06F 11/36: Prevention of errors by analysis, debugging or testing of software
- G06F 21/00: Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- H04L 51/234: for tracking messages
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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

### Claim at position 1

1-8. (canceled)

### Claim 9

A computer program product embodied in a computer readable storage medium for dynamically controlling a tracing of messages, the computer program product comprising the programming instructions for:
receiving a message, wherein said message comprises a header, wherein said header comprises a structure for storing fields of data used for defining tracing operations; and
performing a trace of said message in response to said header indicating said trace is to be performed.

### Claim 10 (depends on 9)

The computer program product as recited in claim 9 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.

### Claim 11 (depends on 9)

The computer program product as recited in claim 9 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.

### Claim 12 (depends on 9)

The computer program product as recited in claim 9 further comprising the programming instructions for:
performing said trace of said message on a host specified within said header.

### Claim 13 (depends on 9)

The computer program product as recited in claim 9 further comprising the programming instructions for:
instructing a processing application specified within said header to activate said trace of said message.

### Claim 14 (depends on 9)

The computer program product as recited in claim 9 further comprising the programming instructions for:
instructing all processing applications that receive said message to activate said trace of said message.

### Claim 15 (depends on 9)

The computer program product as recited in claim 9 further comprising the programming instructions for:
determining whether a user of a sending application has permission to request said trace of said message.

### Claim 16 (depends on 15)

The computer program product as recited in claim 15 further comprising the programming instructions for:
checking an identifier of said user of said sending application in said header against an access control list to determine whether said user of said sending application has permission to request said trace of said message.

### Claim 17

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 receiving a message, wherein said message comprises a header, wherein said header comprises a structure for storing fields of data used for defining tracing operations; and
circuitry for performing a trace of said message in response to said header indicating said trace is to be performed.

### Claim 18 (depends on 17)

The system as recited in claim 17, 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.

### Claim 19 (depends on 17)

The system as recited in claim 17, 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.

### Claim 20 (depends on 17)

The system as recited in claim 17, wherein said processor further comprises:
circuitry for performing said trace of said message on a host specified within said header.

### Claim 21 (depends on 17)

The system as recited in claim 17, wherein said processor further comprises:
circuitry for instructing a processing application specified within said header to activate said trace of said message.

### Claim 22 (depends on 17)

The system as recited in claim 17, wherein said processor further comprises:
circuitry for instructing all processing applications that receive said message to activate said trace of said message.

### Claim 23 (depends on 17)

The system as recited in claim 17, wherein said processor further comprises:
circuitry for determining whether a user of a sending application has permission to request said trace of said message.

### Claim 24 (depends on 23)

The system as recited in claim 23, wherein said processor further comprises:
circuitry for checking an identifier of said user of said sending application in said header against an access control list to determine whether said user of said sending application has permission to request said trace of said message.
