Inspectopedia 2024.3 Help

Spring Integration 2.1 deprecations

Reports XML elements deprecated in the current version of the Spring Integration XML-based application context.

For more information, see Migration Guide.

Example:

<beans ... > <int:channel id="failChannel" dispatcher="failover"/> <!-- this attribute is deprecated, use dispatcher sub-element instead --> <int:poller default="true"> <int:cron-trigger expression="5"/> <!-- This element is removed in Spring Integration 2.1, use 'cron' attribute instead --> <int:interval-trigger interval="3"/> <!-- This element is removed in Spring Integration 2.1, use interval trigger attributes instead --> </int:poller> <ftp:inbound-channel-adapter session-factory="ftpSessionFactory" cache-sessions="false" <!-- This attribute is deprecated, use CachingSessionFactory instead --> channel="channel"/> </beans>

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

SpringIntegrationDeprecations21
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Spring | Spring Integration

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.3, Qodana for JVM 2024.3,

Can be installed with plugin:

Spring Integration Patterns, 243.23126

Last modified: 03 December 2024