[ 
https://issues.apache.org/jira/browse/CAMEL-23753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18102033#comment-18102033
 ] 

Federico Mariani commented on CAMEL-23753:
------------------------------------------

PR: https://github.com/apache/camel-spring-boot/pull/1878

Depends on https://github.com/apache/camel/pull/25354 (CAMEL-24212), which 
moves spring-ai-version to 2.0.0 in the Camel parent - CI on the 
camel-spring-boot PR cannot go green until that merges and a snapshot is 
published.

This closes a real classpath split: an application combining 
camel-mcp-server-starter (which pinned Spring AI 2.0.0, MCP SDK 2.0.0, Jackson 
3) with camel-spring-ai-chat-starter (Spring AI 1.1.7, MCP SDK 0.18.2, Jackson 
2) had two Spring AI majors on one classpath. The local pin in 
camel-mcp-server-starter is dropped in favour of the inherited property.

No Java changes were needed - the generated configuration classes only 
reference ChatModel, EmbeddingModel, ImageModel and VectorStore, all unchanged 
in Spring AI 2.0.

_Claude Code on behalf of Federico Mariani_

> camel-spring-boot - Upgrade spring ai to v2
> -------------------------------------------
>
>                 Key: CAMEL-23753
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23753
>             Project: Camel
>          Issue Type: Dependency upgrade
>          Components: camel-spring-boot
>            Reporter: Claus Ibsen
>            Assignee: Federico Mariani
>            Priority: Major
>             Fix For: 4.x
>
>
> [https://docs.spring.io/spring-ai/reference/upgrade-notes.html]
>  
> https://github.com/apache/camel/pull/24009



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to