Croway opened a new pull request, #30447:
URL: https://github.com/apache/camel/pull/30447

   ## Description
   
   [CAMEL-26590](https://issues.apache.org/jira/browse/CAMEL-26590): upgrade to 
Spring Boot 4.2.0, released today, and align the Spring portfolio with its BOM.
   
   | Property | From | To |
   |---|---|---|
   | `spring-boot-version` | 4.1.2 | 4.2.0 |
   | `spring-version` | 7.0.10 | 7.1.0 |
   | `spring-security-version` | 7.1.2 | 7.2.0 |
   | `spring-rabbitmq-version` (Spring AMQP) | 4.1.2 | 4.2.0 |
   | `spring-ldap-version` | 4.1.2 | 4.2.0 |
   | `spring-batch-version` | 6.0.6 | 6.1.0 |
   | `spring-ws-version` | 5.0.3 | 5.1.0 |
   | `spring-data-redis-version` (Spring Data 2026.1.0) | 4.1.2 | 4.2.0 |
   | `micrometer-version` | 1.17.2 | 1.18.0 |
   | `micrometer-tracing-version` | 1.7.2 | 1.8.0 |
   | `reactor-version` (Reactor 2026.0.0) | 3.8.8 | 3.9.0 |
   | `reactor-netty-version` | 1.3.8 | 1.4.0 |
   | `spring-cloud-config-version` (Spring Cloud 2026.0) | 5.0.6 | 5.1.0-RC2 |
   
   `netty-version` (4.2.20.Final) and `json-path-version` (3.0.0) already match 
the Boot 4.2.0 BOM.
   
   **Spring Cloud 2026.0.0 is not on Maven Central yet**: 
`spring-cloud-config-version` is on 5.1.0-RC2 for now, and 
`spring-vault-core-version` stays on 4.1.1 (the version Spring Cloud Vault 
5.1.0-RC2 uses). Both will be set to the Spring Cloud 2026.0.0 versions in this 
PR once released.
   
   Spring AI is upgraded separately in #30444 (Spring AI 2.1.0).
   
   ### Code changes
   - `camel-spring-ws`: Spring WS 5.1 removed the deprecated 
`WebServiceMessageSender.supports(URI)`. The sender decorator in 
`SpringWebserviceProducer` now delegates `supports(URI, UriSource)` to the 
wrapped `HttpUrlConnectionMessageSender`, so its destination policy applies 
(the decorator used the interface defaults before). Compiles with Spring WS 
5.0.x too.
   - Upgrade guide 4.24: the RabbitMQ auto-configuration moved to 
`spring-boot-rabbitmq` (`camel-spring-rabbitmq-starter` now depends on it, see 
the camel-spring-boot PR), and the Spring WS `supports(URI)` removal.
   - camel-jbang: regenerated command docs and metadata 
(`--spring-boot-version` defaults to 4.2.0).
   
   ### Follow-ups, not in this PR
   Boot 4.2 manages newer versions than Camel for Kafka (4.4.0 vs 4.3.2), 
log4j2 (2.26.1 vs 2.25.5) and Hazelcast (5.7.0 vs 5.4.0). The OpenTelemetry 
items of CAMEL-26590 are follow-up work.
   
   ### Related
   - camel-spring-boot: apache/camel-spring-boot (opened next, needs this PR's 
SNAPSHOT)
   - examples: apache/camel-spring-boot-examples (rabbitmq example moves to 
`spring-boot-starter-rabbitmq`)
   
   ## Testing
   Built with `mvn install -Dquickly` on JDK 25, then on Spring Boot 4.2.0:
   - `mvn verify` of all `camel-spring-parent` modules (incl. the RabbitMQ, 
Redis and Spring Batch ITs), `camel-jms`, `camel-sql`, `camel-micrometer`, 
`camel-micrometer-observability`, `camel-observation`, `camel-reactor`: 3268 
tests, 0 failures
   - `camel-spring-ai-*` unit tests (88): pass
   - camel-spring-boot built against this branch: full build, tests of core and 
27 Spring related starters, archetype IT starting an application on Boot 4.2.0
   
   ## Target
   - [x] I checked that the commit is targeting the correct branch (Camel 4 
uses the `main` branch)
   
   ## Tracking
   - [x] If this is a large change, bug fix, or code improvement, I checked 
there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for 
the change (usually before you start working on it).
   
   _Claude Code (Opus 5.5) on behalf of Federico Mariani_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to