Remove the deprecated exchange pooling properties

Apache 2.0

Exchange pooling was deprecated in Camel 4.23 and the upgrade guide recommends removing the camel.main.exchange-factory property together with the related capacity and statistics properties. The keys are matched with relaxed binding, so the camelCase spellings are removed as well. Code using the deprecated Pooled* classes needs manual review.

org.apache.camel.upgrade.camel423.removeExchangePoolingProperties
mod run . --recipe=org.apache.camel.upgrade.camel423.removeExchangePoolingProperties

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Delete property by key camel.main.exchange-factory
  2. Delete property by key camel.main.exchange-factory-capacity
  3. Delete property by key camel.main.exchange-factory-statistics-enabled
  4. Delete property camel.main.exchange-factory
  5. Delete property camel.main.exchange-factory-capacity
  6. Delete property camel.main.exchange-factory-statistics-enabled