An apparatus and method of monitoring messages forwarded from a first application
to a second application each filter messages to produce a designated set of messages.
Analysis of the designated set often can determine the source of an application
error. To that end, the apparatus and method each receive messages forwarded from
the first application to the second application. Each received message then is
filtered by a filtering function that identifies the designated set of messages.
Each message in the designated set is identified by the filtering function to be
in the designated set when it determines that such message is a preselected type
of message. An error thus may be detected in at least one of the first application
and the second application, and at least one message in the designated set responsively
may be analyzed to determine the cause of the error.