Spring Integration Support

In Spring-based applications, Spring Integration enables lightweight messaging and supports integration with external systems via declarative adapters.

The Java Agent automatically discovers entry points based on the MessageHandler interface. The Java Agent automatically discovers exit points for all Spring Integration Release 2.2.0 channels except DirectChannel.

The Java Agent supports tracking application flow through Spring Integration messaging channels. For pollable channels:

  • A continuing transaction is tracked if the Spring Integration framework is polling for messages.
  • If the application code polls for messages in a loop, the span of each loop iteration is tracked as a transaction. Tracking begins when the loop begins and end it when the iteration ends.