When using a system mechanism for communication, an automated correlation can be achieved as follows: The communication mechanism must be instrumented to inform a measurement agent about the newly added control flow. In case of remote communications, a unique identifier for the invocation must be created and transmitted to both the local and the remote measurement agent thus again allowing correlation. This should be done transparently to both the application developer and the component developer.
When using a queue for communication, a correlation can only be assured if the component implementing the queue has been instrumented by the component developer to analogously provide the required correlation information.